VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
hRefUndwaAcoustics.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 DtHLA
13
14
#include <
vl/hReflectedObj.h
>
15
#include <
vl/undwaAcousticSR.h
>
16
17
class
DtReflectedUnderwaterAcoustics
;
18
21
typedef
void (*
DtUnderwaterAcousticsCallbackFunction
)(
22
DtReflectedUnderwaterAcoustics
* obj,
void
* userData);
23
28
class
DT_DLL_VL
DtReflectedUnderwaterAcoustics
:
public
DtReflectedObject
29
{
30
public
:
31
33
typedef
DtUnderwaterAcousticsStateRepository
* (*DtStateRepCreator)();
34
35
public
:
36
39
DtReflectedUnderwaterAcoustics
(
DtHlaObject
* obj,
DtExerciseConn
* conn );
40
43
DtReflectedUnderwaterAcoustics
(
const
DtObjectId
&
id
,
44
const
DtGlobalObjectDesignator
& hostId,
DtExerciseConn
* conn );
45
47
virtual
~
DtReflectedUnderwaterAcoustics
();
48
50
virtual
DtUnderwaterAcousticsStateRepository
* underwaterAcousticsStateRep()
const
;
51
53
virtual
DtUnderwaterAcousticsStateRepository
* usr()
const
;
54
56
virtual
DtReflectedUnderwaterAcoustics
*
next
()
const
;
57
59
virtual
DtReflectedUnderwaterAcoustics
*
prev
()
const
;
60
63
virtual
DtReflectedUnderwaterAcoustics
*
wrapNext
()
const
;
64
67
virtual
DtReflectedUnderwaterAcoustics
*
wrapPrev
()
const
;
68
70
virtual
void
addPostUpdateCallback(
DtUnderwaterAcousticsCallbackFunction
cb,
71
void
* usr );
72
virtual
void
removePostUpdateCallback(
DtUnderwaterAcousticsCallbackFunction
cb,
73
void
* usr );
74
76
virtual
void
subsystemUpdated();
77
78
public
:
79
81
static
DtStateRepCreator setStateRepCreator( DtStateRepCreator creator );
82
83
protected
:
84
86
DtReflectedUnderwaterAcoustics
(
const
DtReflectedUnderwaterAcoustics
& orig );
87
89
DtReflectedUnderwaterAcoustics
&
operator =
(
90
const
DtReflectedUnderwaterAcoustics
& orig );
91
92
protected
:
93
94
static
DtStateRepCreator
theStateRepCreator
;
95
96
bool
mySubsystemsCauseUpdate
;
97
98
};
99
100
inline
DtUnderwaterAcousticsStateRepository
*
DtReflectedUnderwaterAcoustics::underwaterAcousticsStateRep
()
const
101
{
102
return
(
DtUnderwaterAcousticsStateRepository
*)
myStateRep
;
103
}
104
105
inline
DtUnderwaterAcousticsStateRepository
*
DtReflectedUnderwaterAcoustics::usr
()
const
106
{
107
return
(
DtUnderwaterAcousticsStateRepository
*)
myStateRep
;
108
}
109
110
#endif // DtHLA
Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)