YARP
Yet Another Robot Platform
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. More...
 
std::string toString ()
 
void add (DriverCreator *creator)
 
DriverCreatorload (const char *name)
 
DriverCreatorfind (const char *name)
 
bool remove (const char *name)
 
- Public Member Functions inherited from yarp::os::YarpPluginSelector
virtual ~YarpPluginSelector ()=default
 Destructor. More...
 
void scan ()
 Find plugin configuration files, and run [plugin] sections through the select method. More...
 
Bottle getSelectedPlugins () const
 
Bottle getSearchPath () const
 

Public Attributes

std::vector< DriverCreator * > delegates
 

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. More...
 

Detailed Description

Definition at line 36 of file Drivers.cpp.

Constructor & Destructor Documentation

◆ ~Private()

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

Definition at line 40 of file Drivers.cpp.

Member Function Documentation

◆ add()

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

Definition at line 136 of file Drivers.cpp.

◆ find()

DriverCreator* yarp::dev::Drivers::Private::find ( const char *  name)
inline

Definition at line 144 of file Drivers.cpp.

◆ load()

DriverCreator * yarp::dev::Drivers::Private::load ( const char *  name)

Definition at line 294 of file Drivers.cpp.

◆ remove()

bool yarp::dev::Drivers::Private::remove ( const char *  name)
inline

Definition at line 157 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 50 of file Drivers.cpp.

◆ toString()

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

Definition at line 54 of file Drivers.cpp.

Member Data Documentation

◆ delegates

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

Definition at line 38 of file Drivers.cpp.


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