VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
reflectedPropulsionNoiseDIS.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2013 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
#if DtDIS
13
14
#include <
vl/propulsionNoiseStateRepository.h
>
15
#include <
vl/propulsionNoiseDecoderDIS.h
>
16
#include <
vl/reflectedObjectDIS.h
>
17
#include <
vl/objectIdHashKey.h
>
18
19
class
DtReflectedPropulsionNoise
;
20
23
typedef
void (*
DtPropNoiseCallbackFunction
)(
DtReflectedPropulsionNoise
*,
void
* );
24
28
class
DT_DLL_VL
DtReflectedPropulsionNoise
:
public
DtReflectedObject
29
{
30
public
:
31
33
typedef
DtPropulsionNoiseStateRepository
* (*DtStateRepCreator)();
34
35
public
:
36
38
DtReflectedPropulsionNoise
(
DtExerciseConn
* conn,
39
const
DtGlobalObjectDesignator
& hostEntity );
40
42
virtual
~
DtReflectedPropulsionNoise
();
43
44
public
:
45
47
virtual
inline
DtPropulsionNoiseStateRepository
*
propulsionNoiseRep
()
const
{
return
myStateRepository; }
48
50
virtual
inline
DtPropulsionNoiseStateRepository
*
psr
()
const
{
return
myStateRepository; }
51
54
virtual
inline
DtStateRepository
*
stateRep
()
const
{
return
myStateRepository; }
55
57
virtual
inline
DtPropulsionNoiseDecoder
*
decoder
() {
return
&myDecoder; }
58
61
virtual
void
processStateMessage
(
const
DtStateMsg
& msg );
62
64
virtual
DtReflectedPropulsionNoise
*
next
()
const
;
65
67
virtual
DtReflectedPropulsionNoise
*
prev
()
const
;
68
71
virtual
DtReflectedPropulsionNoise
*
wrapNext
()
const
;
72
75
virtual
DtReflectedPropulsionNoise
*
wrapPrev
()
const
;
76
78
virtual
void
addPostUpdateCallback(
DtPropNoiseCallbackFunction
cb,
void
* userData );
79
virtual
void
removePostUpdateCallback(
DtPropNoiseCallbackFunction
cb,
void
* userData );
80
82
virtual
inline
const
DtBaseHashKey
&
hashKey
()
const
{
return
myHashKey; }
83
85
virtual
inline
DtString
idString
()
const
{
return
myIdString; }
86
89
virtual
const
DtGlobalObjectDesignator
&
globalId
()
const
;
90
91
public
:
92
94
static
void
setStateRepCreator( DtStateRepCreator creator );
95
static
DtStateRepCreator stateRepCreator();
96
97
protected
:
98
100
DtReflectedPropulsionNoise
(
const
DtReflectedPropulsionNoise
& );
101
103
DtReflectedPropulsionNoise
&
operator =
(
const
DtReflectedPropulsionNoise
& );
104
105
protected
:
106
107
static
DtStateRepCreator
theStateRepCreator
;
108
109
protected
:
110
111
DtObjectIdHashKey
myHashKey
;
112
DtString
myIdString
;
113
DtPropulsionNoiseStateRepository
*
myStateRepository
;
114
DtPropulsionNoiseDecoder
myDecoder
;
115
116
};
117
118
#endif // DtDIS
Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)