VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
DtInitStrategy Class Reference
+ 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)
 

Static Public Member Functions

static std::string theName ()
 
static DtGlobalObjectDesignator convertToVrlinkId (std::string id)
 
static DtLinkStrategycreate (DtManagedInterface *gl)
 

Protected Member Functions

void handleInitMsg (DtMessage *msg)
 
void handleSimTimeMsg (DtMessage *msg)
 
void handleDisableStrategyMsg (DtMessage *msg)
 
void handleEnableStrategyMsg (DtMessage *msg)
 

Protected Attributes

DtExerciseConnmyExConn
 
DtClockmyClock
 
DtMessageDelegatemyInitHandler
 
DtMessageDelegatemySimTimeHandler
 
DtMessageDelegatemyDisableStrategyHandler
 
DtMessageDelegatemyEnableStrategyHandler
 
std::list< std::string > myInitChildren
 

Static Protected Attributes

static std::string theStrategyName
 

Constructor & Destructor Documentation

DtInitStrategy::DtInitStrategy ( DtManagedInterface link)
virtual DtInitStrategy::~DtInitStrategy ( )
virtual

Member Function Documentation

virtual void DtInitStrategy::addInitChild ( std::string  name)
virtual
static DtGlobalObjectDesignator DtInitStrategy::convertToVrlinkId ( std::string  id)
static
static DtLinkStrategy* DtInitStrategy::create ( DtManagedInterface gl)
static
void DtInitStrategy::handleDisableStrategyMsg ( DtMessage msg)
protected
void DtInitStrategy::handleEnableStrategyMsg ( DtMessage msg)
protected
void DtInitStrategy::handleInitMsg ( DtMessage msg)
protected
void DtInitStrategy::handleSimTimeMsg ( DtMessage msg)
protected
virtual bool DtInitStrategy::init ( )
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 void DtInitStrategy::removeInitChild ( std::string  name)
virtual
virtual void DtInitStrategy::shutdown ( )
virtual

Shutdown the strategy and release any resources.

Reimplemented from DtLinkStrategy.

static std::string DtInitStrategy::theName ( )
static
virtual void DtInitStrategy::tick ( )
virtual

Tick the strategy to give it some CPU time.

Reimplemented from DtLinkStrategy.

Member Data Documentation

DtClock* DtInitStrategy::myClock
protected
DtMessageDelegate* DtInitStrategy::myDisableStrategyHandler
protected
DtMessageDelegate* DtInitStrategy::myEnableStrategyHandler
protected
DtExerciseConn* DtInitStrategy::myExConn
protected
std::list<std::string> DtInitStrategy::myInitChildren
protected
DtMessageDelegate* DtInitStrategy::myInitHandler
protected
DtMessageDelegate* DtInitStrategy::mySimTimeHandler
protected
std::string DtInitStrategy::theStrategyName
staticprotected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Aug 10 00:12:31 EDT 2021 from SVN revision 232765
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)