3 #include <dis7/EntityID.h> 4 #include <dis7/DirectedEnergyDamage.h> 6 #include <dis7/WarfareFamilyPdu.h> 7 #include <dis7/utils/DataStream.h> 8 #include <dis7/opendis7_export.h> 42 virtual void marshal(
DataStream& dataStream)
const;
43 virtual void unmarshal(
DataStream& dataStream);
46 const EntityID& getDamagedEntityID()
const;
47 void setDamagedEntityID(
const EntityID &pX);
49 unsigned short getPadding1()
const;
50 void setPadding1(
unsigned short pX);
52 unsigned short getPadding2()
const;
53 void setPadding2(
unsigned short pX);
55 unsigned short getNumberOfDamageDescription()
const;
57 std::vector<DirectedEnergyDamage>& getDamageDescriptionRecords();
58 const std::vector<DirectedEnergyDamage>& getDamageDescriptionRecords()
const;
59 void setDamageDescriptionRecords(
const std::vector<DirectedEnergyDamage>& pX);
62 virtual int getMarshalledSize()
const;
EntityID _damagedEntityID
Field shall identify the damaged entity (see 6.2.28), Section 7.3.4 COMPLETE.
Definition: EntityDamageStatusPdu.h:23
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
a class to support managing a network buffer.
Definition: DataStream.h:28
std::vector< DirectedEnergyDamage > _damageDescriptionRecords
Fields shall contain one or more Damage Description records (see 6.2.17) and may contain other Standa...
Definition: EntityDamageStatusPdu.h:35
Definition: EntityDamageStatusPdu.h:19
unsigned short _numberOfDamageDescription
field shall specify the number of Damage Description records, Section 7.3.5
Definition: EntityDamageStatusPdu.h:32
Definition: WarfareFamilyPdu.h:18
Definition: EntityID.h:15
unsigned short _padding1
Padding.
Definition: EntityDamageStatusPdu.h:26
unsigned short _padding2
Padding.
Definition: EntityDamageStatusPdu.h:29