TOBI Interface A  0.1
tia::DataPacket Class Reference

Interface class for the TiA datapacket. More...

#include <data_packet_interface.h>

Public Member Functions

virtual void reset ()=0
virtual void reset (void *mem)=0
virtual void incPacketID ()=0
virtual void setPacketID (boost::uint64_t nr)=0
virtual boost::uint64_t getPacketID ()=0
virtual void insertDataBlock (std::vector< double > v, boost::uint32_t signal_flag, boost::uint16_t blocksize, bool prepend=false)=0
virtual void setConnectionPacketNr (boost::uint64_t)=0
virtual boost::uint64_t getConnectionPacketNr ()=0
virtual void setTimestamp ()=0
virtual boost::uint64_t getTimestamp ()=0
virtual bool hasFlag (boost::uint32_t f)=0
virtual boost::uint16_t getNrOfSignalTypes ()=0
virtual boost::uint32_t getFlags ()=0
virtual std::vector
< boost::uint16_t > 
getNrSamplesPerChannel ()=0
virtual std::vector
< boost::uint16_t > 
getNrOfChannels ()=0
virtual std::vector
< boost::uint16_t > 
getNrOfSamples ()=0
virtual boost::uint16_t getNrSamplesPerChannel (boost::uint32_t flag)=0
virtual boost::uint16_t getNrOfSamples (boost::uint32_t flag)=0
virtual boost::uint16_t getNrOfChannels (boost::uint32_t flag)=0
virtual const std::vector
< double > & 
getData ()=0
virtual std::vector< double > getSingleDataBlock (boost::uint32_t flag)=0
virtual void * getRaw ()=0
virtual boost::uint32_t getRawMemorySize ()=0
virtual boost::uint32_t getRequiredRawMemorySize ()=0
virtual boost::uint32_t getRequiredRawMemorySize (void *mem, boost::uint32_t bytes_available)=0

Detailed Description

Interface class for the TiA datapacket.

Definition at line 57 of file data_packet_interface.h.


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