VR-Link API Documentation for DIS
 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) 2014 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 };

Document ID: Generated on Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)