3 #include <dis6/EntityID.h> 4 #include <dis6/EntityID.h> 5 #include <dis6/SupplyQuantity.h> 7 #include <dis6/LogisticsFamilyPdu.h> 8 #include <dis6/utils/DataStream.h> 9 #include <dis6/opendis6_export.h> 38 std::vector<SupplyQuantity> _supplies;
45 virtual void marshal(
DataStream& dataStream)
const;
46 virtual void unmarshal(
DataStream& dataStream);
49 const EntityID& getRequestingEntityID()
const;
50 void setRequestingEntityID(
const EntityID &pX);
53 const EntityID& getServicingEntityID()
const;
54 void setServicingEntityID(
const EntityID &pX);
56 unsigned char getServiceTypeRequested()
const;
57 void setServiceTypeRequested(
unsigned char pX);
59 unsigned char getNumberOfSupplyTypes()
const;
61 short getServiceRequestPadding()
const;
62 void setServiceRequestPadding(
short pX);
64 std::vector<SupplyQuantity>& getSupplies();
65 const std::vector<SupplyQuantity>& getSupplies()
const;
66 void setSupplies(
const std::vector<SupplyQuantity>& pX);
69 virtual int getMarshalledSize()
const;
Definition: ServiceRequestPdu.h:20
short _serviceRequestPadding
padding
Definition: ServiceRequestPdu.h:36
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
unsigned char _serviceTypeRequested
type of service requested
Definition: ServiceRequestPdu.h:30
a class to support managing a network buffer.
Definition: DataStream.h:28
Definition: LogisticsFamilyPdu.h:16
Definition: EntityID.h:15
EntityID _requestingEntityID
Entity that is requesting service.
Definition: ServiceRequestPdu.h:24
unsigned char _numberOfSupplyTypes
How many requested.
Definition: ServiceRequestPdu.h:33
EntityID _servicingEntityID
Entity that is providing the service.
Definition: ServiceRequestPdu.h:27