![]() |
VR-Link API Documentation for HLA 1.3
|
Inheritance diagram for DtIffStrategy:
Collaboration diagram for DtIffStrategy:Public Member Functions | |
| virtual | ~DtIffStrategy () |
| std::string | name () |
| virtual bool | init () |
| Initialize the strategy. More... | |
| virtual void | tick () |
| Tick the strategy to give it some CPU time. More... | |
| virtual void | shutdown () |
| Shutdown the strategy and release any resources. More... | |
Public Member Functions inherited from DtLinkStrategy | |
| DtLinkStrategy (const std::string &name, DtManagedInterface *link) | |
| constructor takes name More... | |
| virtual | ~DtLinkStrategy () |
| destructor More... | |
| std::string | name () |
| Get the name of the strategy. More... | |
| 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. More... | |
| virtual bool | removeChildStrategy (const std::string &name) |
| virtual DtLinkStrategy * | findStrategy (const std::string &name) |
| virtual std::string & | makeEmbeddedKey (std::string &embeddedKey, const std::string &hostGlobalId, unsigned embeddedIndex, const char *descriptor=nullptr) |
| Combine the given host global/entity identifiers, embedded index, and optional descriptor to form the value of the given embedded key Return the embedded key. More... | |
Static Public Member Functions | |
| static std::string | theName () |
| static DtLinkStrategy * | create (DtManagedInterface *gl) |
Protected Member Functions | |
| DtIffStrategy (DtManagedInterface *link) | |
| void | handleCSharpIffDiscovered (DtMessage *msg) |
| void | handleVrlIffDiscovered (DtReflectedIff *iff) |
| void | handleCSharpIffState (DtMessage *msg) |
| void | handleVrlIffState (DtReflectedIff *iff) |
| void | handleCSharpIffRemoved (DtMessage *msg) |
| void | handleVrlIffRemoved (DtReflectedIff *iff) |
Static Protected Member Functions | |
| static void | vrlIffDiscovered (DtReflectedIff *iff, void *usr) |
| static void | vrlIffState (DtReflectedIff *iff, void *usr) |
| static void | vrlIffRemoved (DtReflectedIff *iff, void *usr) |
Protected Attributes | |
| DtReflectedIffList * | myReflectedIffs |
| DtPublisherList< DtIffPublisher > * | myIffPubs |
| const char * | myIdTag = "iff" |
| DtExerciseConn * | myExconn |
| DtMessageDelegate * | myIffDiscoveredHandler |
| DtMessageDelegate * | myIffStateHandler |
| DtMessageDelegate * | myIffRemovedHandler |
Protected Attributes inherited from DtLinkStrategy | |
| DtManagedInterface * | myManagedInterface |
| std::string | myName |
| std::string | myEmbeddedKey |
| bool | myInitalized |
| std::list< DtLinkStrategy * > | myChildStrategies |
Static Protected Attributes | |
| static std::string | theStrategyName |
|
virtual |
|
protected |
|
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 DtIffStrategy::name | ( | ) |
|
virtual |
Shutdown the strategy and release any resources.
Reimplemented from DtLinkStrategy.
|
static |
|
virtual |
Tick the strategy to give it some CPU time.
Reimplemented from DtLinkStrategy.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |