VR-Link C# API Documentation
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Properties | Private Attributes | Static Private Attributes
makVrl.ExerciseConnection Class Reference
+ Inheritance diagram for makVrl.ExerciseConnection:
+ Collaboration diagram for makVrl.ExerciseConnection:

Public Types

enum  ConnectionType { DIS, HLA13, HLA1516, HLA1516E }

Public Member Functions

 ExerciseConnection (ExerciseConnectionInitializer exConnInit)
void Dispose ()
void addMessageHandler (string messageType, MessageDelegate del, string uniClsName="")
void removeMessageHandler (string messageType, MessageDelegate del, string uniClsName="")
void drainInput (double maxTime)
void sendMessage (Message m)
void dispatchMessage (ref Message m)
void handleUniDiscoveredMessage (Message msg)
void handleUniRemovedMessage (Message msg)
void handleUniUpdatedMessage (Message msg)
void handleUniInteractionMessage (Message msg)
int nextEventId ()

Static Public Member Functions

static MessageInterface messageInterface ()
static bool CheckVRLinkLicense ()

Protected Member Functions

virtual void Dispose (bool disposing)
void sendSubscribe (string messageType, bool subscribed, string uniClsName)

Protected Attributes

MessageInterface myMessageInterface
Dictionary< string,
MessageDelegate
myMessageHandlers = new Dictionary<string, MessageDelegate>()
Dictionary< string,
MessageDelegate
myUniDiscoveredHandlers = new Dictionary<string, MessageDelegate>()
Dictionary< string,
MessageDelegate
myUniRemovedHandlers = new Dictionary<string, MessageDelegate>()
Dictionary< string,
MessageDelegate
myUniUpdatedHandlers = new Dictionary<string, MessageDelegate>()
Dictionary< string,
MessageDelegate
myUniInteractionHandlers = new Dictionary<string, MessageDelegate>()
MessageInterface.MessageHandler myMessageCallback
bool disposed = false
MessageDelegate myUniDiscoverHandler
MessageDelegate myUniRemovedHandler
MessageDelegate myUniStateHandler
MessageDelegate myUniInteractionHandler

Properties

Clock clock [get, set]
int currentEventId [get, set]

Private Attributes

int myCurrentEventId

Static Private Attributes

static MessageInterface theMessageInterface = null

Member Enumeration Documentation

Enumerator:
DIS 
HLA13 
HLA1516 
HLA1516E 

Constructor & Destructor Documentation

makVrl.ExerciseConnection.ExerciseConnection ( ExerciseConnectionInitializer  exConnInit)
inline

Member Function Documentation

void makVrl.ExerciseConnection.addMessageHandler ( string  messageType,
MessageDelegate  del,
string  uniClsName = "" 
)
inline
static bool makVrl.ExerciseConnection.CheckVRLinkLicense ( )
inlinestatic
void makVrl.ExerciseConnection.dispatchMessage ( ref Message  m)
inline
void makVrl.ExerciseConnection.Dispose ( )
inline

Referenced by f18.f18.keybrdTick().

virtual void makVrl.ExerciseConnection.Dispose ( bool  disposing)
inlineprotectedvirtual
void makVrl.ExerciseConnection.drainInput ( double  maxTime)
inline
void makVrl.ExerciseConnection.handleUniDiscoveredMessage ( Message  msg)
inline
void makVrl.ExerciseConnection.handleUniInteractionMessage ( Message  msg)
inline
void makVrl.ExerciseConnection.handleUniRemovedMessage ( Message  msg)
inline
void makVrl.ExerciseConnection.handleUniUpdatedMessage ( Message  msg)
inline
static MessageInterface makVrl.ExerciseConnection.messageInterface ( )
inlinestatic
int makVrl.ExerciseConnection.nextEventId ( )
inline
void makVrl.ExerciseConnection.removeMessageHandler ( string  messageType,
MessageDelegate  del,
string  uniClsName = "" 
)
inline
void makVrl.ExerciseConnection.sendMessage ( Message  m)
inline
void makVrl.ExerciseConnection.sendSubscribe ( string  messageType,
bool  subscribed,
string  uniClsName 
)
inlineprotected

Member Data Documentation

bool makVrl.ExerciseConnection.disposed = false
protected
int makVrl.ExerciseConnection.myCurrentEventId
private
MessageInterface.MessageHandler makVrl.ExerciseConnection.myMessageCallback
protected
Dictionary<string, MessageDelegate> makVrl.ExerciseConnection.myMessageHandlers = new Dictionary<string, MessageDelegate>()
protected
MessageInterface makVrl.ExerciseConnection.myMessageInterface
protected
Dictionary<string, MessageDelegate> makVrl.ExerciseConnection.myUniDiscoveredHandlers = new Dictionary<string, MessageDelegate>()
protected
MessageDelegate makVrl.ExerciseConnection.myUniDiscoverHandler
protected
MessageDelegate makVrl.ExerciseConnection.myUniInteractionHandler
protected
Dictionary<string, MessageDelegate> makVrl.ExerciseConnection.myUniInteractionHandlers = new Dictionary<string, MessageDelegate>()
protected
MessageDelegate makVrl.ExerciseConnection.myUniRemovedHandler
protected
Dictionary<string, MessageDelegate> makVrl.ExerciseConnection.myUniRemovedHandlers = new Dictionary<string, MessageDelegate>()
protected
MessageDelegate makVrl.ExerciseConnection.myUniStateHandler
protected
Dictionary<string, MessageDelegate> makVrl.ExerciseConnection.myUniUpdatedHandlers = new Dictionary<string, MessageDelegate>()
protected
MessageInterface makVrl.ExerciseConnection.theMessageInterface = null
staticprivate

Property Documentation

Clock makVrl.ExerciseConnection.clock
getset
int makVrl.ExerciseConnection.currentEventId
getset

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)