3 #include <dis6/EntityID.h> 4 #include <dis6/EntityID.h> 5 #include <dis6/IntercomCommunicationsParameters.h> 7 #include <dis6/RadioCommunicationsFamilyPdu.h> 8 #include <dis6/utils/DataStream.h> 9 #include <dis6/opendis6_export.h> 64 virtual void marshal(
DataStream& dataStream)
const;
65 virtual void unmarshal(
DataStream& dataStream);
67 unsigned char getControlType()
const;
68 void setControlType(
unsigned char pX);
70 unsigned char getCommunicationsChannelType()
const;
71 void setCommunicationsChannelType(
unsigned char pX);
74 const EntityID& getSourceEntityID()
const;
75 void setSourceEntityID(
const EntityID &pX);
77 unsigned char getSourceCommunicationsDeviceID()
const;
78 void setSourceCommunicationsDeviceID(
unsigned char pX);
80 unsigned char getSourceLineID()
const;
81 void setSourceLineID(
unsigned char pX);
83 unsigned char getTransmitPriority()
const;
84 void setTransmitPriority(
unsigned char pX);
86 unsigned char getTransmitLineState()
const;
87 void setTransmitLineState(
unsigned char pX);
89 unsigned char getCommand()
const;
90 void setCommand(
unsigned char pX);
93 const EntityID& getMasterEntityID()
const;
94 void setMasterEntityID(
const EntityID &pX);
96 unsigned short getMasterCommunicationsDeviceID()
const;
97 void setMasterCommunicationsDeviceID(
unsigned short pX);
99 unsigned int getIntercomParametersLength()
const;
101 std::vector<IntercomCommunicationsParameters>& getIntercomParameters();
102 const std::vector<IntercomCommunicationsParameters>& getIntercomParameters()
const;
103 void setIntercomParameters(
const std::vector<IntercomCommunicationsParameters>& pX);
106 virtual int getMarshalledSize()
const;
unsigned char _command
detailed type requested.
Definition: IntercomControlPdu.h:45
std::vector< IntercomCommunicationsParameters > _intercomParameters
^^^This is wrong–the length of the data field is variable.
Definition: IntercomControlPdu.h:57
unsigned char _transmitPriority
priority of this message relative to transmissons from other intercom devices
Definition: IntercomControlPdu.h:39
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
Definition: RadioCommunicationsFamilyPdu.h:17
unsigned int _intercomParametersLength
number of intercom parameters
Definition: IntercomControlPdu.h:54
unsigned char _sourceLineID
Line number to which the intercom control refers.
Definition: IntercomControlPdu.h:36
a class to support managing a network buffer.
Definition: DataStream.h:28
unsigned char _controlType
control type
Definition: IntercomControlPdu.h:24
unsigned char _sourceCommunicationsDeviceID
The specific intercom device being simulated within an entity.
Definition: IntercomControlPdu.h:33
unsigned char _transmitLineState
current transmit state of the line
Definition: IntercomControlPdu.h:42
Definition: EntityID.h:15
unsigned short _masterCommunicationsDeviceID
specific intercom device that has created this intercom channel
Definition: IntercomControlPdu.h:51
EntityID _masterEntityID
eid of the entity that has created this intercom channel.
Definition: IntercomControlPdu.h:48
unsigned char _communicationsChannelType
control type
Definition: IntercomControlPdu.h:27
Definition: IntercomControlPdu.h:20
EntityID _sourceEntityID
Source entity ID.
Definition: IntercomControlPdu.h:30