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

Public Member Functions

virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
EntityIDgetRequestingEntityID ()
 
const EntityIDgetRequestingEntityID () const
 
void setRequestingEntityID (const EntityID &pX)
 
EntityIDgetServicingEntityID ()
 
const EntityIDgetServicingEntityID () const
 
void setServicingEntityID (const EntityID &pX)
 
unsigned char getServiceTypeRequested () const
 
void setServiceTypeRequested (unsigned char pX)
 
unsigned char getNumberOfSupplyTypes () const
 
short getServiceRequestPadding () const
 
void setServiceRequestPadding (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 ServiceRequestPdu &rhs) const
 
virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
EntityIDgetRequestingEntityID ()
 
const EntityIDgetRequestingEntityID () const
 
void setRequestingEntityID (const EntityID &pX)
 
EntityIDgetServicingEntityID ()
 
const EntityIDgetServicingEntityID () const
 
void setServicingEntityID (const EntityID &pX)
 
unsigned char getServiceTypeRequested () const
 
void setServiceTypeRequested (unsigned char pX)
 
unsigned char getNumberOfSupplyTypes () const
 
short getServiceRequestPadding () const
 
void setServiceRequestPadding (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 ServiceRequestPdu &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 _requestingEntityID
 Entity that is requesting service. More...
 
EntityID _servicingEntityID
 Entity that is providing the service. More...
 
unsigned char _serviceTypeRequested
 type of service requested More...
 
unsigned char _numberOfSupplyTypes
 How many requested. More...
 
short _serviceRequestPadding
 padding
 
std::vector< SupplyQuantity_supplies
 
- 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::ServiceRequestPdu::_numberOfSupplyTypes
protected

How many requested.

How many requested, Section 7.4.2.

◆ _requestingEntityID

EntityID DIS::ServiceRequestPdu::_requestingEntityID
protected

Entity that is requesting service.

Entity that is requesting service (see 6.2.28), Section 7.4.2.

◆ _serviceTypeRequested

unsigned char DIS::ServiceRequestPdu::_serviceTypeRequested
protected

type of service requested

Type of service requested, Section 7.4.2.

◆ _servicingEntityID

EntityID DIS::ServiceRequestPdu::_servicingEntityID
protected

Entity that is providing the service.

Entity that is providing the service (see 6.2.28), Section 7.4.2.


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