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
reflectedObjectDIS.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
7
#if DtDIS
8
11
12
#ifndef DtDisReflectedObject_H_
13
#define DtDisReflectedObject_H_
14
15
16
17
#include "
reflectedObjectCallbackInfo.h
"
18
#include "
hostStructs.h
"
19
20
#include <
vlutil/vlList.h
>
21
#include <
vlutil/vlTime.h
>
22
#include <
vlutil/vlString.h
>
23
24
class
DT_DLL_VL
DtStateRepository
;
25
class
DT_DLL_VL
DtExerciseConn
;
26
class
DT_DLL_VL
DtHlaStateDecoder;
27
class
DT_DLL_VL
DtStateMsg
;
28
class
DT_DLL_VL
DtBaseHashKey
;
29
34
class
DT_DLL_VL
DtReflectedObject
:
public
DtListedObj
35
{
36
37
public
:
38
40
DtReflectedObject
(
DtExerciseConn
* conn);
41
43
virtual
~
DtReflectedObject
();
44
47
virtual
DtStateRepository
* stateRep()
const
= 0;
48
50
virtual
DtStateRepository
* sr()
const
;
51
54
virtual
DtTime
lastTimeUpdated()
const
;
55
58
virtual
DtTime
lastSimTimeUpdated()
const
;
59
62
virtual
DtTime
lastReceivedTimeStamp()
const
;
63
65
virtual
void
processStateMessage(
const
DtStateMsg
& msg);
66
68
virtual
void
baseAddPostUpdateCallback(
69
DtReflectedObjectCallbackFunction
cb,
void
* userData);
70
virtual
void
baseRemovePostUpdateCallback(
71
DtReflectedObjectCallbackFunction
cb,
void
* userData);
72
74
virtual
DtReflectedObject
* nextObj()
const
;
75
77
virtual
DtReflectedObject
* prevObj()
const
;
78
81
virtual
DtReflectedObject
* wrapNextObj()
const
;
82
85
virtual
DtReflectedObject
* wrapPrevObj()
const
;
86
88
virtual
const
DtBaseHashKey
& hashKey()
const
= 0;
89
91
virtual
DtString
idString()
const
= 0;
92
94
virtual
const
DtGlobalObjectDesignator
& globalId()
const
= 0;
95
96
protected
:
97
99
DtReflectedObject
(
const
DtReflectedObject
& orig);
100
102
DtReflectedObject
& operator=(
const
DtReflectedObject
& orig);
103
105
virtual
void
processPostUpdateCallbacks();
106
107
protected
:
108
109
DtExerciseConn
*
myExConn
;
110
DtIntrusiveList
myStateUpdateCallbacks
;
111
DtTime
myLastTimeUpdated
;
112
DtTime
myLastSimTimeUpdated
;
113
DtTime
myLastReceivedTimeStamp
;
114
115
};
116
117
#endif
118
#endif
119
Document ID: Generated on Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)