open-dis-cpp
Public Member Functions | Protected Attributes | List of all members
DIS::ResupplyOfferPdu Class Reference
Inheritance diagram for DIS::ResupplyOfferPdu:
Inheritance graph
[legend]
Collaboration diagram for DIS::ResupplyOfferPdu:
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 ResupplyOfferPdu &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
 
char getPadding1 () const
 
void setPadding1 (char pX)
 
short getPadding2 () const
 
void setPadding2 (short 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 ResupplyOfferPdu &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
 A Reord that Specifies the type of supply and the amount of that supply for each of the supply types in numberOfSupplyTypes (see 6.2.85), Section 7.4.3.
 
char _padding1
 padding
 
short _padding2
 padding
 
- 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::ResupplyOfferPdu::_numberOfSupplyTypes
protected

how many supplies are being offered

How many supplies types are being offered, Section 7.4.3.

◆ _receivingEntityID

EntityID DIS::ResupplyOfferPdu::_receivingEntityID
protected

Entity that is receiving service.

Field identifies the Entity and respective Entity Record ID that is receiving service (see 6.2.28), Section 7.4.3.

◆ _supplyingEntityID

EntityID DIS::ResupplyOfferPdu::_supplyingEntityID
protected

Entity that is supplying.

Identifies the Entity and respective Entity ID Record that is supplying (see 6.2.28), Section 7.4.3.


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