TOBI Interface A  0.1
tia::RawMem Class Reference

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.

Detailed Description

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.

Definition at line 73 of file raw_mem.h.


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations