VR-Link API Documentation for HLA 1516
 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 ()
 
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. More...
 
- Public Member Functions inherited from DtSubscribeStrategy
 DtSubscribeStrategy (std::string name, DtManagedInterface *link, std::string subscribeClassName, SubscribeMessage::SubscribeType subscribeType)
 constructor takes name More...
 
virtual ~DtSubscribeStrategy ()
 destructor More...
 
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)
 
static RTI::VariableLengthData getVLD (const std::vector< unsigned char > &buffer)
 
static const std::vector
< unsigned char > 
getVector (const RTI::VariableLengthData &buffer)
 

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. More...
 
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
static const std::vector<unsigned char> DtUniversalHlaIntrStrategy::getVector ( const RTI::VariableLengthData &  buffer)
static
static RTI::VariableLengthData DtUniversalHlaIntrStrategy::getVLD ( const std::vector< unsigned char > &  buffer)
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 ( )
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 Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)