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
detonate.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
11
12
#include "
strategies/export.h
"
13
#include "managedInterface/linkStrategy.h"
14
#include "managedInterface/managedInterface.h"
15
16
#include <vl/detonationInteraction.h>
17
18
#include <string>
19
#include <map>
20
21
class
DtMessage
;
22
class
DtManagedInterface;
23
class
DtExerciseConn;
24
26
class
DtDetonationStrategy
:
public
DtLinkStrategy
27
{
28
public
:
30
virtual
~DtDetonationStrategy
();
31
33
std::string
name
();
34
36
static
std::string
theName
();
37
39
virtual
bool
init
();
40
42
virtual
void
tick
();
43
45
virtual
void
shutdown
();
46
48
static
DtLinkStrategy
*
create
(DtManagedInterface* gl);
49
50
protected
:
52
DtDetonationStrategy
(DtManagedInterface* link);
54
void
handleCSharpDetonateMessage
(
DtMessage
* msg);
56
static
void
vrlDetonateCb
(DtDetonationInteraction* det,
void
* usr);
58
void
handleVrlDetonate
(DtDetonationInteraction* det);
59
60
DtExerciseConn*
myExconn
;
61
62
static
std::string
theStrategyName
;
63
64
DtMessageDelegate*
myHandler
;
65
};
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
)