15 namespace MAKVrExchange
18 class DtPortalConnection;
48 DtU32 numSupplyTypes()
const;
49 void setNumSupplyTypes( DtU32 num );
51 float supplyQuantity(
const DtEntityType& supply );
54 int setNthSupply(
unsigned int supplyIndex,
const DtEntityType& supply,
55 float*
const quantity = 0 );
56 int nthSupply(
unsigned int supplyIndex, DtNetEntityType& requestedSupply,
57 float* quantity = 0 )
const;
63 virtual unsigned int netSize()
const;
64 virtual void writeSelfToBuffer(
void* buffer,
int bufferSize )
const;
65 virtual void readSelfFromBuffer(
const void* buffer,
int bufferSize );
67 virtual std::ostream& printDataToStream( std::ostream& str )
const;
DtU32 myNumSupplyTypes
Definition: pSupplyInteraction.h:71
#define DT_DLL_LIBPORTAL
Definition: include/portal/dllExport.h:20
#define DtDEC_ATTRIBUTE(T, N, n)
A Macro to define an attribute; as well as make an accessor and mutator for that attribute.
Definition: addAttribute.h:49
Contains the DtPortalInteraction class declaration.
DtPortalInteractions are a special type of DtPortalMessages which are used to transmit simulation dat...
Definition: pInteraction.h:21
DtNetEntityType myInvalidIndexSupplyValue
Definition: pSupplyInteraction.h:72
Portal Supply Interaction class.
Definition: pSupplyInteraction.h:22
DtPortalMessageKind
A List of message kinds distributed with the Portal.
Definition: pMessageKinds.h:23
Instances of DtVrxNetSupplyQuantity are exactly the same as DtNetSupplyQuantity instances.
Definition: vrxRecordSetList.h:27
DtVrxNetSupplyQuantity * mySupplys
Definition: pSupplyInteraction.h:73