![]() |
VR-Link API Documentation for HLA 1.3
|
Inheritance diagram for DtEntityStateStrategy:
Collaboration diagram for DtEntityStateStrategy:Classes | |
| struct | SeenState |
Public Member Functions | |
| virtual | ~DtEntityStateStrategy () |
| 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 | |
| DtEntityStateStrategy (DtManagedInterface *link) | |
| void | handleCSharpEntityState (DtMessage *msg) |
| void | handleCSharpHeartbeatRate (DtMessage *msg) |
| void | handleCSharpThresholdRate (DtMessage *msg) |
| void | handleCSharpReflectedHeartbeatThreshold (DtMessage *msg) |
| void | handleCSharpReflectedSmoothingPeriod (DtMessage *msg) |
| EntityStateMessage | createStateMessage (DtReflectedEntity *ent) |
| bool | isEqual (EntityStateMessage &lhs, EntityStateMessage &rhs) |
Protected Attributes | |
| DtReflectedEntityList * | myRel |
| DtPublisherList < DtEntityPublisher > * | myPubs |
| std::map< std::string, SeenState > | myLastState |
| DtMessageDelegate * | myStateHandler |
| DtMessageDelegate * | myHeartbeatHandler |
| DtMessageDelegate * | myThresholdHandler |
| DtMessageDelegate * | myReflectedHeartbeatHandler |
| DtMessageDelegate * | myReflectedSmoothingHandler |
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 |
|
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.
|
protected |
| std::string DtEntityStateStrategy::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 |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |