Pick out a set of relevant plugins. More...
#include <yarp/os/YarpPluginSelector.h>
Inheritance diagram for yarp::os::YarpPluginSelector:Public Member Functions | |
| virtual | ~YarpPluginSelector ()=default |
| Destructor. | |
| virtual bool | select (Searchable &options) |
| Determine whether a plugin is of interest. | |
| void | scan () |
| Find plugin configuration files, and run [plugin] sections through the select method. | |
| Bottle | getSelectedPlugins () const |
| Bottle | getSearchPath () const |
Static Public Member Functions | |
| static bool | checkPlugin (const std::string &name, const std::string &type={}) |
| Checks if a pluigin of the given type is available. | |
Pick out a set of relevant plugins.
Override the select function to define what "relevant" means. The select function will be called with [plugin] sections found in configuration files.
Definition at line 25 of file YarpPluginSelector.h.
|
virtualdefault |
Destructor.
|
inlinestatic |
Checks if a pluigin of the given type is available.
Definition at line 80 of file YarpPluginSelector.h.
|
inline |
Definition at line 71 of file YarpPluginSelector.h.
|
inline |
Definition at line 61 of file YarpPluginSelector.h.
| void YarpPluginSelector::scan | ( | ) |
Find plugin configuration files, and run [plugin] sections through the select method.
Definition at line 223 of file YarpPlugin.cpp.
|
inlinevirtual |
Determine whether a plugin is of interest.
Reimplemented in yarp::dev::Drivers::Private.
Definition at line 44 of file YarpPluginSelector.h.