![]() |
VR-Link API Documentation for HLA Evolved
|
Inheritance diagram for DtInitStrategy:
Collaboration diagram for DtInitStrategy:Public Member Functions | |
| DtInitStrategy (DtManagedInterface *link) | |
| virtual | ~DtInitStrategy () |
| 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... | |
| virtual void | addInitChild (std::string name) |
| virtual void | removeInitChild (std::string name) |
Public Member Functions inherited from DtLinkStrategy | |
| DtLinkStrategy (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 (std::string name) |
| virtual DtLinkStrategy * | findStrategy (std::string name) |
Static Public Member Functions | |
| static std::string | theName () |
| static DtGlobalObjectDesignator | convertToVrlinkId (std::string id) |
| static DtLinkStrategy * | create (DtManagedInterface *gl) |
Protected Member Functions | |
| void | handleInitMsg (DtMessage *msg) |
| void | handleSimTimeMsg (DtMessage *msg) |
| void | handleDisableStrategyMsg (DtMessage *msg) |
| void | handleEnableStrategyMsg (DtMessage *msg) |
Protected Attributes | |
| DtExerciseConn * | myExConn |
| DtClock * | myClock |
| DtMessageDelegate * | myInitHandler |
| DtMessageDelegate * | mySimTimeHandler |
| DtMessageDelegate * | myDisableStrategyHandler |
| DtMessageDelegate * | myEnableStrategyHandler |
| std::list< std::string > | myInitChildren |
Protected Attributes inherited from DtLinkStrategy | |
| DtManagedInterface * | myManagedInterface |
| std::string | myName |
| bool | myInitalized |
| std::list< DtLinkStrategy * > | myChildStrategies |
Static Protected Attributes | |
| static std::string | theStrategyName |
| DtInitStrategy::DtInitStrategy | ( | DtManagedInterface * | link | ) |
|
virtual |
|
virtual |
|
static |
|
static |
|
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.
|
virtual |
|
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.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |