VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
strategies
strategies/actionRequest.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
#include "
managedInterface/subscribeStrategy.h
"
16
17
#include <
vl/actionRequestInteraction.h
>
18
19
#include <string>
20
#include <map>
21
22
class
DtMessage
;
23
class
DtManagedInterface
;
24
class
DtExerciseConn
;
25
class
DtTerrainStrategy;
26
28
class
DtActionRequestStrategy
:
public
DtSubscribeStrategy
29
{
30
public
:
32
virtual
~DtActionRequestStrategy
();
33
35
std::string
name
();
36
38
static
std::string
theName
();
39
41
virtual
bool
init
();
42
44
virtual
void
tick
();
45
47
virtual
void
shutdown
();
48
50
static
DtLinkStrategy
*
create
(
DtManagedInterface
* gl);
51
52
protected
:
54
DtActionRequestStrategy
(
DtManagedInterface
* link);
56
void
handleCSharpActionRequestMessage
(
DtMessage
* msg);
58
static
void
vrlActionRequestCb
(
DtActionRequestInteraction
* ar,
void
* usr);
60
void
handleVrlActionRequest
(
DtActionRequestInteraction
* ar);
61
62
virtual
void
addVrlCallback
(
DtExerciseConn
* exConn);
63
virtual
void
removeVrlCallback
(
DtExerciseConn
* exConn);
64
65
DtExerciseConn
*
myExconn
;
66
67
static
std::string
theStrategyName
;
68
69
DtMessageDelegate
*
myHandler
;
70
};
Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)