VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
dReflectedObj.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 "
refObjCbInfo.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 Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)