3 #include <dis7/utils/DataStream.h> 4 #include <dis7/opendis7_export.h> 41 virtual void marshal(
DataStream& dataStream)
const;
42 virtual void unmarshal(
DataStream& dataStream);
44 unsigned char getProtocolVersion()
const;
45 void setProtocolVersion(
unsigned char pX);
47 unsigned char getExerciseID()
const;
48 void setExerciseID(
unsigned char pX);
50 unsigned char getPduType()
const;
51 void setPduType(
unsigned char pX);
53 unsigned char getProtocolFamily()
const;
54 void setProtocolFamily(
unsigned char pX);
56 unsigned int getTimestamp()
const;
57 void setTimestamp(
unsigned int pX);
59 unsigned short getLength()
const;
60 void setLength(
unsigned short pX);
63 virtual int getMarshalledSize()
const;
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
unsigned char _protocolVersion
The version of the protocol.
Definition: PduSuperclass.h:19
a class to support managing a network buffer.
Definition: DataStream.h:28
unsigned short _length
Length, in bytes, of the PDU.
Definition: PduSuperclass.h:34
Definition: PduSuperclass.h:15
unsigned char _exerciseID
Exercise ID.
Definition: PduSuperclass.h:22
unsigned char _protocolFamily
value that refers to the protocol family, eg SimulationManagement, et
Definition: PduSuperclass.h:28
unsigned int _timestamp
Timestamp value.
Definition: PduSuperclass.h:31
unsigned char _pduType
Type of pdu, unique for each PDU class.
Definition: PduSuperclass.h:25