YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarp::dev::Drivers::Private Class Reference
+ Inheritance diagram for yarp::dev::Drivers::Private:

Public Member Functions

 ~Private () override
 
bool select (Searchable &options) override
 Determine whether a plugin is of interest.
 
std::string toString ()
 
void add (DriverCreator *creator)
 
DriverCreator * load (const std::string &name)
 
DriverCreator * find (const std::string &name)
 
bool remove (const std::string &name)
 
- Public Member Functions inherited from yarp::os::YarpPluginSelector
virtual ~YarpPluginSelector ()=default
 Destructor.
 
void scan ()
 Find plugin configuration files, and run [plugin] sections through the select method.
 
std::map< std::string, std::string > getDeprecatedAliases () const
 
Bottle getSelectedPlugins () const
 
Bottle getSearchPath () const
 

Public Attributes

std::vector< DriverCreator * > delegates
 
std::map< std::string, std::string > deprecatedAliases
 

Additional Inherited Members

- Static Public Member Functions inherited from yarp::os::YarpPluginSelector
static bool checkPlugin (const std::string &name, const std::string &type={})
 Checks if a pluigin of the given type is available.
 

Detailed Description

Definition at line 37 of file Drivers.cpp.

Constructor & Destructor Documentation

◆ ~Private()

yarp::dev::Drivers::Private::~Private ( )
inlineoverride

Definition at line 44 of file Drivers.cpp.

Member Function Documentation

◆ add()

void yarp::dev::Drivers::Private::add ( DriverCreator *  creator)
inline

Definition at line 140 of file Drivers.cpp.

◆ find()

DriverCreator * yarp::dev::Drivers::Private::find ( const std::string &  name)
inline

Definition at line 148 of file Drivers.cpp.

◆ load()

DriverCreator * yarp::dev::Drivers::Private::load ( const std::string &  name)

Definition at line 331 of file Drivers.cpp.

◆ remove()

bool yarp::dev::Drivers::Private::remove ( const std::string &  name)
inline

Definition at line 173 of file Drivers.cpp.

◆ select()

bool yarp::dev::Drivers::Private::select ( Searchable &  options)
inlineoverridevirtual

Determine whether a plugin is of interest.

Returns
true if plugin is of interest. By default, always returns true.

Reimplemented from yarp::os::YarpPluginSelector.

Definition at line 54 of file Drivers.cpp.

◆ toString()

std::string yarp::dev::Drivers::Private::toString ( )
inline

Definition at line 58 of file Drivers.cpp.

Member Data Documentation

◆ delegates

std::vector<DriverCreator *> yarp::dev::Drivers::Private::delegates

Definition at line 39 of file Drivers.cpp.

◆ deprecatedAliases

std::map<std::string, std::string> yarp::dev::Drivers::Private::deprecatedAliases

Definition at line 42 of file Drivers.cpp.


The documentation for this class was generated from the following file: