VR-Link API Documentation for DIS
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
signal.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/delegate.h
"
11
#include "
managedInterface/subscribeStrategy.h
"
12
13
#include <string>
14
#include <map>
15
16
#include <
vl/signalInteraction.h
>
17
18
class
DtMessage
;
19
class
DtManagedInterface
;
20
class
DtExerciseConn
;
21
class
DtTerrainStrategy;
22
23
24
class
MANAGEDINTERFACE_MODULE_DLL
DtSignalStrategy
:
public
DtSubscribeStrategy
25
{
26
public
:
27
virtual
~
DtSignalStrategy
();
28
29
std::string
name
();
30
static
std::string theName();
31
32
virtual
bool
init
();
33
virtual
void
tick
();
34
virtual
void
shutdown
();
35
36
static
DtLinkStrategy
* create(
DtManagedInterface
* gl);
37
38
protected
:
39
DtSignalStrategy
(
DtManagedInterface
* link);
40
static
std::string
theStrategyName
;
41
42
void
handleCSharpSignalMessage(
DtMessage
* msg);
43
static
void
vrlSignalCb(
DtSignalInteraction
* sig,
void
* usr);
44
void
handleVrlSignal(
DtSignalInteraction
* sig);
46
virtual
void
addVrlCallback
(
DtExerciseConn
* exConn);
47
virtual
void
removeVrlCallback
(
DtExerciseConn
* exConn);
48
49
DtExerciseConn
*
myExconn
;
50
51
DtMessageDelegate
*
mySignalHandler
;
52
};
Document ID: Generated on Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)