3 #include <dis6/EntityID.h> 4 #include <dis6/EventID.h> 5 #include <dis6/ShaftRPMs.h> 6 #include <dis6/ApaData.h> 7 #include <dis6/AcousticEmitterSystemData.h> 9 #include <dis6/DistributedEmissionsFamilyPdu.h> 10 #include <dis6/utils/DataStream.h> 11 #include <dis6/opendis6_export.h> 58 std::vector<AcousticEmitterSystemData> _emitterSystems;
65 virtual void marshal(
DataStream& dataStream)
const;
66 virtual void unmarshal(
DataStream& dataStream);
69 const EntityID& getEmittingEntityID()
const;
70 void setEmittingEntityID(
const EntityID &pX);
73 const EventID& getEventID()
const;
74 void setEventID(
const EventID &pX);
76 char getStateChangeIndicator()
const;
77 void setStateChangeIndicator(
char pX);
82 unsigned short getPassiveParameterIndex()
const;
83 void setPassiveParameterIndex(
unsigned short pX);
85 unsigned char getPropulsionPlantConfiguration()
const;
86 void setPropulsionPlantConfiguration(
unsigned char pX);
88 unsigned char getNumberOfShafts()
const;
90 unsigned char getNumberOfAPAs()
const;
92 unsigned char getNumberOfUAEmitterSystems()
const;
94 std::vector<ShaftRPMs>& getShaftRPMs();
95 const std::vector<ShaftRPMs>& getShaftRPMs()
const;
96 void setShaftRPMs(
const std::vector<ShaftRPMs>& pX);
98 std::vector<ApaData>& getApaData();
99 const std::vector<ApaData>& getApaData()
const;
100 void setApaData(
const std::vector<ApaData>& pX);
102 std::vector<AcousticEmitterSystemData>& getEmitterSystems();
103 const std::vector<AcousticEmitterSystemData>& getEmitterSystems()
const;
104 void setEmitterSystems(
const std::vector<AcousticEmitterSystemData>& pX);
107 virtual int getMarshalledSize()
const;
109 bool operator ==(
const UaPdu& rhs)
const;
unsigned short _passiveParameterIndex
This field indicates which database record (or file) shall be used in the definition of passive signa...
Definition: UaPdu.h:38
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
unsigned char _propulsionPlantConfiguration
This field shall specify the entity propulsion plant configuration.
Definition: UaPdu.h:41
char _pad
padding
Definition: UaPdu.h:35
EventID _eventID
ID of event.
Definition: UaPdu.h:29
a class to support managing a network buffer.
Definition: DataStream.h:28
unsigned char _numberOfAPAs
This field shall indicate the number of APAs described in the current UA PDU.
Definition: UaPdu.h:47
std::vector< ApaData > _apaData
apaData
Definition: UaPdu.h:56
EntityID _emittingEntityID
ID of the entity that is the source of the emission.
Definition: UaPdu.h:26
Definition: EntityID.h:15
std::vector< ShaftRPMs > _shaftRPMs
shaft RPM values
Definition: UaPdu.h:53
unsigned char _numberOfShafts
This field shall represent the number of shafts on a platform.
Definition: UaPdu.h:44
char _stateChangeIndicator
This field shall be used to indicate whether the data in the UA PDU represent a state update or data ...
Definition: UaPdu.h:32
unsigned char _numberOfUAEmitterSystems
This field shall specify the number of UA emitter systems being described in the current UA PDU...
Definition: UaPdu.h:50
Definition: DistributedEmissionsFamilyPdu.h:16