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

Public Member Functions

virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
unsigned char getControlType () const
 
void setControlType (unsigned char pX)
 
unsigned char getCommunicationsChannelType () const
 
void setCommunicationsChannelType (unsigned char pX)
 
EntityIDgetSourceEntityID ()
 
const EntityIDgetSourceEntityID () const
 
void setSourceEntityID (const EntityID &pX)
 
unsigned char getSourceCommunicationsDeviceID () const
 
void setSourceCommunicationsDeviceID (unsigned char pX)
 
unsigned char getSourceLineID () const
 
void setSourceLineID (unsigned char pX)
 
unsigned char getTransmitPriority () const
 
void setTransmitPriority (unsigned char pX)
 
unsigned char getTransmitLineState () const
 
void setTransmitLineState (unsigned char pX)
 
unsigned char getCommand () const
 
void setCommand (unsigned char pX)
 
EntityIDgetMasterEntityID ()
 
const EntityIDgetMasterEntityID () const
 
void setMasterEntityID (const EntityID &pX)
 
unsigned short getMasterCommunicationsDeviceID () const
 
void setMasterCommunicationsDeviceID (unsigned short pX)
 
unsigned int getIntercomParametersLength () const
 
std::vector< IntercomCommunicationsParameters > & getIntercomParameters ()
 
const std::vector< IntercomCommunicationsParameters > & getIntercomParameters () const
 
void setIntercomParameters (const std::vector< IntercomCommunicationsParameters > &pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const IntercomControlPdu &rhs) const
 
- Public Member Functions inherited from DIS::RadioCommunicationsFamilyPdu
EntityIDgetEntityId ()
 
const EntityIDgetEntityId () const
 
void setEntityId (const EntityID &pX)
 
unsigned short getRadioId () const
 
void setRadioId (unsigned short pX)
 
bool operator== (const RadioCommunicationsFamilyPdu &rhs) const
 
EntityIDgetEntityId ()
 
const EntityIDgetEntityId () const
 
void setEntityId (const EntityID &pX)
 
unsigned short getRadioId () const
 
void setRadioId (unsigned short pX)
 
bool operator== (const RadioCommunicationsFamilyPdu &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

unsigned char _controlType
 control type
 
unsigned char _communicationsChannelType
 control type
 
EntityID _sourceEntityID
 Source entity ID.
 
unsigned char _sourceCommunicationsDeviceID
 The specific intercom device being simulated within an entity. More...
 
unsigned char _sourceLineID
 Line number to which the intercom control refers.
 
unsigned char _transmitPriority
 priority of this message relative to transmissons from other intercom devices
 
unsigned char _transmitLineState
 current transmit state of the line
 
unsigned char _command
 detailed type requested. More...
 
EntityID _masterEntityID
 eid of the entity that has created this intercom channel. More...
 
unsigned short _masterCommunicationsDeviceID
 specific intercom device that has created this intercom channel
 
unsigned int _intercomParametersLength
 number of intercom parameters
 
std::vector< IntercomCommunicationsParameters_intercomParameters
 ^^^This is wrong–the length of the data field is variable. More...
 
- Protected Attributes inherited from DIS::RadioCommunicationsFamilyPdu
EntityID _entityId
 ID of the entitythat is the source of the communication.
 
unsigned short _radioId
 particular radio within an entity
 
- 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

◆ _command

unsigned char DIS::IntercomControlPdu::_command
protected

detailed type requested.

◆ _intercomParameters

std::vector<IntercomCommunicationsParameters> DIS::IntercomControlPdu::_intercomParameters
protected

^^^This is wrong–the length of the data field is variable.

Using a long for now.

◆ _masterEntityID

EntityID DIS::IntercomControlPdu::_masterEntityID
protected

eid of the entity that has created this intercom channel.

◆ _sourceCommunicationsDeviceID

unsigned char DIS::IntercomControlPdu::_sourceCommunicationsDeviceID
protected

The specific intercom device being simulated within an entity.


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