|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef YARP_ZFP_CARRIER_ZFPPORTMONITOR_H
10 #define YARP_ZFP_CARRIER_ZFPPORTMONITOR_H
30 int compress(
float* array,
float* &compressed,
int &zfpsize,
int nx,
int ny,
float tolerance);
31 int decompress(
float* array,
float* &decompressed,
int zfpsize,
int nx,
int ny,
float tolerance);
32 void resizeF(
float* &array,
int newSize);
33 void resizeV(
void* &array,
int newSize);
A simple collection of objects that can be described and transmitted in a portable way.
bool accept(yarp::os::Things &thing) override
This will be called when the data reach the portmonitor object.
void resizeV(void *&array, int newSize)
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...
Base class for generic things.
bool create(const yarp::os::Property &options) override
This will be called when the dll is properly loaded by the portmonitor carrier.
bool setparam(const yarp::os::Property ¶ms) override
This will be called when the portmonitor carrier parameters are set via Yarp admin port.
int compress(float *array, float *&compressed, int &zfpsize, int nx, int ny, float tolerance)
void resizeF(float *&array, int newSize)
void destroy() override
This will be called when the portmonitor object destroyes.
int decompress(float *array, float *&decompressed, int zfpsize, int nx, int ny, float tolerance)
bool getparam(yarp::os::Property ¶ms) override
This will be called when the portmonitor carrier parameters are requested via Yarp admin port.
A class for storing options and configuration information.