#include <yarp/os/MonitorObject.h>
Public Member Functions | |
virtual | ~MonitorObject () |
virtual bool | create (const yarp::os::Property &options) |
This will be called when the dll is properly loaded by the portmonitor carrier. More... | |
virtual void | destroy () |
This will be called when the portmonitor object destroyes. More... | |
virtual bool | setparam (const yarp::os::Property ¶ms) |
This will be called when the portmonitor carrier parameters are set via Yarp admin port. More... | |
virtual bool | getparam (yarp::os::Property ¶ms) |
This will be called when the portmonitor carrier parameters are requested via Yarp admin port. More... | |
virtual void | trig () |
This will be called when one of the peer connections to the same import port receives data. More... | |
virtual bool | accept (yarp::os::Things &thing) |
This will be called when the data reach the portmonitor object. More... | |
virtual yarp::os::Things & | update (yarp::os::Things &thing) |
After data get accpeted in the accept() callback, an instance of that is given to the update function where the data can be accessed and modified. More... | |
virtual yarp::os::Things & | updateReply (yarp::os::Things &thing) |
The updateReply makes it possible to modify a reply from a port when the portmonitor object is attached to a two-ways connection (e.g., RPC). More... | |
Definition at line 25 of file MonitorObject.h.
|
virtualdefault |
|
virtual |
This will be called when the data reach the portmonitor object.
thing | An instance of yarp::os::Thing object which can be used to typecast the data to the correct type. |
Reimplemented in ZfpMonitorObject, SegmentationImageConverter, DepthImageConverter, and DepthImageConverter.
Definition at line 41 of file MonitorObject.cpp.
|
virtual |
This will be called when the dll is properly loaded by the portmonitor carrier.
options | A set of useful information of the current connection which the monitor object is attached. |
Reimplemented in ZfpMonitorObject, SegmentationImageConverter, DepthImageConverter, and DepthImageConverter.
Definition at line 15 of file MonitorObject.cpp.
|
virtual |
This will be called when the portmonitor object destroyes.
Reimplemented in ZfpMonitorObject, SegmentationImageConverter, DepthImageConverter, and DepthImageConverter.
Definition at line 21 of file MonitorObject.cpp.
|
virtual |
This will be called when the portmonitor carrier parameters are requested via Yarp admin port.
params | The Property |
Reimplemented in ZfpMonitorObject, SegmentationImageConverter, DepthImageConverter, and DepthImageConverter.
Definition at line 31 of file MonitorObject.cpp.
|
virtual |
This will be called when the portmonitor carrier parameters are set via Yarp admin port.
params | The Property |
Reimplemented in ZfpMonitorObject, SegmentationImageConverter, DepthImageConverter, and DepthImageConverter.
Definition at line 25 of file MonitorObject.cpp.
|
virtual |
This will be called when one of the peer connections to the same import port receives data.
Definition at line 37 of file MonitorObject.cpp.
|
virtual |
After data get accpeted in the accept() callback, an instance of that is given to the update function where the data can be accessed and modified.
thing | An instance of yarp::os::Thing object which can be used to typecast the data to the correct type. |
Reimplemented in ZfpMonitorObject, SegmentationImageConverter, DepthImageConverter, and DepthImageConverter.
Definition at line 47 of file MonitorObject.cpp.
|
virtual |
The updateReply makes it possible to modify a reply from a port when the portmonitor object is attached to a two-ways connection (e.g., RPC).
thing | An instance of yarp::os::Thing object which can be used to typecast the data to the correct type. |
Definition at line 53 of file MonitorObject.cpp.