|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef YARP_OS_YARPPLUGINSELECTOR_H
10 #define YARP_OS_YARPPLUGINSELECTOR_H
35 mutable std::mutex mutex;
67 std::lock_guard<std::mutex> guard(mutex);
77 std::lock_guard<std::mutex> guard(mutex);
84 static bool checkPlugin(
const std::string& name,
const std::string& type = {})
89 for (
size_t i = 0; i < lst.
size(); i++) {
107 #endif // YARP_OS_YARPPLUGINSELECTOR_H
A simple collection of objects that can be described and transmitted in a portable way.
A base class for nested structures that can be searched.
size_type size() const
Gets the number of elements in the bottle.
virtual bool select(Searchable &options)
Determine whether a plugin is of interest.
Pick out a set of relevant plugins.
bool check(const std::string &key) const override
Check if there exists a property of the given name.
Bottle getSelectedPlugins() const
Value & get(size_type index) const
Reads a Value v from a certain part of the list.
void scan()
Find plugin configuration files, and run [plugin] sections through the select method.
The main, catch-all namespace for YARP.
static bool checkPlugin(const std::string &name, const std::string &type={})
Checks if a pluigin of the given type is available.
A single value (typically within a Bottle).
Bottle getSearchPath() const
virtual ~YarpPluginSelector()=default
Destructor.
A class for storing options and configuration information.