VR-Link C# API Documentation
 All Classes Files Functions Variables Enumerations Enumerator Macros 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"
9 #include "managedInterface/linkStrategy.h"
10 #include "managedInterface/delegate.h"
11 
12 #include <string>
13 #include <map>
14 
15 #include <vl/signalInteraction.h>
16 
17 class DtMessage;
18 class DtManagedInterface;
19 class DtExerciseConn;
20 class DtTerrainStrategy;
21 
22 
24 {
25 public:
26  virtual ~DtSignalStrategy();
27 
28  std::string name();
29  static std::string theName();
30 
31  virtual bool init();
32  virtual void tick();
33  virtual void shutdown();
34 
35  static DtLinkStrategy* create(DtManagedInterface* gl);
36 
37 protected:
38  DtSignalStrategy(DtManagedInterface* link);
39  static std::string theStrategyName;
40 
41  void handleCSharpSignalMessage(DtMessage* msg);
42  static void vrlSignalCb(DtSignalInteraction* sig, void* usr);
43  void handleVrlSignal(DtSignalInteraction* sig);
44 
45  DtExerciseConn* myExconn;
46 
47  DtMessageDelegate* mySignalHandler;
48 };

Document ID: Generated on Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)