VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfExtObjects
reflectedDynamicTerrainDIS.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2017 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
#if DtDIS
13
14
#include <
vrfExtObjects/dllExport.h
>
15
#include <vl/globalObjectDesignator.h>
16
#include <vl/reflectedObjectDIS.h>
17
#include <vlutil/vlMachineTypes.h>
18
#include <vlutil/vlHashKeys.h>
19
20
class
DtExerciseConn;
21
22
class
DtDynamicTerrainStateRepository
;
23
class
DtDynamicTerrainDecoder
;
24
class
DtReflectedDynamicTerrain
;
25
class
DtDynamicTerrainPdu
;
26
28
typedef
void (*
DtDynamicTerrainCallbackFunction
)(
29
DtReflectedDynamicTerrain
* obj,
void
* userData);
30
32
class
DT_DLL_vrfExtObjects
DtReflectedDynamicTerrain
:
public
DtReflectedObject
33
{
34
public
:
35
37
typedef
DtDynamicTerrainStateRepository
* (*DtStateRepCreator)();
38
39
public
:
40
42
DtReflectedDynamicTerrain
(DtExerciseConn* conn);
43
45
virtual
~
DtReflectedDynamicTerrain
();
46
47
private
:
49
DtReflectedDynamicTerrain
(
const
DtReflectedDynamicTerrain
& orig);
50
52
DtReflectedDynamicTerrain
& operator=(
const
DtReflectedDynamicTerrain
& orig);
53
public
:
54
57
virtual
DtDynamicTerrainStateRepository
* dynamicTerrainStateRep()
const
;
58
60
virtual
DtDynamicTerrainStateRepository
* dsr()
const
;
61
65
virtual
DtStateRepository
* stateRep()
const
;
66
69
virtual
DtDynamicTerrainDecoder
* decoder();
70
73
virtual
const
DtGlobalObjectDesignator
& globalId()
const
;
74
76
virtual
DtReflectedDynamicTerrain
* next()
const
;
77
virtual
DtReflectedDynamicTerrain
* prev()
const
;
78
80
virtual
DtReflectedDynamicTerrain
* wrapNext()
const
;
81
virtual
DtReflectedDynamicTerrain
* wrapPrev()
const
;
82
84
virtual
void
addPostUpdateCallback(
85
DtDynamicTerrainCallbackFunction
cb,
void
* userData);
86
virtual
void
removePostUpdateCallback(
87
DtDynamicTerrainCallbackFunction
cb,
void
* userData);
88
90
virtual
void
setHashKey(
const
DtString
& uniqueVal);
91
94
virtual
const
DtBaseHashKey
& hashKey()
const
;
95
97
virtual
DtString
idString()
const
;
98
99
101
virtual
void
processStateMessage(
const
DtStateMsg
& msg);
102
105
virtual
void
processDynamicTerrainState(
const
DtDynamicTerrainPdu
& pdu);
106
107
public
:
108
110
static
void
setStateRepCreator(DtStateRepCreator creator);
111
static
DtStateRepCreator stateRepCreator(
void
);
112
113
protected
:
114
115
static
DtStateRepCreator
theStateRepCreator
;
116
DtStringHashKey
myHashKey
;
117
DtDynamicTerrainStateRepository
*
myStateRep
;
118
DtDynamicTerrainDecoder
*
myDecoder
;
119
};
120
121
#endif // DtDIS
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)