VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Attributes
makVrv::DtMessage Class Reference

The IGI Message. More...

Public Types

enum  DataType {
  Unknown = 0, Char = 1 | packSizeOf(char), UnsignedChar = 2 | packSizeOf(unsigned char), Short = 3 | packSizeOf(short),
  UnsignedShort = 4 | packSizeOf(unsigned short), Int = 5 | packSizeOf(int), UnsignedInt = 6 | packSizeOf(unsigned int), Float = 7 | packSizeOf(float),
  LongLong = 8 | packSizeOf(long long), UnsignedLongLong = 9 | packSizeOf(unsigned long long), Double = 10 | packSizeOf(double), Bool = 11 | packSizeOf(bool),
  Long = 12 | packSizeOf(long), UnsignedLong = 13 | packSizeOf(unsigned long), String = 128, FixedArray = 129,
  UnicodeString = 130, User_Start = 150, User_Last = 255
}
typedef unsigned char Byte
typedef std::vector< ByteByteBuffer

Public Member Functions

 DtMessage (unsigned short classId=0, unsigned short functionId=0)
 Byte 0: DataType Id.
 DtMessage (const Byte *buffer, size_t size)
 Construct a message from a raw buffer, the raw buffer MUST have come from another IGI message, typically due to the fact it was transfered to a separate client process.
 DtMessage (const DtMessage &orig)
 CTOR.
 ~DtMessage ()
 DTOR.
void printDebugMessageContents (std::ostream &)
 Print the message contents for debugging.
const chardataTypeName (unsigned char dataType)
 Get the name of a data type in English.
unsigned short classId () const
 Get the class id.
unsigned short functionId () const
 Get the function id.
const Bytedata () const
 Get a pointer to the start of the data.
size_t size () const
 Get the current size of the message in bytes.
void emptyMessage ()
 Empty the message. This does NOT dealloc memory.
void resetRead ()
 Reset the internal reader to the beginning of data.
void serializeHeader (unsigned short classId, unsigned short functionId)
 If the message is set to write out, this will verify that the input class id and the function id match those in the message, if the message is set to read in data, it will set the class id and function id.
bool serializeWriteOut () const
 Is this message set to write out data during serialization or read in data.
void setSerializeWriteOut (bool writeOut)
 Set whether the message will write out data during serialization or read in data.
void addOnlyData (DtMessage &message)
 Adds only the data from the message (no header).
void addData (unsigned int dataType, const void *data, int dataSize)
 Low level add data call.
bool canReadData () const
 Get if there is more data that can be read.
unsigned char nextDataType () const
 Get the type of the next data in the message.
unsigned int nextDataSize () const
 Get the data size of the next parameter to be read.
const void * nextDataPointer () const
 Get a pointer to the next chunk of data.
void skipToNextData ()
 Move the read pointer to the next data element in the message.
void advanceRead (size_t bytes)
 Move the read pointer forward a number of bytes.
void getData (int dataType, void *output)
 Read the next parameter into the output.
DtMessageoperator>> (bool &b)
 Read data parameters.
DtMessageoperator>> (char &c)
 Read data parameters.
DtMessageoperator>> (unsigned char &c)
 Read data parameters.
DtMessageoperator>> (short &i)
 Read data parameters.
DtMessageoperator>> (unsigned short &i)
 Read data parameters.
DtMessageoperator>> (int &i)
 Read data parameters.
DtMessageoperator>> (unsigned int &i)
 Read data parameters.
DtMessageoperator>> (long long &i)
 Read data parameters.
DtMessageoperator>> (unsigned long long &i)
 Read data parameters.
DtMessageoperator>> (float &f)
 Read data parameters.
DtMessageoperator>> (double &f)
 Read data parameters.
DtMessageoperator>> (long &i)
 Read data parameters.
DtMessageoperator>> (unsigned long &i)
 Read data parameters.
DtMessageoperator>> (std::string &s)
 Read data parameters.
DtMessageoperator>> (DtUnicode &s)
 Read data parameters.
DtMessageoperator>> (ByteBuffer &rawData)
 Read data parameters.
DtMessageoperator>> (std::pair< void *, int > &rawData)
 Note that this will allocate new memory (char*) and return it in the first member.
DtMessageoperator<< (bool b)
 Add data parameters.
DtMessageoperator<< (char c)
 Add data parameters.
DtMessageoperator<< (unsigned char c)
 Add data parameters.
DtMessageoperator<< (short i)
 Add data parameters.
DtMessageoperator<< (unsigned short i)
 Add data parameters.
