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 | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
DtDataStrategy Class Reference

DtDataStrategy class. More...

+ Inheritance diagram for DtDataStrategy:
+ Collaboration diagram for DtDataStrategy:

Public Member Functions

virtual ~DtDataStrategy ()
 destructor
std::string name ()
 Get the strategy name.
virtual bool init ()
 initialize
virtual void tick ()
 tick
virtual void shutdown ()
 shutdown
- 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 ()
 get the strategy name (statically)
static DtLinkStrategycreate (DtManagedInterface *gl)
 Static create function.

Protected Member Functions

 DtDataStrategy (DtManagedInterface *link)
 constructor
void handleCSharpDataMessage (DtMessage *msg)
 Handle detonate messages from C#.
void handleVrlData (DtDataInteraction *det)
 Handle VR-Link detonation messages for sending to C#.
virtual void addVrlCallback (DtExerciseConn *exConn)
 Add/Remove VR-Link C++ Interaction Callback.
virtual void removeVrlCallback (DtExerciseConn *exConn)

Static Protected Member Functions

static void vrlDataCb (DtDataInteraction *det, void *usr)
 Static callback for registering with VR-Link.

Protected Attributes

DtExerciseConnmyExconn
DtMessageDelegatemyHandler
- Protected Attributes inherited from DtSubscribeStrategy
DtMessageDelegatemySubscriptionChangeHandler
bool mySubscribed
std::string myClassName
SubscribeMessage::SubscribeType mySubscriptionType

Static Protected Attributes

static std::string theStrategyName

Detailed Description

DtDataStrategy class.

Constructor & Destructor Documentation

virtual DtDataStrategy::~DtDataStrategy ( )
virtual

destructor

DtDataStrategy::DtDataStrategy ( DtManagedInterface link)
protected

constructor

Member Function Documentation

virtual void DtDataStrategy::addVrlCallback ( DtExerciseConn exConn)
protectedvirtual

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

Implements DtSubscribeStrategy.

static DtLinkStrategy* DtDataStrategy::create ( DtManagedInterface gl)
static

Static create function.

void DtDataStrategy::handleCSharpDataMessage ( DtMessage msg)
protected

Handle detonate messages from C#.

void DtDataStrategy::handleVrlData ( DtDataInteraction det)
protected

Handle VR-Link detonation messages for sending to C#.

virtual bool DtDataStrategy::init ( )
virtual

initialize

Implements DtLinkStrategy.

std::string DtDataStrategy::name ( )

Get the strategy name.

Reimplemented from DtLinkStrategy.

virtual void DtDataStrategy::removeVrlCallback ( DtExerciseConn exConn)
protectedvirtual

Implements DtSubscribeStrategy.

virtual void DtDataStrategy::shutdown ( )
virtual

shutdown

Reimplemented from DtSubscribeStrategy.

static std::string DtDataStrategy::theName ( )
static

get the strategy name (statically)

virtual void DtDataStrategy::tick ( )
virtual

tick

Reimplemented from DtLinkStrategy.

static void DtDataStrategy::vrlDataCb ( DtDataInteraction det,
void *  usr 
)
staticprotected

Static callback for registering with VR-Link.

Member Data Documentation

DtExerciseConn* DtDataStrategy::myExconn
protected
DtMessageDelegate* DtDataStrategy::myHandler
protected
std::string DtDataStrategy::theStrategyName
staticprotected

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

Document ID: Generated on Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)