TOBI Interface A  0.1
tia::RawMem3 Class Reference

Class holding a memory regions storing the raw representation of a DataPacket. More...

#include <raw_mem3.h>

Public Member Functions

 RawMem3 (boost::uint8_t packet_version, boost::uint32_t flags, boost::uint64_t packet_id, boost::uint64_t packet_nr,\boost::uint64_t timestamp,\std::vector< boost::uint16_t > &nr_channels, std::vector< boost::uint16_t > &samples_per_channel, std::vector< double > &data)
 Constructor.
virtual ~RawMem3 ()
 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_mem3.h.


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