![]() |
VR-Link API Documentation for DIS
|
Inheritance diagram for DtEntityStateStrategy:
Collaboration diagram for DtEntityStateStrategy:Public Member Functions | |
| virtual | ~DtEntityStateStrategy () |
| 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 (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 DtLinkStrategy * | create (DtManagedInterface *gl) |
Protected Member Functions | |
| DtEntityStateStrategy (DtManagedInterface *link) | |
| void | handleCSharpEntityDiscovered (DtMessage *msg) |
| void | handleVrlEntityDiscovered (DtReflectedEntity *ent) |
| void | handleCSharpEntityState (DtMessage *msg) |
| void | handleVrlEntityState (DtReflectedEntity *ent) |
| void | handleCSharpEntityRemoved (DtMessage *msg) |
| void | handleVrlEntityRemoved (DtReflectedEntity *ent) |
| void | handleCSharpHeartbeatRate (DtMessage *msg) |
| void | handleCSharpThresholdRate (DtMessage *msg) |
| void | handleCSharpReflectedHeartbeatThreshold (DtMessage *msg) |
| void | handleCSharpReflectedSmoothingPeriod (DtMessage *msg) |
| void | handleEntitySubscriptionChange (DtMessage *msg) |
| EntityStateMessage | createStateMessage (DtReflectedEntity *ent) |
| bool | isEqual (EntityStateMessage &lhs, EntityStateMessage &rhs) |
Static Protected Member Functions | |
| static void | vrlEntityDiscovered (DtReflectedEntity *ent, void *usr) |
| static void | vrlEntityState (DtReflectedEntity *ent, void *usr) |
| static void | vrlEntityRemoved (DtReflectedEntity *ent, void *usr) |
Protected Attributes | |
| DtReflectedEntityList * | myRel |
| DtPublisherList < DtEntityPublisher > * | myPubs |
| DtReflectedEmitterSystemList * | myRml |
| DtPublisherList < DtEmitterSystemPublisher > * | myEmitterPubs |
| bool | myPublishInit |
| bool | myReflectInit |
| DtMessageDelegate * | myDiscoveredHandler |
| DtMessageDelegate * | myRemovedHandler |
| DtMessageDelegate * | myStateHandler |
| DtMessageDelegate * | myHeartbeatHandler |
| DtMessageDelegate * | myThresholdHandler |
| DtMessageDelegate * | myReflectedHeartbeatHandler |
| DtMessageDelegate * | myReflectedSmoothingHandler |
| 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 |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
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 | ( | ) |
|
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 |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |