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
vl
reflectedArealObjectDIS.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2014 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
#if DtDIS
13
14
#include <
vl/arealObjectRepository.h
>
15
#include <
vl/arealObjectDecoderDIS.h
>
16
#include <
vl/reflectedObjectDIS.h
>
17
#include <
vl/objectIdHashKey.h
>
18
19
class
DtReflectedArealObject
;
20
23
typedef
void (*
DtArealObjectCallbackFunction
)(
DtReflectedArealObject
*,
void
* );
24
28
class
DT_DLL_VL
DtReflectedArealObject
:
public
DtReflectedObject
29
{
30
public
:
31
33
typedef
DtArealObjectRepository
* (*DtStateRepCreator)();
34
35
public
:
36
38
DtReflectedArealObject
(
DtExerciseConn
* conn,
39
const
DtEntityIdentifier
&
id
);
40
42
virtual
~
DtReflectedArealObject
();
43
45
virtual
inline
DtArealObjectRepository
*
arealObjectStateRep
()
const
{
return
myStateRepository; }
46
48
virtual
inline
DtArealObjectRepository
*
aosr
()
const
{
return
myStateRepository; }
49
52
virtual
inline
DtStateRepository
*
stateRep
()
const
{
return
myStateRepository; }
53
56
virtual
void
processStateMessage
(
const
DtStateMsg
& msg );
57
59
virtual
DtReflectedArealObject
*
next
()
const
;
60
62
virtual
DtReflectedArealObject
*
prev
()
const
;
63
66
virtual
DtReflectedArealObject
*
wrapNext
()
const
;
67
70
virtual
DtReflectedArealObject
*
wrapPrev
()
const
;
71
73
virtual
void
addPostUpdateCallback(
74
DtArealObjectCallbackFunction
cb,
void
* usr );
75
virtual
void
removePostUpdateCallback(
76
DtArealObjectCallbackFunction
cb,
void
* usr );
77
79
virtual
inline
const
DtBaseHashKey
&
hashKey
()
const
{
return
myHashKey; }
80
82
virtual
inline
DtString
idString
()
const
{
return
myIdString; }
83
86
virtual
const
DtGlobalObjectDesignator
&
globalId
()
const
;
87
89
static
void
setStateRepCreator( DtStateRepCreator creator );
90
static
DtStateRepCreator stateRepCreator();
91
92
protected
:
93
95
DtReflectedArealObject
(
const
DtReflectedArealObject
& );
96
98
DtReflectedArealObject
&
operator =
(
const
DtReflectedArealObject
& );
99
100
protected
:
101
102
static
DtStateRepCreator
theStateRepCreator
;
103
104
DtEntityIdentifierHashKey
myHashKey
;
105
DtString
myIdString
;
106
DtArealObjectRepository
*
myStateRepository
;
107
DtArealObjectDecoder
*
myDecoder
;
108
109
};
110
111
#endif // DtDIS
Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (
www.mak.com
)