![]() |
VR-Link API Documentation for HLA 1.3
|
Inheritance diagram for DtUniversalHlaObjStrategy:
Collaboration diagram for DtUniversalHlaObjStrategy:Public Member Functions | |
| virtual | ~DtUniversalHlaObjStrategy () |
| std::string | name () |
| Get the name of the strategy. | |
| virtual bool | init () |
| Initialize the strategy. | |
| virtual void | tick () |
| Tick the strategy to give it some CPU time. | |
| virtual void | shutdown () |
| Shutdown the strategy. | |
Public Member Functions inherited from DtSubscribeStrategy | |
| DtSubscribeStrategy (std::string name, DtManagedInterface *link, std::string subscribeClassName, SubscribeMessage::SubscribeType subscribeType) | |
| constructor takes name | |
| virtual | ~DtSubscribeStrategy () |
| destructor | |
| void | handleSubscriptionChange (DtMessage *msg) |
Public Member Functions inherited from DtLinkStrategy | |
| DtLinkStrategy (std::string name, DtManagedInterface *link) | |
| constructor takes name | |
| virtual | ~DtLinkStrategy () |
| destructor | |
| virtual void | addChildStrategy (DtLinkStrategy *strategy) |
| Functions for adding, removing or finding any child strategies This is typically used for the initialization strategy that "owns" all the other strategies. | |
| virtual bool | removeChildStrategy (std::string name) |
| virtual DtLinkStrategy * | findStrategy (std::string name) |
Static Public Member Functions | |
| static std::string | theName () |
| static DtLinkStrategy * | create (DtManagedInterface *gl, const std::string &className) |
Protected Member Functions | |
| DtUniversalHlaObjStrategy (DtManagedInterface *link, const std::string &className) | |
| void | handleCSharpHlaObjDiscovered (DtMessage *msg) |
| void | handleVrlHlaObjDiscovered (DtReflectedGenericObject *tx) |
| void | handleCSharpHlaObjRemoved (DtMessage *msg) |
| void | handleVrlHlaObjRemoved (DtReflectedGenericObject *tx) |
| void | handleCSharpHlaObjState (DtMessage *msg) |
| void | handleVrlHlaObjState (DtReflectedGenericObject *obj) |
| virtual void | addVrlCallback (DtExerciseConn *exConn) |
| Add/Remove VR-Link C++ Interaction Callback. | |
| virtual void | removeVrlCallback (DtExerciseConn *exConn) |
Static Protected Member Functions | |
| static void | vrlHlaObjDiscovered (DtReflectedGenericObject *tx, void *usr) |
| static void | vrlHlaObjRemoved (DtReflectedGenericObject *tx, void *usr) |
| static void | vrlHlaObjState (DtReflectedGenericObject *obj, void *usr) |
Protected Attributes | |
| DtExerciseConn * | myExconn |
| std::string | myClassName |
| RTI::ObjectClassHandle | myClassHandle |
| std::map< std::string, RTI::AttributeHandle > | myHandleByName |
| std::map< RTI::AttributeHandle, std::string > | myNameByHandle |
| DtMessageDelegate * | myHlaObjDiscoveredHandler |
| DtMessageDelegate * | myHlaObjRemovedHandler |
| DtMessageDelegate * | myHlaObjStateHandler |
| DtPublisherList < DtObjectPublisher > | myPubs |
| std::set< std::string > | myReflectedObjs |
| DtReflectedGenericObjectList * | myRol |
Protected Attributes inherited from DtSubscribeStrategy | |
| DtMessageDelegate * | mySubscriptionChangeHandler |
| bool | mySubscribed |
| std::string | myClassName |
| SubscribeMessage::SubscribeType | mySubscriptionType |
Protected Attributes inherited from DtLinkStrategy | |
| DtManagedInterface * | myManagedInterface |
| std::string | myName |
| bool | myInitalized |
| std::list< DtLinkStrategy * > | myChildStrategies |
Static Protected Attributes | |
| static std::string | theStrategyName |
|
virtual |
|
protected |
|
protectedvirtual |
Add/Remove VR-Link C++ Interaction Callback.
Implements DtSubscribeStrategy.
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
virtual |
Initialize the strategy.
This function will be called multiple times to allow for dependent strategies to startup properly This function should return false if the strategy cannot get a resource it needs due to a dependency not being initialized yet.
Implements DtLinkStrategy.
| std::string DtUniversalHlaObjStrategy::name | ( | ) |
Get the name of the strategy.
Reimplemented from DtLinkStrategy.
|
protectedvirtual |
Implements DtSubscribeStrategy.
|
virtual |
Shutdown the strategy.
Reimplemented from DtSubscribeStrategy.
|
static |
|
virtual |
Tick the strategy to give it some CPU time.
Reimplemented from DtLinkStrategy.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |