class PluginLoader

Declaration

template <typename T>
class PluginLoader { /* full declaration omitted */ };

Declared at: robot_interface/include/robot_interface/PluginLoader.h:36

Templates

T

Member Variables

private std::string symbol_
private int paths_
private bool verbose_
private int abi_
private int loader_
private std::recursive_mutex mtx_

Method Overview

  • public PluginLoader<T>(const std::string & symbol, int paths, bool verbose = false, int abi = <null expr>)
  • public int available()
  • private void init()
  • public template <typename... Args>std::shared_ptr<T> load(const std::string & name, const Args &... args)

Methods

PluginLoader<T>(const std::string& symbol,
                int paths,
                bool verbose = false,
                int abi = <null expr>)

Declared at: robot_interface/include/robot_interface/PluginLoader.h:39

Parameters

const std::string& symbol
int paths
bool verbose = false
int abi = <null expr>

int available()

Declared at: robot_interface/include/robot_interface/PluginLoader.h:90

void init()

Declared at: robot_interface/include/robot_interface/PluginLoader.h:98

template <typename... Args>
std::shared_ptr<T> load(const std::string& name,
                        const Args&... args)

Description

Create the plugin registered as `name`, forwarding `args` to its create(). Throws mc_rtc::LoaderException if it is not found or has the wrong ABI.

Declared at: robot_interface/include/robot_interface/PluginLoader.h:50

Templates

Args

Parameters

const std::string& name
const Args&... args