![]() |
VR-Link API Documentation for DIS
|
Inheritance diagram for DtEntityUpdateStrategy:
Collaboration diagram for DtEntityUpdateStrategy:Public Member Functions | |
| virtual | ~DtEntityUpdateStrategy () |
| 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 and release any resources. | |
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) |
Protected Member Functions | |
| void | handleEntitySubscriptionChange (DtMessage *msg) |
| DtEntityUpdateStrategy (DtManagedInterface *link) | |
Protected Attributes | |
| DtReflectedEntityList * | myRel |
| DtPublisherList < DtEntityPublisher > * | myPubs |
| DtMessageDelegate * | mySubscriptionChangeHandler |
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 |
|
static |
|
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 DtEntityUpdateStrategy::name | ( | ) |
Get the name of the strategy.
Reimplemented from DtLinkStrategy.
|
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 |
|
staticprotected |