10 #ifndef DtReflectedEntityList_H_
11 #define DtReflectedEntityList_H_
38 bool smoothCapable =
false,
bool processDiGuyData =
false,
int numBucketsPrimeNumber = 503);
64 virtual void addEntityAdditionCallback(
66 virtual void removeEntityAdditionCallback(
70 virtual void addEntityRemovalCallback(
72 virtual void removeEntityRemovalCallback(
83 virtual void processRelativeLocationPdu(
const DtRelativeLocationPdu& pdu);
86 virtual void processEntityStateUpdatePdu(
87 const DtEntityStateUpdatePdu& pdu);
91 virtual void processDiGuyPdu(
92 const DtDIGuyCustomPdu& pdu);
95 virtual void processSeesPdu(
96 const DtSuppEmisEntStatePdu& pdu);
102 virtual void setProcessDiGuyPdus(
bool enableProcessing);
105 virtual bool processingDiGuyPdus()
const;
106 virtual void setProcessDiGuyData(
bool enableProcessing);
107 virtual bool processingDiGuyData()
const;
115 virtual void discoverOnlyWhenEntityTypeKnown(
bool yesNo);
146 hashKeyFromStateMessage(
const DtStateMsg* msg);
163 static void entityStateCb(DtEntityStatePdu* pdu,
void* usr);
166 static void relativeLocationCb( DtRelativeLocationPdu* pdu,
void* usr );
169 static void entityStateUpdateCb( DtEntityStateUpdatePdu* pdu,
void* usr );
172 static void diGuyPduCb(DtDIGuyCustomPdu* pdu,
void* usr);
175 static void seesPduCb(DtSuppEmisEntStatePdu* pdu,
void* usr);
183 bool mySmoothCapable;
185 bool myProcessingDiGuyData;
188 std::map<DtVrlUuid, DtReflectedEntity*> myUuidToEntityMap;
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:62
#define DT_DLL_VL
Definition: vlMachineTypes.h:120
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
virtual void removeAndDelete(DtReflectedObject *obj, const char *msg=nullptr)
Remove the remote object from the list if found and delete it.
Instances of DtEntityIdentifier are used as a unique ID for entities in DIS.
Definition: entityIdentifier.h:31
A Universally Unique Identifier DtVrlUuid stores a 16byte encoded UUID string.
Definition: vlUuid.h:28
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.