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
acknowledge.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/acknowledgeInteraction.h>
17
18
#include <string>
19
#include <map>
20
21
class
DtMessage
;
22
class
DtManagedInterface;
23
class
DtExerciseConn;
24
class
DtTerrainStrategy;
25
27
class
DtAcknowledgeStrategy
:
public
DtLinkStrategy
28
{
29
public
:
31
virtual
~DtAcknowledgeStrategy
();
32
34
std::string
name
();
35
37
static
std::string
theName
();
38
40
virtual
bool
init
();
41
43
virtual
void
tick
();
44
46
virtual
void
shutdown
();
47
49
static
DtLinkStrategy
*
create
(DtManagedInterface* gl);
50
51
protected
:
53
DtAcknowledgeStrategy
(DtManagedInterface* link);
55
void
handleCSharpAcknowledgeMessage
(
DtMessage
* msg);
57
static
void
vrlAcknowledgeCb
(DtAcknowledgeInteraction* ack,
void
* usr);
59
void
handleVrlAcknowledge
(DtAcknowledgeInteraction* ack);
60
61
DtExerciseConn*
myExconn
;
62
63
static
std::string
theStrategyName
;
64
65
DtMessageDelegate*
myHandler
;
66
};
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
)