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);
yarp::os::Things & updateData(yarp::os::Things &thing) override
bool canAccept() override
bool peerTrigged() override
bool acceptData(yarp::os::Things &thing) override
bool setParams(const yarp::os::Property ¶ms) override
MonitorSharedLib()
Class MonitorSharedLib.
yarp::os::Things & updateReply(yarp::os::Things &thing) override
bool load(const yarp::os::Property &options) override
~MonitorSharedLib() override
bool getParams(yarp::os::Property ¶ms) override
A class for storing options and configuration information.
Value & find(const std::string &key) const override
Gets a value corresponding to a given keyword.
A base class for nested structures that can be searched.
virtual bool check(const std::string &key) const =0
Check if there exists a property of the given name.
Base class for generic things.
A single value (typically within a Bottle).
virtual std::string asString() const
Get string value.
Pick out a set of relevant plugins.
void scan()
Find plugin configuration files, and run [plugin] sections through the select method.
An interface to the operating system, including Port based communication.