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> 45 virtual void marshal(
DataStream& dataStream)
const;
46 virtual void unmarshal(
DataStream& dataStream);
49 const EntityID& getReceivingEntityID()
const;
50 void setReceivingEntityID(
const EntityID &pX);
53 const EntityID& getSupplyingEntityID()
const;
54 void setSupplyingEntityID(
const EntityID &pX);
56 unsigned char getNumberOfSupplyTypes()
const;
58 short getPadding1()
const;
59 void setPadding1(
short pX);
61 char getPadding2()
const;
62 void setPadding2(
char 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;
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
std::vector< SupplyQuantity > _supplies
A Reord that Specifies the type of supply and the amount of that supply for each of the supply types ...
Definition: ResupplyOfferPdu.h:38
a class to support managing a network buffer.
Definition: DataStream.h:28
char _padding2
padding
Definition: ResupplyOfferPdu.h:36
Definition: LogisticsFamilyPdu.h:16
EntityID _receivingEntityID
Entity that is receiving service.
Definition: ResupplyOfferPdu.h:24
Definition: EntityID.h:15
short _padding1
padding
Definition: ResupplyOfferPdu.h:33
EntityID _supplyingEntityID
Entity that is supplying.
Definition: ResupplyOfferPdu.h:27
unsigned char _numberOfSupplyTypes
how many supplies are being offered
Definition: ResupplyOfferPdu.h:30
Definition: ResupplyOfferPdu.h:20