28 class DtUnversalHlaPublisher;
33 virtual ~DtUniversalHlaObjStrategy();
36 static std::string theName();
46 static std::string theStrategyName;
48 void handleCSharpHlaObjDiscovered(
DtMessage* msg);
49 static void vrlHlaObjDiscovered(DtReflectedGenericObject* tx,
void* usr);
50 void handleVrlHlaObjDiscovered(DtReflectedGenericObject* tx);
52 void handleCSharpHlaObjRemoved(
DtMessage* msg);
53 static void vrlHlaObjRemoved(DtReflectedGenericObject* tx,
void* usr);
54 void handleVrlHlaObjRemoved(DtReflectedGenericObject* tx);
56 void handleCSharpHlaObjState(
DtMessage* msg);
57 static void vrlHlaObjState(DtReflectedGenericObject* obj,
void* usr);
58 void handleVrlHlaObjState(DtReflectedGenericObject* obj);
67 RTI::ObjectClassHandle myClassHandle;
68 std::map<std::string, RTI::AttributeHandle> myHandleByName;
69 std::map<RTI::AttributeHandle, std::string> myNameByHandle;
76 std::set<std::string> myReflectedObjs;
77 DtReflectedGenericObjectList* myRol;
std::string name()
Get the name of the strategy.
virtual void addVrlCallback(DtExerciseConn *exConn)=0
Add/Remove VR-Link C++ Interaction Callback.
Defines a single parameter delegate to make binding member function pointers easier.
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
This is the DtLinkStrategy class. It is the abstract base class for all derived strategies.
Definition: linkStrategy.h:24
#define MANAGEDINTERFACE_MODULE_DLL
Definition: export.h:39
This is the DtMessage class.
Definition: message.h:20
The DtManagedInterface Class is a singleton that is used to manage the message flow between C# and th...
Definition: managedInterface.h:50
virtual void tick()
Tick the strategy to give it some CPU time.
Defines the DtPublisherList template. The parameter is the VR-Link Publisher object class type...
Definition: publisherList.h:18
This is the DtSubscribeStrategy class. It is the abstract base class for all derived interaction subs...
Definition: subscribeStrategy.h:27
std::string myClassName
Definition: subscribeStrategy.h:48
virtual void shutdown()
Shutdown the strategy.
Defines the base class for all strategies.
Defines a template for maintaining a list of VR-Link Publisher objects.
virtual void removeVrlCallback(DtExerciseConn *exConn)=0
Delegate template for binding static or member functions for callback at later time The return type a...
Definition: delegate.h:69
virtual bool init()=0
Initialize the strategy.