10 #ifndef DtReflectedEntityList_H_
11 #define DtReflectedEntityList_H_
38 bool smoothCapable =
false,
bool processDiGuyData =
false,
int numBucketsPrimeNumber = 503);
54 virtual void addEntityAdditionCallback(
56 virtual void removeEntityAdditionCallback(
60 virtual void addEntityRemovalCallback(
62 virtual void removeEntityRemovalCallback(
73 virtual void processRelativeLocationPdu(
const DtRelativeLocationPdu& pdu);
76 virtual void processEntityStateUpdatePdu(
77 const DtEntityStateUpdatePdu& pdu);
81 virtual void processDiGuyPdu(
82 const DtDIGuyCustomPdu& pdu);
85 virtual void processSeesPdu(
86 const DtSuppEmisEntStatePdu& pdu);
92 virtual void setProcessDiGuyPdus(
bool enableProcessing);
95 virtual bool processingDiGuyPdus()
const;
96 virtual void setProcessDiGuyData(
bool enableProcessing);
97 virtual bool processingDiGuyData()
const;
105 virtual void discoverOnlyWhenEntityTypeKnown(
bool yesNo);
136 hashKeyFromStateMessage(
const DtStateMsg* msg);
149 static void entityStateCb(DtEntityStatePdu* pdu,
void* usr);
152 static void relativeLocationCb( DtRelativeLocationPdu* pdu,
void* usr );
155 static void entityStateUpdateCb( DtEntityStateUpdatePdu* pdu,
void* usr );
158 static void diGuyPduCb(DtDIGuyCustomPdu* pdu,
void* usr);
161 static void seesPduCb(DtSuppEmisEntStatePdu* pdu,
void* usr);
169 bool mySmoothCapable;
171 bool myProcessingDiGuyData;
Instances of DtReflectedEntity are used to represent a simulation entity reflected across a network (...
Definition: reflectedEntityHLA.h:29
Instances of DtEntityIdentifierHashKey are hash keys made from DtEntityIdentifiers.
Definition: entityIdentifierHashKey.h:21
class DtReflectedObjectList
Definition: reflectedObjectListHLA.h:58
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtBaseHashKey is an abstract base class for hash keys.
Definition: vlHashKeys.h:39
void(* DtEntityCallbackFunction)(DtReflectedEntity *obj, void *userData)
Callback function that takes a DtReflectedObject and user data.
Definition: reflectedEntityHLA.h:23
DtReflectedObjectList & operator=(const DtReflectedObjectList &orig)
assignment operator – not implemented
virtual void addToObjectList(DtReflectedObject *refObj)
Add refObj to myObjectList and initiates discovery callbacks.
class DtReflectedObject:
Definition: reflectedObjectHLA.h:36
Instances of DtReflectedEntityList are used to manage remote entities from the network.
Definition: reflectedEntityListHLA.h:38
Instances of DtEntityIdentifier are used as a unique ID for entities in DIS.
Definition: entityIdentifier.h:31
virtual void objectAdded(DtReflectedObject *object)
Called from processDiscoverObject() after a remote object has been added to the list.
DtObjectId instances are used to represent RTI::ObjectInstances in VR-Link.
Definition: objectId.h:38
class DtStateMsg:
Definition: stateMsgHLA.h:32
DtEntityType is used to represent the type an entity object.
Definition: entityType.h:26
virtual void print()
Print the SRs of all objects.