VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
dRefGrDatList.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
9
10
#ifndef DtReflectedGriddedDataList_H_
11
#define DtReflectedGriddedDataList_H_
12
13
#if DtDIS
14
15
#include "
dRefObjList.h
"
16
#include "
dRefGridData.h
"
17
18
class
DT_DLL_VL
DtEntityIdentifierHashKey
;
19
20
class
DT_DLL_VL
DtReflectedGriddedDataList
:
public
DtReflectedObjectList
21
{
22
23
public
:
24
26
DtReflectedGriddedDataList
(
DtExerciseConn
* conn);
27
28
virtual
~
DtReflectedGriddedDataList
();
29
31
virtual
DtReflectedGriddedData
* lookup(
const
DtObjectId
&
id
)
const
;
32
34
virtual
DtReflectedGriddedData
* first()
const
;
35
virtual
DtReflectedGriddedData
* last()
const
;
36
38
virtual
void
addGriddedDataAdditionCallback(
39
DtGriddedDataCallbackFunction
cb,
void
* userData);
40
virtual
void
removeGriddedDataAdditionCallback(
41
DtGriddedDataCallbackFunction
cb,
void
* userData);
42
44
virtual
void
addGriddedDataRemovalCallback(
45
DtGriddedDataCallbackFunction
cb,
void
* userData);
46
virtual
void
removeGriddedDataRemovalCallback(
47
DtGriddedDataCallbackFunction
cb,
void
* userData);
48
50
virtual
void
print
();
51
54
virtual
DtReflectedGriddedData
*
55
processGriddedData(
const
DtGriddedDataPdu
& pdu);
56
57
protected
:
58
60
DtReflectedGriddedDataList
&
operator=
(
61
const
DtReflectedGriddedDataList
& orig);
62
64
DtReflectedGriddedDataList
(
65
const
DtReflectedGriddedDataList
& orig);
66
67
protected
:
68
71
virtual
DtReflectedObject
*
newReflectedObj
(
const
DtStateMsg
& msg);
72
74
virtual
DtReflectedObject
*
processStateMessage
(
const
DtStateMsg
& msg);
75
78
virtual
void
objectAdded
(
DtReflectedObject
* obj);
79
82
virtual
void
finalPduIsSetAction(
DtReflectedGriddedData
* gridData);
83
85
virtual
const
DtBaseHashKey
&
86
hashKeyFromStateMessage
(
const
DtStateMsg
* msg);
87
89
virtual
DtReflectedGriddedData
* newReflectedGriddedData(
90
const
DtEntityIdentifier
&
id
,
91
const
DtEntityType
& type)
const
;
92
95
virtual
void
griddedDataAdded(
DtReflectedGriddedData
* ent);
96
97
protected
:
98
100
static
void
griddedDataCb(
DtGriddedDataPdu
* pdu,
void
* usr);
101
102
protected
:
103
104
DtEntityIdentifierHashKey
*
myHashKey
;
105
};
106
107
#endif
108
#endif
109
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
)