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
DtEventReportStrategy Class Reference

DtDataStrategy class. More...

+ Inheritance diagram for DtEventReportStrategy:
+ Collaboration diagram for DtEventReportStrategy:

Public Member Functions

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

 DtEventReportStrategy (DtManagedInterface *link)
 constructor
void handleCSharpMessage (DtMessage *msg)
 Handle detonate messages from C#.
void handleVrl (DtEventReportInteraction *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 vrlCb (DtEventReportInteraction *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 DtEventReportStrategy::~DtEventReportStrategy ( )
virtual

destructor

DtEventReportStrategy::DtEventReportStrategy ( DtManagedInterface link)
protected

constructor

Member Function Documentation

virtual void DtEventReportStrategy::addVrlCallback ( DtExerciseConn exConn)
protectedvirtual

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

Implements DtSubscribeStrategy.

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

Static create function.

void DtEventReportStrategy::handleCSharpMessage ( DtMessage msg)
protected

Handle detonate messages from C#.

void DtEventReportStrategy::handleVrl ( DtEventReportInteraction det)
protected

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

virtual bool DtEventReportStrategy::init ( )
virtual

initialize

Implements DtLinkStrategy.

std::string DtEventReportStrategy::name ( )

Get the strategy name.

Reimplemented from DtLinkStrategy.

virtual void DtEventReportStrategy::removeVrlCallback ( DtExerciseConn exConn)
protectedvirtual

Implements DtSubscribeStrategy.

virtual void DtEventReportStrategy::shutdown ( )
virtual

shutdown

Reimplemented from DtSubscribeStrategy.

static std::string DtEventReportStrategy::theName ( )
static

get the strategy name (statically)

virtual void DtEventReportStrategy::tick ( )
virtual

tick

Reimplemented from DtLinkStrategy.

static void DtEventReportStrategy::vrlCb ( DtEventReportInteraction det,
void *  usr 
)
staticprotected

Static callback for registering with VR-Link.

Member Data Documentation

DtExerciseConn* DtEventReportStrategy::myExconn
protected
DtMessageDelegate* DtEventReportStrategy::myHandler
protected
std::string DtEventReportStrategy::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)