DtMessageoperator<< (int i)
 Add data parameters.
DtMessageoperator<< (unsigned int i)
 Add data parameters.
DtMessageoperator<< (long long i)
 Add data parameters.
DtMessageoperator<< (unsigned long long i)
 Add data parameters.
DtMessageoperator<< (float f)
 Add data parameters.
DtMessageoperator<< (double f)
 Add data parameters.
DtMessageoperator<< (long i)
 Add data parameters.
DtMessageoperator<< (unsigned long i)
 Add data parameters.
DtMessageoperator<< (const std::string &s)
 Add data parameters.
DtMessageoperator<< (const DtUnicode &s)
 Add data parameters.
DtMessageoperator<< (const char *str)
 Add data parameters.
DtMessageoperator<< (const ByteBuffer &rawData)
 Add data parameters.
DtMessageoperator<< (const std::pair< void *, int > &rawData)
 Add data parameters.

Static Public Attributes

static const int theHeaderSize = (sizeof(unsigned short) + sizeof(char)) * 2
ByteBuffer myBuffer
 Helper functions for doing multiple adds and reads.
ByteBuffer::const_iterator myReadIter
 Helper functions for doing multiple adds and reads.
bool mySerializeWriteOutFlag
 Helper functions for doing multiple adds and reads.
void addMultiple ()
 Helper functions for doing multiple adds and reads.
template<typename T1 >
void addMultiple (T1 t1)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 >
void addMultiple (T1 t1, T2 t2)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 , typename T3 >
void addMultiple (T1 t1, T2 t2, T3 t3)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 , typename T3 , typename T4 >
void addMultiple (T1 t1, T2 t2, T3 t3, T4 t4)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
void addMultiple (T1 t1, T2 t2, T3 t3, T4 t4, T5 t5)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
void addMultiple (T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
void addMultiple (T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
void addMultiple (T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7, T8 t8)
 Helper functions for doing multiple adds and reads.
void readMultiple ()
 Helper functions for doing multiple adds and reads.
template<typename T1 >
void readMultiple (T1 &t1)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 >
void readMultiple (T1 &t1, T2 &t2)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 , typename T3 >
void readMultiple (T1 &t1, T2 &t2, T3 &t3)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 , typename T3 , typename T4 >
void readMultiple (T1 &t1, T2 &t2, T3 &t3, T4 &t4)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
void readMultiple (T1 &t1, T2 &t2, T3 &t3, T4 &t4, T5 &t5)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
void readMultiple (T1 &t1, T2 &t2, T3 &t3, T4 &t4, T5 &t5, T6 &t6)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
void readMultiple (T1 &t1, T2 &t2, T3 &t3, T4 &t4, T5 &t5, T6 &t6, T7 &t7)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
void readMultiple (T1 &t1, T2 &t2, T3 &t3, T4 &t4, T5 &t5, T6 &t6, T7 &t7, T8 &t8)
 Helper functions for doing multiple adds and reads.
template<typename T1 >
void serialize (T1 &t1)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 >
void serialize (T1 &t1, T2 &t2)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 , typename T3 >
void serialize (T1 &t1, T2 &t2, T3 &t3)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 , typename T3 , typename T4 >
void serialize (T1 &t1, T2 &t2, T3 &t3, T4 &t4)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
void serialize (T1 &t1, T2 &t2, T3 &t3, T4 &t4, T5 &t5)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
void serialize (T1 &t1, T2 &t2, T3 &t3, T4 &t4, T5 &t5, T6 &t6)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
void serialize (T1 &t1, T2 &t2, T3 &t3, T4 &t4, T5 &t5, T6 &t6, T7 &t7)
 Helper functions for doing multiple adds and reads.
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
void serialize (T1 &t1, T2 &t2, T3 &t3, T4 &t4, T5 &t5, T6 &t6, T7 &t7, T8 &t8)
 Helper functions for doing multiple adds and reads.
template<typename T >
void serializeViaArchive (T &t)
 Helper functions for doing multiple adds and reads.
void setClassId (unsigned short classId)
 Set the class id.
void setFunctionId (unsigned short functionId)
 Set the function id.

Detailed Description

The IGI Message.

Is easily encoded and decoding using stream operators. It also provides validation during decoding of binary data for both type and size. It is also extensible allowing for additional types.

Member Typedef Documentation

typedef unsigned char makVrv::DtMessage::Byte
typedef std::vector<Byte> makVrv::DtMessage::ByteBuffer

Member Enumeration Documentation

Enumerator:
Unknown 
Char 
UnsignedChar 
Short 
UnsignedShort 
Int 
UnsignedInt 
Float 
LongLong 
UnsignedLongLong 
Double 
Bool 
Long 
UnsignedLong 
String 
FixedArray 
UnicodeString 
User_Start 
User_Last 

Constructor & Destructor Documentation

makVrv::DtMessage::DtMessage ( unsigned short  classId = 0,
unsigned short  functionId = 0 
)

Byte 0: DataType Id.

If DataType is a simple type (value type, int,double etc). Byte 1-n: Where n is 1-8, depending on the datatype is If DataType is a complex type (binary chunk w/ size) Byte 1-4: Is a 32bit integer which is the size of the data (in bytes). Byte 5-(5 + size): The size bytes. Default CTOR By default this message will be initialized to do reading input and writing to the message during serialization.

makVrv::DtMessage::DtMessage ( const Byte buffer,
size_t  size 
)

Construct a message from a raw buffer, the raw buffer MUST have come from another IGI message, typically due to the fact it was transfered to a separate client process.

By default this message will be initialized to do reading data from the message and writing to the input during serialization.

makVrv::DtMessage::DtMessage ( const DtMessage orig)

CTOR.

Note that the internal read pointer is also copied, in addition to the data.

makVrv::DtMessage::~DtMessage ( )

DTOR.

Member Function Documentation

void makVrv::DtMessage::printDebugMessageContents ( std::ostream &  )

Print the message contents for debugging.

const char* makVrv::DtMessage::dataTypeName ( unsigned char  dataType)

Get the name of a data type in English.

unsigned short makVrv::DtMessage::classId ( ) const

Get the class id.

unsigned short makVrv::DtMessage::functionId ( ) const

Get the function id.

const Byte* makVrv::DtMessage::data ( ) const

Get a pointer to the start of the data.

size_t makVrv::DtMessage::size ( ) const

Get the current size of the message in bytes.

Referenced by makVrf::operator<<().

void makVrv::DtMessage::emptyMessage ( )

Empty the message. This does NOT dealloc memory.

void makVrv::DtMessage::resetRead ( )

Reset the internal reader to the beginning of data.

This does not include the internal message header.

void makVrv::DtMessage::serializeHeader ( unsigned short  classId,
unsigned short  functionId 
)

If the message is set to write out, this will verify that the input class id and the function id match those in the message, if the message is set to read in data, it will set the class id and function id.

bool makVrv::DtMessage::serializeWriteOut ( ) const

Is this message set to write out data during serialization or read in data.

void makVrv::DtMessage::setSerializeWriteOut ( bool  writeOut)

Set whether the message will write out data during serialization or read in data.

DtMessage& makVrv::DtMessage::operator>> ( bool b)

Read data parameters.

Each call moves the internal data pointers. throws exceptions on errors.

DtMessage& makVrv::DtMessage::operator>> ( char c)

Read data parameters.

Each call moves the internal data pointers. throws exceptions on errors.

DtMessage& makVrv::DtMessage::operator>> ( unsigned char c)

Read data parameters.

Each call moves the internal data pointers. throws exceptions on errors.

DtMessage& makVrv::DtMessage::operator>> ( short &  i)

Read data parameters.

Each call moves the internal data pointers. throws exceptions on errors.

DtMessage& makVrv::DtMessage::operator>> ( unsigned short &  i)

Read data parameters.

Each call moves the internal data pointers. throws exceptions on errors.

DtMessage& makVrv::DtMessage::operator>> ( int i)

Read data parameters.

Each call moves the internal data pointers. throws exceptions on errors.

DtMessage& makVrv::DtMessage::operator>> ( unsigned int i)

Read data parameters.

Each call moves the internal data pointers. throws exceptions on errors.

DtMessage& makVrv::DtMessage::operator>> ( long long &  i)

Read data parameters.

Each call moves the internal data pointers. throws exceptions on errors.

DtMessage& makVrv::DtMessage::operator>> ( unsigned long long &  i)

Read data parameters.

Each call moves the internal data pointers. throws exceptions on errors.

DtMessage& makVrv::DtMessage::operator>> ( float &  f)

Read data parameters.

Each call moves the internal data pointers. throws exceptions on errors.

DtMessage& makVrv::DtMessage::operator>> ( double &  f)

Read data parameters.

Each call moves the internal data pointers. throws exceptions on errors.

DtMessage& makVrv::DtMessage::operator>> ( long &  i)

Read data parameters.

Each call moves the internal data pointers. throws exceptions on errors.

DtMessage& makVrv::DtMessage::operator>> ( unsigned long &  i)

Read data parameters.

Each call moves the internal data pointers. throws exceptions on errors.

DtMessage& makVrv::DtMessage::operator>> ( std::string &  s)

Read data parameters.

Each call moves the internal data pointers. throws exceptions on errors.

DtMessage& makVrv::DtMessage::operator>> ( DtUnicode s)

Read data parameters.

Each call moves the internal data pointers. throws exceptions on errors.

DtMessage& makVrv::DtMessage::operator>> ( ByteBuffer rawData)

Read data parameters.

Each call moves the internal data pointers. throws exceptions on errors.

DtMessage& makVrv::DtMessage::operator>> ( std::pair< void *, int > &  rawData)

Note that this will allocate new memory (char*) and return it in the first member.

DtMessage& makVrv::DtMessage::operator<< ( bool  b)

Add data parameters.

DtMessage& makVrv::DtMessage::operator<< ( char  c)

Add data parameters.

DtMessage& makVrv::DtMessage::operator<< ( unsigned char  c)

Add data parameters.

DtMessage& makVrv::DtMessage::operator<< ( short  i)

Add data parameters.

DtMessage& makVrv::DtMessage::operator<< ( unsigned short  i)

Add data parameters.

DtMessage& makVrv::DtMessage::operator<< ( int  i)

Add data parameters.

DtMessage& makVrv::DtMessage::operator<< ( unsigned int  i)

Add data parameters.

DtMessage& makVrv::DtMessage::operator<< ( long long  i)

Add data parameters.

DtMessage& makVrv::DtMessage::operator<< ( unsigned long long  i)

Add data parameters.

DtMessage& makVrv::DtMessage::operator<< ( float  f)

Add data parameters.

DtMessage& makVrv::DtMessage::operator<< ( double  f)

Add data parameters.

DtMessage& makVrv::DtMessage::operator<< ( long  i)

Add data parameters.

DtMessage& makVrv::DtMessage::operator<< ( unsigned long  i)

Add data parameters.

DtMessage& makVrv::DtMessage::operator<< ( const std::string &  s)

Add data parameters.

DtMessage& makVrv::DtMessage::operator<< ( const DtUnicode s)

Add data parameters.

DtMessage& makVrv::DtMessage::operator<< ( const char str)

Add data parameters.

DtMessage& makVrv::DtMessage::operator<< ( const ByteBuffer rawData)

Add data parameters.

DtMessage& makVrv::DtMessage::operator<< ( const std::pair< void *, int > &  rawData)

Add data parameters.

void makVrv::DtMessage::addOnlyData ( DtMessage message)

Adds only the data from the message (no header).

void makVrv::DtMessage::addData ( unsigned int  dataType,
const void *  data,
int  dataSize 
)

Low level add data call.

bool makVrv::DtMessage::canReadData ( ) const

Get if there is more data that can be read.

unsigned char makVrv::DtMessage::nextDataType ( ) const

Get the type of the next data in the message.

Exceptions
DtCorruptedStateif there is no next data.
unsigned int makVrv::DtMessage::nextDataSize ( ) const

Get the data size of the next parameter to be read.

NOTE! the reader pointer must be pointing to the beginning of a parameter in the buffer.

Exceptions
DtCorruptedStateif there is no next data.
const void* makVrv::DtMessage::nextDataPointer ( ) const

Get a pointer to the next chunk of data.

Do not modify the data in this pointer.

void makVrv::DtMessage::skipToNextData ( )

Move the read pointer to the next data element in the message.

void makVrv::DtMessage::advanceRead ( size_t  bytes)

Move the read pointer forward a number of bytes.

Warning
This is a potentially very dangerous function if used incorrectly.
void makVrv::DtMessage::getData ( int  dataType,
void *  output 
)

Read the next parameter into the output.

It is assumed that output has sufficient space, use getDataSize before calling to ensure this. This function also moves the current read pointer.

void makVrv::DtMessage::addMultiple ( )
inline

Helper functions for doing multiple adds and reads.

template<typename T1 >
void makVrv::DtMessage::addMultiple ( T1  t1)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 >
void makVrv::DtMessage::addMultiple ( T1  t1,
T2  t2 
)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 , typename T3 >
void makVrv::DtMessage::addMultiple ( T1  t1,
T2  t2,
T3  t3 
)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 , typename T3 , typename T4 >
void makVrv::DtMessage::addMultiple ( T1  t1,
T2  t2,
T3  t3,
T4  t4 
)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
void makVrv::DtMessage::addMultiple ( T1  t1,
T2  t2,
T3  t3,
T4  t4,
T5  t5 
)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
void makVrv::DtMessage::addMultiple ( T1  t1,
T2  t2,
T3  t3,
T4  t4,
T5  t5,
T6  t6 
)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
void makVrv::DtMessage::addMultiple ( T1  t1,
T2  t2,
T3  t3,
T4  t4,
T5  t5,
T6  t6,
T7  t7 
)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
void makVrv::DtMessage::addMultiple ( T1  t1,
T2  t2,
T3  t3,
T4  t4,
T5  t5,
T6  t6,
T7  t7,
T8  t8 
)
inline

Helper functions for doing multiple adds and reads.

void makVrv::DtMessage::readMultiple ( )
inline

Helper functions for doing multiple adds and reads.

template<typename T1 >
void makVrv::DtMessage::readMultiple ( T1 &  t1)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 >
void makVrv::DtMessage::readMultiple ( T1 &  t1,
T2 &  t2 
)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 , typename T3 >
void makVrv::DtMessage::readMultiple ( T1 &  t1,
T2 &  t2,
T3 &  t3 
)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 , typename T3 , typename T4 >
void makVrv::DtMessage::readMultiple ( T1 &  t1,
T2 &  t2,
T3 &  t3,
T4 &  t4 
)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
void makVrv::DtMessage::readMultiple ( T1 &  t1,
T2 &  t2,
T3 &  t3,
T4 &  t4,
T5 &  t5 
)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
void makVrv::DtMessage::readMultiple ( T1 &  t1,
T2 &  t2,
T3 &  t3,
T4 &  t4,
T5 &  t5,
T6 &  t6 
)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
void makVrv::DtMessage::readMultiple ( T1 &  t1,
T2 &  t2,
T3 &  t3,
T4 &  t4,
T5 &  t5,
T6 &  t6,
T7 &  t7 
)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
void makVrv::DtMessage::readMultiple ( T1 &  t1,
T2 &  t2,
T3 &  t3,
T4 &  t4,
T5 &  t5,
T6 &  t6,
T7 &  t7,
T8 &  t8 
)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 >
void makVrv::DtMessage::serialize ( T1 &  t1)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 >
void makVrv::DtMessage::serialize ( T1 &  t1,
T2 &  t2 
)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 , typename T3 >
void makVrv::DtMessage::serialize ( T1 &  t1,
T2 &  t2,
T3 &  t3 
)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 , typename T3 , typename T4 >
void makVrv::DtMessage::serialize ( T1 &  t1,
T2 &  t2,
T3 &  t3,
T4 &  t4 
)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
void makVrv::DtMessage::serialize ( T1 &  t1,
T2 &  t2,
T3 &  t3,
T4 &  t4,
T5 &  t5 
)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
void makVrv::DtMessage::serialize ( T1 &  t1,
T2 &  t2,
T3 &  t3,
T4 &  t4,
T5 &  t5,
T6 &  t6 
)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
void makVrv::DtMessage::serialize ( T1 &  t1,
T2 &  t2,
T3 &  t3,
T4 &  t4,
T5 &  t5,
T6 &  t6,
T7 &  t7 
)
inline

Helper functions for doing multiple adds and reads.

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
void makVrv::DtMessage::serialize ( T1 &  t1,
T2 &  t2,
T3 &  t3,
T4 &  t4,
T5 &  t5,
T6 &  t6,
T7 &  t7,
T8 &  t8 
)
inline

Helper functions for doing multiple adds and reads.

template<typename T >
void makVrv::DtMessage::serializeViaArchive ( T &  t)
inline

Helper functions for doing multiple adds and reads.

void makVrv::DtMessage::setClassId ( unsigned short  classId)
protected

Set the class id.

void makVrv::DtMessage::setFunctionId ( unsigned short  functionId)
protected

Set the function id.

Member Data Documentation

const int makVrv::DtMessage::theHeaderSize = (sizeof(unsigned short) + sizeof(char)) * 2
static
ByteBuffer makVrv::DtMessage::myBuffer
protected

Helper functions for doing multiple adds and reads.

ByteBuffer::const_iterator makVrv::DtMessage::myReadIter
protected

Helper functions for doing multiple adds and reads.

bool makVrv::DtMessage::mySerializeWriteOutFlag
protected

Helper functions for doing multiple adds and reads.


The documentation for this class was generated from the following file:

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)