This is the DtLinkStrategy class. It is the abstract base class for all derived strategies.
More...
Detailed Description
This is the DtLinkStrategy class. It is the abstract base class for all derived strategies.
Constructor & Destructor Documentation
| virtual DtLinkStrategy::~DtLinkStrategy |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void DtLinkStrategy::addChildStrategy |
( |
DtLinkStrategy * |
strategy | ) |
|
|
virtual |
Functions for adding, removing or finding any child strategies This is typically used for the initialization strategy that "owns" all the other strategies.
| virtual DtLinkStrategy* DtLinkStrategy::findStrategy |
( |
std::string |
name | ) |
|
|
virtual |
| virtual bool DtLinkStrategy::init |
( |
| ) |
|
|
pure 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.
| std::string DtLinkStrategy::name |
( |
| ) |
|
Get the name of the strategy.
| virtual bool DtLinkStrategy::removeChildStrategy |
( |
std::string |
name | ) |
|
|
virtual |
| virtual void DtLinkStrategy::shutdown |
( |
| ) |
|
|
virtual |
Shutdown the strategy and release any resources.
| virtual void DtLinkStrategy::tick |
( |
| ) |
|
|
virtual |
Tick the strategy to give it some CPU time.
Member Data Documentation
| bool DtLinkStrategy::myInitalized |
|
protected |
| std::string DtLinkStrategy::myName |
|
protected |
The documentation for this class was generated from the following file: