VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
strategies/attributeChangeRequest.h
Go to the documentation of this file.
1 /*********************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************************/
5 
6 #pragma once
7 
11 
12 #ifdef DtHLA
13 
14 #include "strategies/export.h"
18 
20 
21 #include <string>
22 
23 class DtMessage;
24 class DtManagedInterface;
25 class DtExerciseConn;
26 
29 {
30 public:
33 
35  std::string name();
36 
38  static std::string theName();
39 
41  virtual bool init();
42 
44  virtual void tick();
45 
47  virtual void shutdown();
48 
51 
52 protected:
56  void handleCSharpMessage(DtMessage* msg);
58  static void vrlCb(DtAttributeChangeReqInter* det, void* usr);
62  virtual void addVrlCallback(DtExerciseConn* exConn);
63  virtual void removeVrlCallback(DtExerciseConn* exConn);
64  virtual RTI::ObjectClassHandle classFromObjectId(std::string instName);
66 
67  static std::string theStrategyName;
68 
70 };
71 #endif
virtual void removeVrlCallback(DtExerciseConn *exConn)
virtual void shutdown()
shutdown
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
static DtLinkStrategy * create(DtManagedInterface *gl)
Static create function.
virtual ~DtAttributeChangeRequestStrategy()
destructor
void handleCSharpMessage(DtMessage *msg)
Handle messages from C#.
This is the DtMessage class.
Definition: message.h:20
std::string name()
Get the strategy name.
virtual void addVrlCallback(DtExerciseConn *exConn)
Add/Remove VR-Link C++ Interaction Callback.
void handleVrl(DtAttributeChangeReqInter *det)
Handle VR-Link detonation messages for sending to C#.
static std::string theStrategyName
Definition: strategies/attributeChangeRequest.h:67
The DtManagedInterface Class is a singleton that is used to manage the message flow between C# and th...
Definition: managedInterface.h:49
static void vrlCb(DtAttributeChangeReqInter *det, void *usr)
Static callback for registering with VR-Link.
This file provides a declaration of the class DtAttributeChangeReqInter and typedef for DtAttributeCh...
static std::string theName()
get the strategy name (statically)
DtExerciseConn * myExconn
Definition: strategies/attributeChangeRequest.h:65
This is the DtSubscribeStrategy class. It is the abstract base class for all derived interaction subs...
Definition: subscribeStrategy.h:27
virtual RTI::ObjectClassHandle classFromObjectId(std::string instName)
virtual bool init()
initialize
Defines the DtManagedInterface Singleton object that manages the message flow between C# and the rest...
DtDataStrategy class.
Definition: strategies/attributeChangeRequest.h:28
Delegate template for binding static or member functions for callback at later time The return type a...
Definition: delegate.h:69
DtAttributeChangeRequestStrategy(DtManagedInterface *link)
constructor
Instances of DtAttributeChangeReqInter are used to represent AttributeChangeRequest Interactions in t...
Definition: attributeChangeReqInter.h:37
DtMessageDelegate * myHandler
Definition: strategies/attributeChangeRequest.h:69

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)