VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
dRefDesigList.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 DtDisReflectedDesignatorList_H_
11
#define DtDisReflectedDesignatorList_H_
12
13
#if DtDIS
14
15
16
#include "
dRefObjList.h
"
17
#include "
dReflDesigntr.h
"
18
#include "
globalObjDes.h
"
19
20
class
DT_DLL_VL
DtSystemHashKey
;
21
class
DT_DLL_VL
DtDesignatorPdu
;
22
26
class
DT_DLL_VL
DtReflectedDesignatorList
:
public
DtReflectedObjectList
27
{
28
public
:
30
DtReflectedDesignatorList
(
DtExerciseConn
* exConn );
32
virtual
~
DtReflectedDesignatorList
();
33
34
public
:
37
virtual
DtReflectedDesignator
* lookup(
38
const
DtGlobalObjectDesignator
& designatingEntity,
39
int
designtrCode )
const
;
40
42
virtual
DtReflectedDesignator
* first()
const
;
43
virtual
DtReflectedDesignator
* last()
const
;
44
46
virtual
void
addDesignatorAdditionCallback(
47
DtDesignatorCallbackFunction
cb,
void
* userData );
48
virtual
void
removeDesignatorAdditionCallback(
49
DtDesignatorCallbackFunction
cb,
void
* userData );
50
52
virtual
void
addDesignatorRemovalCallback(
53
DtDesignatorCallbackFunction
cb,
void
* userData );
54
virtual
void
removeDesignatorRemovalCallback(
55
DtDesignatorCallbackFunction
cb,
void
* userData );
56
58
virtual
void
print
()
const
;
59
61
virtual
void
printDataToStream(std::ostream& stream)
const
;
62
63
protected
:
65
virtual
DtReflectedObject
*
newReflectedObj
(
const
DtStateMsg
& msg );
66
69
virtual
DtReflectedDesignator
* newReflectedDesignator(
70
const
DtEntityIdentifier
& designatingEntity,
int
designatorCode);
71
74
virtual
int
acceptPdu
(
const
DtStateMsg
& msg )
const
;
75
77
virtual
DtReflectedObject
*
processStateMessage
(
const
DtStateMsg
& msg );
78
82
virtual
void
removeAndDelete
(
DtReflectedObject
* obj,
char
* msg=0 );
83
86
virtual
void
objectAdded
(
DtReflectedObject
* obj );
87
93
const
DtBaseHashKey
&
hashKeyFromStateMessage
(
const
DtStateMsg
* );
94
95
protected
:
97
static
void
designatorCb(
DtDesignatorPdu
* pdu,
void
* usr );
98
99
protected
:
100
DtSystemHashKey
*
myHashKey
;
101
102
protected
:
104
DtReflectedDesignatorList
(
const
DtReflectedDesignatorList
& );
105
107
DtReflectedDesignatorList
&
operator=
(
const
DtReflectedDesignatorList
& );
108
};
109
110
#endif
111
112
#endif
113
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
)