VR-Link API Documentation for HLA 4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
signal.h
Go to the documentation of this file.
1 /*********************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************************/
5 
6 #pragma once
7 
8 #include "strategies/export.h"
12 
13 #include <string>
14 #include <map>
15 
16 #include <vl/signalInteraction.h>
17 
18 class DtMessage;
19 class DtManagedInterface;
20 class DtExerciseConn;
21 class DtTerrainStrategy;
22 
23 
25 {
26 public:
27  virtual ~DtSignalStrategy();
28 
29  std::string name();
30  static std::string theName();
31 
32  virtual bool init();
33  virtual void tick();
34  virtual void shutdown();
35 
36  static DtLinkStrategy* create(DtManagedInterface* gl);
37 
38 protected:
40  static std::string theStrategyName;
41 
42  void handleCSharpSignalMessage(DtMessage* msg);
43  static void vrlSignalCb(DtSignalInteraction* sig, void* usr);
44  void handleVrlSignal(DtSignalInteraction* sig);
46  virtual void addVrlCallback(DtExerciseConn* exConn);
47  virtual void removeVrlCallback(DtExerciseConn* exConn);
48 
50 
52 };
virtual void addVrlCallback(DtExerciseConn *exConn)=0
Add/Remove VR-Link C++ Interaction Callback.
Defines a single parameter delegate to make binding member function pointers easier.
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
Definition: signal.h:24
#define MANAGEDINTERFACE_MODULE_DLL
Definition: export.h:39
This file provides protocol independence for Signal Interactions.
This is the DtMessage class.
Definition: message.h:20
The DtManagedInterface Class is a singleton that is used to manage the message flow between C# and th...
Definition: managedInterface.h:50
DtExerciseConn * myExconn
Definition: signal.h:49
This is the DtSubscribeStrategy class. It is the abstract base class for all derived interaction subs...
Definition: subscribeStrategy.h:27
virtual void shutdown()
Shutdown the strategy.
Instances of DtSignalInteraction are used to represent RadioSignal RPR FOM Interactions.
Definition: signalInteractionHLA.h:42
virtual void removeVrlCallback(DtExerciseConn *exConn)=0
Delegate template for binding static or member functions for callback at later time The return type a...
Definition: delegate.h:69
DtMessageDelegate * mySignalHandler
Definition: signal.h:51
static std::string theStrategyName
Definition: signal.h:40

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)