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. More... | |
| virtual bool | select (Searchable &options) |
| Determine whether a plugin is of interest. More... | |
| void | scan () |
| Find plugin configuration files, and run [plugin] sections through the select method. More... | |
| 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. More... | |
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 29 of file YarpPluginSelector.h.
|
virtualdefault |
Destructor.
|
inlinestatic |
Checks if a pluigin of the given type is available.
Definition at line 84 of file YarpPluginSelector.h.
|
inline |
Definition at line 75 of file YarpPluginSelector.h.
|
inline |
Definition at line 65 of file YarpPluginSelector.h.
| void YarpPluginSelector::scan | ( | ) |
Find plugin configuration files, and run [plugin] sections through the select method.
Definition at line 212 of file YarpPlugin.cpp.
|
inlinevirtual |
Determine whether a plugin is of interest.
Reimplemented in yarp::dev::Drivers::Private.
Definition at line 48 of file YarpPluginSelector.h.