6#ifndef YARP_ZLIB_CARRIER_ZFPPORTMONITOR_H
7#define YARP_ZLIB_CARRIER_ZFPPORTMONITOR_H
33 int compressData (
const unsigned char* in,
const size_t& in_size,
unsigned char* out,
size_t& out_size);
34 int decompressData(
const unsigned char* in,
const size_t& in_size,
unsigned char* out,
size_t& out_size);
39 bool m_shouldCompress;
depthimage_compression_zlib_portmonitor: Portmonitor plugin for compression and decompression of dept...
bool accept(yarp::os::Things &thing) override
This will be called when the data reach the portmonitor object.
bool getparam(yarp::os::Property ¶ms) override
This will be called when the portmonitor carrier parameters are requested via YARP admin port.
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...
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.
int decompressData(const unsigned char *in, const size_t &in_size, unsigned char *out, size_t &out_size)
int compressData(const unsigned char *in, const size_t &in_size, unsigned char *out, size_t &out_size)
A simple collection of objects that can be described and transmitted in a portable way.
A class for storing options and configuration information.
Base class for generic things.