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

Document ID: Generated on Wed Jan 7 13:31:29 EST 2015 from SVN revision 149162
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)