VR-Link API Documentation for HLA 1.3
 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
DtUniversalHlaIntrStrategy Class Reference
+ Inheritance diagram for DtUniversalHlaIntrStrategy:
+ Collaboration diagram for DtUniversalHlaIntrStrategy:

Public Member Functions

virtual ~DtUniversalHlaIntrStrategy ()
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.
- Public Member Functions inherited from DtSubscribeStrategy
 DtSubscribeStrategy (std::string name, DtManagedInterface *link, std::string subscribeClassName, SubscribeMessage::SubscribeType subscribeType)
 constructor takes name
virtual ~DtSubscribeStrategy ()
 destructor
void handleSubscriptionChange (DtMessage *msg)

Static Public Member Functions

static std::string theName ()
static DtLinkStrategycreate (DtManagedInterface *gl, const std::string &className)
static char * getBuffer (const std::vector< unsigned char > &buffer)
static const std::vector
< unsigned char > 
getVector (const char *buffer, unsigned long size)

Protected Member Functions

 DtUniversalHlaIntrStrategy (DtManagedInterface *link, const std::string &className)
void handleCSharpUniIntrMessage (DtMessage *msg)
void handleVrlUniIntr (DtInteraction *intr)
virtual void addVrlCallback (DtExerciseConn *exConn)
 Add/Remove VR-Link C++ Interaction Callback.
virtual void removeVrlCallback (DtExerciseConn *exConn)

Static Protected Member Functions

static void vrlUniIntrCb (DtInteraction *intr, void *usr)

Protected Attributes

DtMessageDelegatemyHandler
DtExerciseConnmyExconn
std::string myClassName
RTI::InteractionClassHandle myClassHandle
std::map< std::string,
RTI::ParameterHandle > 
myHandleByName
std::map< RTI::ParameterHandle,
std::string > 
myNameByHandle
- Protected Attributes inherited from DtSubscribeStrategy
DtMessageDelegatemySubscriptionChangeHandler
bool mySubscribed
std::string myClassName
SubscribeMessage::SubscribeType mySubscriptionType

Static Protected Attributes

static std::string theStrategyName

Constructor & Destructor Documentation

virtual DtUniversalHlaIntrStrategy::~DtUniversalHlaIntrStrategy ( )
virtual
DtUniversalHlaIntrStrategy::DtUniversalHlaIntrStrategy ( DtManagedInterface link,
const std::string &  className 
)
protected

Member Function Documentation

virtual void DtUniversalHlaIntrStrategy::addVrlCallback ( DtExerciseConn exConn)
protectedvirtual

Add/Remove VR-Link C++ Interaction Callback.

Implements DtSubscribeStrategy.

static DtLinkStrategy* DtUniversalHlaIntrStrategy::create ( DtManagedInterface gl,
const std::string &  className 
)
static
static char* DtUniversalHlaIntrStrategy::getBuffer ( const std::vector< unsigned char > &  buffer)
static
static const std::vector<unsigned char> DtUniversalHlaIntrStrategy::getVector ( const char *  buffer,
unsigned long  size 
)
static
void DtUniversalHlaIntrStrategy::handleCSharpUniIntrMessage ( DtMessage msg)
protected
void DtUniversalHlaIntrStrategy::handleVrlUniIntr ( DtInteraction intr)
protected
virtual bool DtUniversalHlaIntrStrategy::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.

std::string DtUniversalHlaIntrStrategy::name ( )

Get the name of the strategy.

Reimplemented from DtLinkStrategy.

virtual void DtUniversalHlaIntrStrategy::removeVrlCallback ( DtExerciseConn exConn)
protectedvirtual

Implements DtSubscribeStrategy.

virtual void DtUniversalHlaIntrStrategy::shutdown ( )
virtual

Shutdown the strategy.

Reimplemented from DtSubscribeStrategy.

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

Tick the strategy to give it some CPU time.

Reimplemented from DtLinkStrategy.

static void DtUniversalHlaIntrStrategy::vrlUniIntrCb ( DtInteraction intr,
void *  usr 
)
staticprotected

Member Data Documentation

RTI::InteractionClassHandle DtUniversalHlaIntrStrategy::myClassHandle
protected
std::string DtUniversalHlaIntrStrategy::myClassName
protected
DtExerciseConn* DtUniversalHlaIntrStrategy::myExconn
protected
std::map<std::string, RTI::ParameterHandle> DtUniversalHlaIntrStrategy::myHandleByName
protected
DtMessageDelegate* DtUniversalHlaIntrStrategy::myHandler
protected
std::map<RTI::ParameterHandle, std::string> DtUniversalHlaIntrStrategy::myNameByHandle
protected
std::string DtUniversalHlaIntrStrategy::theStrategyName
staticprotected

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

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)