VR-Link API Documentation for DIS
 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 | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
DtEntityDiscoveredStrategy Class Reference
+ Inheritance diagram for DtEntityDiscoveredStrategy:
+ Collaboration diagram for DtEntityDiscoveredStrategy:

Public Member Functions

virtual ~DtEntityDiscoveredStrategy ()
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.

Static Public Member Functions

static std::string theName ()
static DtLinkStrategycreate (DtManagedInterface *gl)

Protected Member Functions

 DtEntityDiscoveredStrategy (DtManagedInterface *link)
void handleCSharpEntityDiscovered (DtMessage *msg)
void handleVrlEntityDiscovered (DtReflectedEntity *ent)
virtual bool initReflectedListHandler ()

Static Protected Member Functions

static void vrlEntityDiscovered (DtReflectedEntity *ent, void *usr)

Protected Attributes

DtReflectedEntityListmyRel
DtPublisherList
< DtEntityPublisher > * 
myPubs
DtMessageDelegatemyHandler
bool isReflectedListHandlerInitialized

Static Protected Attributes

static std::string theStrategyName

Constructor & Destructor Documentation

virtual DtEntityDiscoveredStrategy::~DtEntityDiscoveredStrategy ( )
virtual
DtEntityDiscoveredStrategy::DtEntityDiscoveredStrategy ( DtManagedInterface link)
protected

Member Function Documentation

static DtLinkStrategy* DtEntityDiscoveredStrategy::create ( DtManagedInterface gl)
static
void DtEntityDiscoveredStrategy::handleCSharpEntityDiscovered ( DtMessage msg)
protected
void DtEntityDiscoveredStrategy::handleVrlEntityDiscovered ( DtReflectedEntity ent)
protected
virtual bool DtEntityDiscoveredStrategy::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 bool DtEntityDiscoveredStrategy::initReflectedListHandler ( )
protectedvirtual
std::string DtEntityDiscoveredStrategy::name ( )

Get the name of the strategy.

Reimplemented from DtLinkStrategy.

virtual void DtEntityDiscoveredStrategy::shutdown ( )
virtual

Shutdown the strategy and release any resources.

Reimplemented from DtLinkStrategy.

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

Tick the strategy to give it some CPU time.

Reimplemented from DtLinkStrategy.

static void DtEntityDiscoveredStrategy::vrlEntityDiscovered ( DtReflectedEntity ent,
void *  usr 
)
staticprotected

Member Data Documentation

bool DtEntityDiscoveredStrategy::isReflectedListHandlerInitialized
protected
DtMessageDelegate* DtEntityDiscoveredStrategy::myHandler
protected
DtPublisherList<DtEntityPublisher>* DtEntityDiscoveredStrategy::myPubs
protected
DtReflectedEntityList* DtEntityDiscoveredStrategy::myRel
protected
std::string DtEntityDiscoveredStrategy::theStrategyName
staticprotected

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

Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)