|
TOBI Interface A
0.1
|
Class holding a memory regions storing the raw representation of a DataPacket. More...
#include <raw_mem.h>
Public Member Functions | |
| RawMem (boost::uint32_t flags, boost::uint64_t sample_nr, boost::uint64_t packet_nr,\boost::posix_time::ptime timestamp,\std::vector< boost::uint16_t > &nr_values, std::vector< boost::uint16_t > &nr_blocks, std::vector< double > &data) | |
| Constructor. | |
| virtual | ~RawMem () |
| Destructor. | |
| boost::uint32_t | size () |
| Returns the size (in bytes) of the memory region. | |
| void * | getMemPtr () |
| Returns a pointer to the memory region. | |
Class holding a memory regions storing the raw representation of a DataPacket.
RawMem can holds a memory region, containing a complete DataPacket. It does not care, whether there are more signal types in it or not. The needed memory size is automaticaly determined.