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

Public Member Functions

virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
SimulationAddressgetOriginatingSimulationAddress ()
 
const SimulationAddressgetOriginatingSimulationAddress () const
 
void setOriginatingSimulationAddress (const SimulationAddress &pX)
 
int getPadding1 () const
 
void setPadding1 (int pX)
 
short getPadding2 () const
 
void setPadding2 (short pX)
 
unsigned char getAttributeRecordPduType () const
 
void setAttributeRecordPduType (unsigned char pX)
 
unsigned char getAttributeRecordProtocolVersion () const
 
void setAttributeRecordProtocolVersion (unsigned char pX)
 
unsigned int getMasterAttributeRecordType () const
 
void setMasterAttributeRecordType (unsigned int pX)
 
unsigned char getActionCode () const
 
void setActionCode (unsigned char pX)
 
char getPadding3 () const
 
void setPadding3 (char pX)
 
unsigned short getNumberAttributeRecordSet () const
 
void setNumberAttributeRecordSet (unsigned short pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const AttributePdu &rhs) const
 
- Public Member Functions inherited from DIS::EntityInformationFamilyPdu
bool operator== (const EntityInformationFamilyPdu &rhs) const
 
bool operator== (const EntityInformationFamilyPdu &rhs) const
 
- Public Member Functions inherited from DIS::Pdu
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)
 
short getPadding () const
 
void setPadding (short pX)
 
bool operator== (const Pdu &rhs) const
 
unsigned char getPduStatus () const
 
void setPduStatus (unsigned char pX)
 
unsigned char getPadding () const
 
void setPadding (unsigned char pX)
 
bool operator== (const Pdu &rhs) const
 
- Public Member Functions inherited from DIS::PduSuperclass
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)
 
bool operator== (const PduSuperclass &rhs) const
 

Protected Attributes

SimulationAddress _originatingSimulationAddress
 This field shall identify the simulation issuing the Attribute PDU. More...
 
int _padding1
 Padding.
 
short _padding2
 Padding.
 
unsigned char _attributeRecordPduType
 This field shall represent the type of the PDU that is being extended or updated, if applicable. More...
 
unsigned char _attributeRecordProtocolVersion
 This field shall indicate the Protocol Version associated with the Attribute Record PDU Type. More...
 
unsigned int _masterAttributeRecordType
 This field shall contain the Attribute record type of the Attribute records in the PDU if they all have the same Attribute record type. More...
 
unsigned char _actionCode
 This field shall identify the action code applicable to this Attribute PDU. More...
 
char _padding3
 Padding.
 
unsigned short _numberAttributeRecordSet
 This field shall specify the number of Attribute Record Sets that make up the remainder of the PDU. More...
 
- Protected Attributes inherited from DIS::Pdu
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.
 
short _padding
 zero-filled array of padding
 
unsigned char _pduStatus
 PDU Status Record. More...
 
unsigned char _padding
 zero-filled array of padding
 
- Protected Attributes inherited from DIS::PduSuperclass
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

◆ _actionCode

unsigned char DIS::AttributePdu::_actionCode
protected

This field shall identify the action code applicable to this Attribute PDU.

The Action Code shall apply to all Attribute records contained in the PDU. It shall be represented by an 8-bit enumeration.

◆ _attributeRecordPduType

unsigned char DIS::AttributePdu::_attributeRecordPduType
protected

This field shall represent the type of the PDU that is being extended or updated, if applicable.

It shall be represented by an 8-bit enumeration.

◆ _attributeRecordProtocolVersion

unsigned char DIS::AttributePdu::_attributeRecordProtocolVersion
protected

This field shall indicate the Protocol Version associated with the Attribute Record PDU Type.

It shall be represented by an 8-bit enumeration.

◆ _masterAttributeRecordType

unsigned int DIS::AttributePdu::_masterAttributeRecordType
protected

This field shall contain the Attribute record type of the Attribute records in the PDU if they all have the same Attribute record type.

It shall be represented by a 32-bit enumeration.

◆ _numberAttributeRecordSet

unsigned short DIS::AttributePdu::_numberAttributeRecordSet
protected

This field shall specify the number of Attribute Record Sets that make up the remainder of the PDU.

It shall be represented by a 16-bit unsigned integer.

◆ _originatingSimulationAddress

SimulationAddress DIS::AttributePdu::_originatingSimulationAddress
protected

This field shall identify the simulation issuing the Attribute PDU.

It shall be represented by a Simulation Address record (see 6.2.79).


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