3 #include <dis7/EntityType.h> 4 #include <dis7/utils/DataStream.h> 5 #include <dis7/opendis7_export.h> 39 virtual void marshal(
DataStream& dataStream)
const;
40 virtual void unmarshal(
DataStream& dataStream);
46 unsigned int getStation()
const;
47 void setStation(
unsigned int pX);
49 unsigned short getQuantity()
const;
50 void setQuantity(
unsigned short pX);
52 unsigned char getMunitionStatus()
const;
53 void setMunitionStatus(
unsigned char pX);
55 unsigned char getPadding()
const;
56 void setPadding(
unsigned char pX);
59 virtual int getMarshalledSize()
const;
61 bool operator ==(
const Munition& rhs)
const;
unsigned char _munitionStatus
the status of the munition.
Definition: Munition.h:29
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
Definition: Munition.h:16
a class to support managing a network buffer.
Definition: DataStream.h:28
unsigned int _station
the station or launcher to which the munition is assigned.
Definition: Munition.h:23
unsigned char _padding
padding
Definition: Munition.h:32
Definition: EntityType.h:15
unsigned short _quantity
the quantity remaining of this munition.
Definition: Munition.h:26
EntityType _munitionType
This field shall identify the entity type of the munition.
Definition: Munition.h:20