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

Public Member Functions

virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
EntityIDgetReceivingEntityID ()
 
const EntityIDgetReceivingEntityID () const
 
void setReceivingEntityID (const EntityID &pX)
 
EntityIDgetSupplyingEntityID ()
 
const EntityIDgetSupplyingEntityID () const
 
void setSupplyingEntityID (const EntityID &pX)
 
unsigned char getNumberOfSupplyTypes () const
 
short getPadding1 () const
 
void setPadding1 (short pX)
 
char getPadding2 () const
 
void setPadding2 (char pX)
 
std::vector< SupplyQuantity > & getSupplies ()
 
const std::vector< SupplyQuantity > & getSupplies () const
 
void setSupplies (const std::vector< SupplyQuantity > &pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const ResupplyReceivedPdu &rhs) const
 
virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
EntityIDgetReceivingEntityID ()
 
const EntityIDgetReceivingEntityID () const
 
void setReceivingEntityID (const EntityID &pX)
 
EntityIDgetSupplyingEntityID ()
 
const EntityIDgetSupplyingEntityID () const
 
void setSupplyingEntityID (const EntityID &pX)
 
unsigned char getNumberOfSupplyTypes () const
 
short getPadding1 () const
 
void setPadding1 (short pX)
 
char getPadding2 () const
 
void setPadding2 (char pX)
 
std::vector< SupplyQuantity > & getSupplies ()
 
const std::vector< SupplyQuantity > & getSupplies () const
 
void setSupplies (const std::vector< SupplyQuantity > &pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const ResupplyReceivedPdu &rhs) const
 
- Public Member Functions inherited from DIS::LogisticsFamilyPdu
bool operator== (const LogisticsFamilyPdu &rhs) const
 
bool operator== (const LogisticsFamilyPdu &rhs) const
 
- Public Member Functions inherited from DIS::Pdu
unsigned char getProtocolVersion () const
 
void setProtocolVersion (unsigned char pX)
 
unsigned char getExerciseID () const
 
void setExerciseID (unsigned char pX)
 
unsigned char getPduType () const
 
void setPduType (unsigned char pX)
 
unsigned char getProtocolFamily () const
 
void setProtocolFamily (unsigned char pX)
 
unsigned int getTimestamp () const
 
void setTimestamp (unsigned int pX)
 
unsigned short getLength () const
 
void setLength (unsigned short pX)
 
short getPadding () const
 
void setPadding (short pX)
 
bool operator== (const Pdu &rhs) const
 
unsigned char getPduStatus () const
 
void setPduStatus (unsigned char pX)
 
unsigned char getPadding () const
 
void setPadding (unsigned char pX)
 
bool operator== (const Pdu &rhs) const
 
- Public Member Functions inherited from DIS::PduSuperclass
unsigned char getProtocolVersion () const
 
void setProtocolVersion (unsigned char pX)
 
unsigned char getExerciseID () const
 
void setExerciseID (unsigned char pX)
 
unsigned char getPduType () const
 
void setPduType (unsigned char pX)
 
unsigned char getProtocolFamily () const
 
void setProtocolFamily (unsigned char pX)
 
unsigned int getTimestamp () const
 
void setTimestamp (unsigned int pX)
 
unsigned short getLength () const
 
void setLength (unsigned short pX)
 
bool operator== (const PduSuperclass &rhs) const
 

Protected Attributes

EntityID _receivingEntityID
 Entity that is receiving service. More...
 
EntityID _supplyingEntityID
 Entity that is supplying. More...
 
unsigned char _numberOfSupplyTypes
 how many supplies are being offered More...
 
short _padding1
 padding
 
char _padding2
 padding
 
std::vector< SupplyQuantity_supplies
 Type and amount of supplies for each specified supply type. More...
 
- Protected Attributes inherited from DIS::Pdu
unsigned char _protocolVersion
 The version of the protocol. More...
 
unsigned char _exerciseID
 Exercise ID.
 
unsigned char _pduType
 Type of pdu, unique for each PDU class.
 
unsigned char _protocolFamily
 value that refers to the protocol family, eg SimulationManagement, et
 
unsigned int _timestamp
 Timestamp value.
 
unsigned short _length
 Length, in bytes, of the PDU.
 
short _padding
 zero-filled array of padding
 
unsigned char _pduStatus
 PDU Status Record. More...
 
unsigned char _padding
 zero-filled array of padding
 
- Protected Attributes inherited from DIS::PduSuperclass
unsigned char _protocolVersion
 The version of the protocol. More...
 
unsigned char _exerciseID
 Exercise ID.
 
unsigned char _pduType
 Type of pdu, unique for each PDU class.
 
unsigned char _protocolFamily
 value that refers to the protocol family, eg SimulationManagement, et
 
unsigned int _timestamp
 Timestamp value.
 
unsigned short _length
 Length, in bytes, of the PDU.
 

Member Data Documentation

◆ _numberOfSupplyTypes

unsigned char DIS::ResupplyReceivedPdu::_numberOfSupplyTypes
protected

how many supplies are being offered

How many supplies are taken by receiving entity.

◆ _receivingEntityID

EntityID DIS::ResupplyReceivedPdu::_receivingEntityID
protected

Entity that is receiving service.

Shall be represented by Entity Identifier record (see 6.2.28)

◆ _supplies

std::vector< SupplyQuantity > DIS::ResupplyReceivedPdu::_supplies
protected

Type and amount of supplies for each specified supply type.

See 6.2.85 for supply quantity record.

◆ _supplyingEntityID

EntityID DIS::ResupplyReceivedPdu::_supplyingEntityID
protected

Entity that is supplying.

Shall be represented by Entity Identifier record (see 6.2.28)


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