open-dis-cpp
Public Member Functions | Protected Attributes | List of all members
DIS::Munition Class Reference
Collaboration diagram for DIS::Munition:
Collaboration graph
[legend]

Public Member Functions

virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
EntityTypegetMunitionType ()
 
const EntityTypegetMunitionType () const
 
void setMunitionType (const EntityType &pX)
 
unsigned int getStation () const
 
void setStation (unsigned int pX)
 
unsigned short getQuantity () const
 
void setQuantity (unsigned short pX)
 
unsigned char getMunitionStatus () const
 
void setMunitionStatus (unsigned char pX)
 
unsigned char getPadding () const
 
void setPadding (unsigned char pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const Munition &rhs) const
 

Protected Attributes

EntityType _munitionType
 This field shall identify the entity type of the munition. More...
 
unsigned int _station
 the station or launcher to which the munition is assigned. More...
 
unsigned short _quantity
 the quantity remaining of this munition. More...
 
unsigned char _munitionStatus
 the status of the munition. More...
 
unsigned char _padding
 padding
 

Member Data Documentation

◆ _munitionStatus

unsigned char DIS::Munition::_munitionStatus
protected

the status of the munition.

It shall be represented by an 8-bit enumeration.

◆ _munitionType

EntityType DIS::Munition::_munitionType
protected

This field shall identify the entity type of the munition.

See section 6.2.30.

◆ _quantity

unsigned short DIS::Munition::_quantity
protected

the quantity remaining of this munition.

◆ _station

unsigned int DIS::Munition::_station
protected

the station or launcher to which the munition is assigned.

See Annex I


The documentation for this class was generated from the following files: