open-dis-cpp
Public Member Functions | Protected Attributes | List of all members
DIS::PduSuperclass Class Reference
Inheritance diagram for DIS::PduSuperclass:
Inheritance graph
[legend]

Public Member Functions

virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
unsigned char getProtocolVersion () const
 
void setProtocolVersion (unsigned char pX)
 
unsigned char getExerciseID () const
 
void setExerciseID (unsigned char pX)
 
unsigned char getPduType () const
 
void setPduType (unsigned char pX)
 
unsigned char getProtocolFamily () const
 
void setProtocolFamily (unsigned char pX)
 
unsigned int getTimestamp () const
 
void setTimestamp (unsigned int pX)
 
unsigned short getLength () const
 
void setLength (unsigned short pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const PduSuperclass &rhs) const
 

Protected Attributes

unsigned char _protocolVersion
 The version of the protocol. More...
 
unsigned char _exerciseID
 Exercise ID.
 
unsigned char _pduType
 Type of pdu, unique for each PDU class.
 
unsigned char _protocolFamily
 value that refers to the protocol family, eg SimulationManagement, et
 
unsigned int _timestamp
 Timestamp value.
 
unsigned short _length
 Length, in bytes, of the PDU.
 

Member Data Documentation

◆ _protocolVersion

unsigned char DIS::PduSuperclass::_protocolVersion
protected

The version of the protocol.

5=DIS-1995, 6=DIS-1998, 7=DIS-2009.


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