VR-Link API Documentation for HLA 1516
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
updateControlCbList.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
10
11
#ifndef DtUpdateControlCbList_H_
12
#define DtUpdateControlCbList_H_
13
14
#if DtHLA
15
16
#include <map>
17
#include <list>
18
#include <
vl/updateControlCbInfo.h
>
19
20
#include "
rtiNamespace.h
"
21
22
23
24
#if DtHLA_1516
25
#define DtUpdateControlCbMapType < RTI::ObjectInstanceHandle, std::list< DtUpdateControlCbInfo* > >
26
#else
27
#define DtUpdateControlCbMapType < RTI::ObjectHandle, std::list< DtUpdateControlCbInfo* > >
28
#endif
29
30
31
32
33
class
DT_DLL_VL
DtUpdateControlCbList
34
{
35
public
:
36
38
DtUpdateControlCbList
();
39
41
virtual
~
DtUpdateControlCbList
();
42
44
DtUpdateControlCbList
(
const
DtUpdateControlCbList
& orig);
45
47
DtUpdateControlCbList
& operator=(
const
DtUpdateControlCbList
& orig);
48
51
virtual
int
add(
52
#
if
DtHLA_1516
53
RTI::ObjectInstanceHandle hand,
54
#
else
55
RTI::ObjectHandle
hand,
56
#endif
57
DtUpdateControlCb
cb,
58
void
* usr);
59
60
virtual
int
remove
(
61
#if DtHLA_1516
62
RTI::ObjectInstanceHandle hand,
63
#else
64
RTI::ObjectHandle
hand,
65
#endif
66
DtUpdateControlCb
cb,
67
void
* usr);
68
70
virtual
void
clear();
71
74
virtual
void
apply(
75
#
if
DtHLA_1516
76
RTI::ObjectInstanceHandle instanceHandle,
77
#
else
78
RTI::ObjectHandle
instanceHandle,
79
#endif
80
const
RTI::AttributeHandleSet& hSet);
81
82
protected
:
83
87
void
dtorClear();
88
91
void
ctorCopyList(
const
DtUpdateControlCbList
& orig);
92
93
protected
:
94
std::map
DtUpdateControlCbMapType
myList
;
95
};
96
97
typedef
DtUpdateControlCbList
DtUpdatesOnCbList
;
98
typedef
DtUpdateControlCbList
DtUpdatesOffCbList
;
99
100
#endif
101
#endif
102
Document ID: Generated on Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)