#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. | |
virtual void | destroy () |
This will be called when the portmonitor object destroyes. | |
virtual bool | setparam (const yarp::os::Property ¶ms) |
This will be called when the portmonitor carrier parameters are set via YARP admin port. | |
virtual bool | getparam (yarp::os::Property ¶ms) |
This will be called when the portmonitor carrier parameters are requested via YARP admin port. | |
virtual void | trig () |
This will be called when one of the peer connections to the same import port receives data. | |
virtual bool | accept (yarp::os::Things &thing) |
This will be called when the data reach the portmonitor object. | |
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. | |
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). | |
Definition at line 19 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 BottleZlibMonitorObject, ZfpMonitorObject, DepthImageZlibMonitorObject, DepthImageConverter, DepthImageConverter, DepthImageConverterVec, FfmpegMonitorObject, ImageRotation, SegmentationImageConverter, SensorMeasurements_to_vector, Mp3SoundConverter, Sound_marker, and SoundFilter_resample.
Definition at line 38 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 BottleZlibMonitorObject, ZfpMonitorObject, DepthImageZlibMonitorObject, DepthImageConverter, DepthImageConverter, DepthImageConverterVec, FfmpegMonitorObject, ImageRotation, RpcMonitor, SegmentationImageConverter, SensorMeasurements_to_vector, Mp3SoundConverter, Sound_marker, and SoundFilter_resample.
Definition at line 12 of file MonitorObject.cpp.
This will be called when the portmonitor object destroyes.
Reimplemented in BottleZlibMonitorObject, ZfpMonitorObject, DepthImageZlibMonitorObject, DepthImageConverter, DepthImageConverter, DepthImageConverterVec, ImageRotation, SegmentationImageConverter, SensorMeasurements_to_vector, Mp3SoundConverter, Sound_marker, SoundFilter_resample, and FfmpegMonitorObject.
Definition at line 18 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 BottleZlibMonitorObject, ZfpMonitorObject, DepthImageZlibMonitorObject, DepthImageConverter, DepthImageConverter, DepthImageConverterVec, FfmpegMonitorObject, ImageRotation, SegmentationImageConverter, SensorMeasurements_to_vector, Mp3SoundConverter, Sound_marker, and SoundFilter_resample.
Definition at line 28 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 BottleZlibMonitorObject, ZfpMonitorObject, DepthImageZlibMonitorObject, DepthImageConverter, DepthImageConverter, DepthImageConverterVec, FfmpegMonitorObject, ImageRotation, SegmentationImageConverter, SensorMeasurements_to_vector, Mp3SoundConverter, Sound_marker, and SoundFilter_resample.
Definition at line 22 of file MonitorObject.cpp.
|
virtual |
This will be called when one of the peer connections to the same import port receives data.
Reimplemented in Sound_marker, and SoundFilter_resample.
Definition at line 34 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 BottleZlibMonitorObject, ZfpMonitorObject, DepthImageZlibMonitorObject, DepthImageConverter, DepthImageConverter, DepthImageConverterVec, FfmpegMonitorObject, ImageRotation, RpcMonitor, SegmentationImageConverter, SensorMeasurements_to_vector, Mp3SoundConverter, Sound_marker, and SoundFilter_resample.
Definition at line 44 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. |
Reimplemented in RpcMonitor.
Definition at line 50 of file MonitorObject.cpp.