Base class to implement a compressor. More...
#include <compressor.h>
Public Member Functions | |
virtual void | compress (std::vector< uint8_t > &vec) |
Compress data. | |
virtual void | decompress (std::vector< uint8_t > &vec) |
Decompress data. |
Base class to implement a compressor.
This class is a base class that can be used to implement a compressor that will filter all data to be sent and received from the multicast channel.
Definition at line 41 of file compressor.h.
virtual void socrob::multicast::Compressor::compress | ( | std::vector< uint8_t > & | vec | ) | [inline, virtual] |
Compress data.
This function sould compress a data vector in place.
vec | Vector to be compressed in place. |
Definition at line 50 of file compressor.h.
virtual void socrob::multicast::Compressor::decompress | ( | std::vector< uint8_t > & | vec | ) | [inline, virtual] |
Decompress data.
This function should decompress a data vector in place.
vec | Vector to be decompressed in place. |
Definition at line 58 of file compressor.h.