VR-Link C# API Documentation
Home
Classes
Files
Examples
File List
File Members
All
Classes
Files
Functions
Variables
Enumerations
Enumerator
Macros
Pages
C-sharp
include
strategies
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
22
class
MANAGEDINTERFACE_MODULE_DLL
DtFireStrategy
:
public
DtLinkStrategy
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 Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)