|  | YARP Yet Another Robot Platform |  | 
 
 
 
Go to the documentation of this file.
   23         return options.
check(
"type",
Value(
"none")).asString() == 
"portmonitor";
 
   46     settings.setPluginName(options.
find(
"filename").
asString());
 
   47     if (!settings.setSelector(selector)) {
 
   51     if (!plugin.open(settings)) {
 
   55     monitor.open(*plugin.getFactory());
 
   56     if (!monitor.isValid()) {
 
   60     settings.setLibraryMethodName(plugin.getFactory()->getName(),
 
   61                                   settings.getMethodName());
 
   62     settings.setClassInfo(plugin.getFactory()->getClassName(),
 
   63                           plugin.getFactory()->getBaseClassName());
 
   65     return monitor->create(options);
 
   70     return monitor->setparam(params);
 
   75     return monitor->getparam(params);
 
   80     return monitor->accept(thing);
 
   86     return monitor->update(thing);
 
   91     return monitor->updateReply(thing);
 
  
 
A base class for nested structures that can be searched.
bool load(const yarp::os::Property &options) override
Base class for generic things.
Value & find(const std::string &key) const override
Gets a value corresponding to a given keyword.
Pick out a set of relevant plugins.
yarp::os::Things & updateReply(yarp::os::Things &thing) override
bool getParams(yarp::os::Property ¶ms) override
bool acceptData(yarp::os::Things &thing) override
bool peerTrigged() override
MonitorSharedLib()
Class MonitorSharedLib.
~MonitorSharedLib() override
virtual std::string asString() const
Get string value.
virtual bool check(const std::string &key) const =0
Check if there exists a property of the given name.
void scan()
Find plugin configuration files, and run [plugin] sections through the select method.
bool canAccept() override
bool setParams(const yarp::os::Property ¶ms) override
An interface to the operating system, including Port based communication.
yarp::os::Things & updateData(yarp::os::Things &thing) override
A single value (typically within a Bottle).
A class for storing options and configuration information.