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;
EntityID _receivingEntityID
Entity that is receiving service.
Definition: ResupplyReceivedPdu.h:24
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
a class to support managing a network buffer.
Definition: DataStream.h:28
unsigned char _numberOfSupplyTypes
how many supplies are being offered
Definition: ResupplyReceivedPdu.h:30
Definition: LogisticsFamilyPdu.h:16
char _padding2
padding
Definition: ResupplyReceivedPdu.h:36
Definition: EntityID.h:15
Definition: ResupplyReceivedPdu.h:20
short _padding1
padding
Definition: ResupplyReceivedPdu.h:33
std::vector< SupplyQuantity > _supplies
Type and amount of supplies for each specified supply type.
Definition: ResupplyReceivedPdu.h:38
EntityID _supplyingEntityID
Entity that is supplying.
Definition: ResupplyReceivedPdu.h:27