3 #include <dis6/EntityID.h> 4 #include <dis6/EventID.h> 5 #include <dis6/ElectromagneticEmissionSystemData.h> 7 #include <dis6/DistributedEmissionsFamilyPdu.h> 8 #include <dis6/utils/DataStream.h> 9 #include <dis6/opendis6_export.h> 39 std::vector<ElectromagneticEmissionSystemData>
_systems;
46 virtual void marshal(
DataStream& dataStream)
const;
47 virtual void unmarshal(
DataStream& dataStream);
50 const EntityID& getEmittingEntityID()
const;
51 void setEmittingEntityID(
const EntityID &pX);
54 const EventID& getEventID()
const;
55 void setEventID(
const EventID &pX);
57 unsigned char getStateUpdateIndicator()
const;
58 void setStateUpdateIndicator(
unsigned char pX);
60 unsigned char getNumberOfSystems()
const;
62 unsigned short getPaddingForEmissionsPdu()
const;
63 void setPaddingForEmissionsPdu(
unsigned short pX);
65 std::vector<ElectromagneticEmissionSystemData>& getSystems();
66 const std::vector<ElectromagneticEmissionSystemData>& getSystems()
const;
67 void setSystems(
const std::vector<ElectromagneticEmissionSystemData>& pX);
70 virtual int getMarshalledSize()
const;
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
unsigned char _stateUpdateIndicator
This field shall be used to indicate if the data in the PDU represents a state update or just data th...
Definition: ElectromagneticEmissionsPdu.h:30
unsigned short _paddingForEmissionsPdu
padding
Definition: ElectromagneticEmissionsPdu.h:36
EntityID _emittingEntityID
ID of the entity emitting.
Definition: ElectromagneticEmissionsPdu.h:24
a class to support managing a network buffer.
Definition: DataStream.h:28
EventID _eventID
ID of event.
Definition: ElectromagneticEmissionsPdu.h:27
unsigned char _numberOfSystems
This field shall specify the number of emission systems being described in the current PDU...
Definition: ElectromagneticEmissionsPdu.h:33
Definition: EntityID.h:15
Definition: ElectromagneticEmissionsPdu.h:20
Definition: DistributedEmissionsFamilyPdu.h:16
std::vector< ElectromagneticEmissionSystemData > _systems
Electromagnetic emmissions systems.
Definition: ElectromagneticEmissionsPdu.h:39