VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
dRefUndwaAcoustics.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/undwaAcousticSR.h
>
15
#include <
vl/dUndwaAcousticDec.h
>
16
#include <
vl/dReflectedObj.h
>
17
#include <
vl/objIdHashKey.h
>
18
19
class
DtReflectedUnderwaterAcoustics
;
20
23
typedef
void (*
DtUnderwaterAcousticsCallbackFunction
)(
DtReflectedUnderwaterAcoustics
*,
void
* );
24
29
class
DT_DLL_VL
DtReflectedUnderwaterAcoustics
:
public
DtReflectedObject
30
{
31
public
:
32
34
typedef
DtUnderwaterAcousticsStateRepository
* (*DtStateRepCreator)();
35
36
public
:
37
39
DtReflectedUnderwaterAcoustics
(
DtExerciseConn
* conn,
40
const
DtGlobalObjectDesignator
& hostEntity );
41
43
virtual
~
DtReflectedUnderwaterAcoustics
();
44
45
public
:
46
48
virtual
inline
DtUnderwaterAcousticsStateRepository
* underwaterAcousticsStateRep()
const
49
{
50
return
myStateRepository;
51
}
52
54
virtual
inline
DtUnderwaterAcousticsStateRepository
*
usr
()
const
{
return
myStateRepository; }
55
58
virtual
inline
DtStateRepository
*
stateRep
()
const
{
return
myStateRepository; }
59
61
virtual
inline
DtUnderwaterAcousticsDecoder
*
decoder
() {
return
&myDecoder; }
62
65
virtual
void
processStateMessage
(
const
DtStateMsg
& msg );
66
68
virtual
DtReflectedUnderwaterAcoustics
*
next
()
const
;
69
71
virtual
DtReflectedUnderwaterAcoustics
*
prev
()
const
;
72
75
virtual
DtReflectedUnderwaterAcoustics
*
wrapNext
()
const
;
76
79
virtual
DtReflectedUnderwaterAcoustics
*
wrapPrev
()
const
;
80
82
virtual
void
addPostUpdateCallback(
DtUnderwaterAcousticsCallbackFunction
cb,
void
* usr );
83
84
virtual
void
removePostUpdateCallback(
DtUnderwaterAcousticsCallbackFunction
cb,
void
* usr );
85
87
virtual
inline
const
DtBaseHashKey
&
hashKey
()
const
{
return
myHashKey; }
88
90
virtual
inline
DtString
idString
()
const
{
return
myIdString; }
91
94
virtual
const
DtGlobalObjectDesignator
&
globalId
()
const
;
95
96
public
:
97
99
static
void
setStateRepCreator( DtStateRepCreator creator );
100
static
DtStateRepCreator stateRepCreator();
101
102
protected
:
103
105
DtReflectedUnderwaterAcoustics
(
const
DtReflectedUnderwaterAcoustics
& );
106
108
DtReflectedUnderwaterAcoustics
&
operator =
(
const
DtReflectedUnderwaterAcoustics
& );
109
110
protected
:
111
112
static
DtStateRepCreator
theStateRepCreator
;
113
114
DtObjectIdHashKey
myHashKey
;
115
DtString
myIdString
;
116
DtUnderwaterAcousticsStateRepository
*
myStateRepository
;
117
DtUnderwaterAcousticsDecoder
myDecoder
;
118
119
};
120
121
#endif // DtDIS
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
)