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

Public Member Functions

virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
EntityTypegetSupplyType ()
 
const EntityTypegetSupplyType () const
 
void setSupplyType (const EntityType &pX)
 
unsigned char getQuantity () const
 
void setQuantity (unsigned char pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const SupplyQuantity &rhs) const
 
virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
EntityTypegetSupplyType ()
 
const EntityTypegetSupplyType () const
 
void setSupplyType (const EntityType &pX)
 
float getQuantity () const
 
void setQuantity (float pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const SupplyQuantity &rhs) const
 

Protected Attributes

EntityType _supplyType
 Type of supply.
 
unsigned char _quantity
 quantity to be supplied
 
float _quantity
 the number of units of a supply type. More...
 

Member Data Documentation

◆ _quantity

float DIS::SupplyQuantity::_quantity
protected

the number of units of a supply type.


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