VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtMessage Class Reference

This is the DtMessage class. More...

+ Collaboration diagram for DtMessage:

Public Member Functions

 DtMessage ()
 constructor
virtual ~DtMessage ()
 destructor
virtual std::string name () const
 Get the name of the message type.
virtual unsigned char * encode ()
 Encode the message as an array of bytes and return the bytes.
virtual int messageSize ()
 this function needs to be in each derived class for decoding

Protected Member Functions

virtual void serialize (DtStreamWriter &writer)
virtual void deserialize (DtStreamReader &reader)

Protected Attributes

std::string myName

Detailed Description

This is the DtMessage class.

Constructor & Destructor Documentation

DtMessage::DtMessage ( )

constructor

virtual DtMessage::~DtMessage ( )
virtual

destructor

Member Function Documentation

virtual void DtMessage::deserialize ( DtStreamReader reader)
protectedvirtual
virtual unsigned char* DtMessage::encode ( )
virtual

Encode the message as an array of bytes and return the bytes.

virtual int DtMessage::messageSize ( )
virtual

this function needs to be in each derived class for decoding

Get the size of the message data in bytes

virtual std::string DtMessage::name ( ) const
virtual

Get the name of the message type.

virtual void DtMessage::serialize ( DtStreamWriter writer)
protectedvirtual

Member Data Documentation

std::string DtMessage::myName
protected

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

Document ID: Generated on Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)