depthimage_compression_zlib_portmonitor
: Portmonitor plugin for compression and decompression of depth images using zlib library.
More...
Public Member Functions | |
bool | create (const yarp::os::Property &options) override |
This will be called when the dll is properly loaded by the portmonitor carrier. | |
void | destroy () override |
This will be called when the portmonitor object destroyes. | |
bool | setparam (const yarp::os::Property ¶ms) override |
This will be called when the portmonitor carrier parameters are set via YARP admin port. | |
bool | getparam (yarp::os::Property ¶ms) override |
This will be called when the portmonitor carrier parameters are requested via YARP admin port. | |
bool | accept (yarp::os::Things &thing) override |
This will be called when the data reach the portmonitor object. | |
yarp::os::Things & | update (yarp::os::Things &thing) override |
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 | ~MonitorObject () |
virtual void | trig () |
This will be called when one of the peer connections to the same import port receives data. | |
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). | |
Protected Member Functions | |
int | compressData (const unsigned char *in, const size_t &in_size, unsigned char *out, size_t &out_size) |
int | decompressData (const unsigned char *in, const size_t &in_size, unsigned char *out, size_t &out_size) |
depthimage_compression_zlib_portmonitor
: Portmonitor plugin for compression and decompression of depth images using zlib library.
Example usage: yarp connect /depthCamera/depthImage:o /view tcp+send.portmonitor+file.depthimage_compression_zlib+recv.portmonitor+file.depthimage_compression_zlib+type.dll
Definition at line 20 of file DepthImageZlibPortmonitor.h.
|
overridevirtual |
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 from yarp::os::MonitorObject.
Definition at line 51 of file DepthImageZlibPortmonitor.cpp.
|
protected |
Definition at line 149 of file DepthImageZlibPortmonitor.cpp.
|
overridevirtual |
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 from yarp::os::MonitorObject.
Definition at line 31 of file DepthImageZlibPortmonitor.cpp.
|
protected |
Definition at line 171 of file DepthImageZlibPortmonitor.cpp.
This will be called when the portmonitor object destroyes.
Reimplemented from yarp::os::MonitorObject.
Definition at line 37 of file DepthImageZlibPortmonitor.cpp.
|
overridevirtual |
This will be called when the portmonitor carrier parameters are requested via YARP admin port.
params | The Property |
Reimplemented from yarp::os::MonitorObject.
Definition at line 46 of file DepthImageZlibPortmonitor.cpp.
|
overridevirtual |
This will be called when the portmonitor carrier parameters are set via YARP admin port.
params | The Property |
Reimplemented from yarp::os::MonitorObject.
Definition at line 41 of file DepthImageZlibPortmonitor.cpp.
|
overridevirtual |
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 from yarp::os::MonitorObject.
Definition at line 76 of file DepthImageZlibPortmonitor.cpp.