MAK RTIspy API Documentation for HLA Evolved
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
libsrc
RTI
attrHandSet.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1998 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: attrHandSet.h,v $ $Revision: 1.18 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef DtAttributeHandleSet_H_
13
#define DtAttributeHandleSet_H_
14
15
#include "
rtiMsConfig.h
"
16
#include "
netHandSet.h
"
17
#include "
internalTypes.h
"
18
19
class
DtObjectClassInfo
;
20
21
#if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E)
22
#include "RTI/Typedefs.h"
23
#include "RTI/Handle.h"
24
#else
25
#ifdef DtIFSPEC13DLC
26
#include "
RTI13.h
"
27
#define RTI rti13
28
#else
29
#include "
RTI.hh
"
30
#endif
31
#endif
32
33
34
#if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E)
35
class
DT_DLL_LRC
DtAttributeHandleSet
36
#else
37
class
DT_DLL_LRC
DtAttributeHandleSet
:
public
RTI::AttributeHandleSet
38
#endif
39
{
40
public
:
41
43
DtAttributeHandleSet
(
DtObjectClassHandle
handle=0);
44
45
#ifdef DtIFSPEC1516
46
DtAttributeHandleSet
(
rti1516::AttributeHandleSet
const
& attrSet_i,
47
DtObjectClassHandle
handle=0);
48
#elif defined(DtIFSPEC1516E)
49
DtAttributeHandleSet
(
rti1516e::AttributeHandleSet
const
& attrSet_i,
50
DtObjectClassHandle
handle=0);
51
#endif
52
54
virtual
~
DtAttributeHandleSet
();
55
57
DtAttributeHandleSet
(
const
DtAttributeHandleSet
& orig);
58
60
DtAttributeHandleSet
& operator=(
const
DtAttributeHandleSet
& orig);
61
63
#if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E)
64
virtual
unsigned
long
size
()
const
;
65
#else
66
virtual
RTI::ULong
size
()
const
;
67
#endif
68
70
#if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E)
71
virtual
DtAttributeHandle
getHandle
(
unsigned
long
i)
const
;
72
#else
73
virtual
RTI::AttributeHandle
getHandle
(
RTI::ULong
i)
const
74
throw
(
75
RTI::ArrayIndexOutOfBounds);
76
#endif
77
79
#if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E)
80
virtual
void
add
(
DtAttributeHandle
h);
81
#else
82
virtual
void
add
(
RTI::AttributeHandle
h)
83
throw
(
84
RTI::ArrayIndexOutOfBounds,
85
RTI::AttributeNotDefined);
86
#endif
87
89
#if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E)
90
virtual
void
remove
(
DtAttributeHandle
h);
91
#else
92
virtual
void
remove
(
RTI::AttributeHandle
h)
93
throw
(
94
RTI::AttributeNotDefined);
95
#endif
96
98
virtual
void
empty
();
99
101
#if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E)
102
virtual
bool
isEmpty
()
const
;
103
#else
104
virtual
RTI::Boolean
isEmpty
()
const
;
105
#endif
106
virtual
bool
isEmptySet()
const
;
107
109
#if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E)
110
virtual
bool
isMember
(
DtAttributeHandle
h)
const
;
111
#else
112
virtual
RTI::Boolean
isMember
(
RTI::AttributeHandle
h)
const
;
113
#endif
114
115
virtual
DtAttributeHandleSet
setUnion(
116
const
DtAttributeHandleSet
&)
const
;
117
virtual
DtAttributeHandleSet
setIntersection(
118
const
DtAttributeHandleSet
&)
const
;
119
virtual
DtAttributeHandleSet
removeSetIntersection(
120
const
DtAttributeHandleSet
&)
const
;
121
122
#if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E)
123
virtual
unsigned
long
encodedLength()
const
;
124
#else
125
virtual
RTI::ULong
encodedLength()
const
;
126
#endif
127
virtual
void
encode(
char
*buff)
const
;
128
129
virtual
void
print()
const
;
130
virtual
void
print(
DtObjectClassInfo
* fomClass)
const
;
131
132
#ifdef DtIFSPEC1516
133
virtual
void
fillHandleSet(
rti1516::AttributeHandleSet
& attrSet)
const
;
134
#elif defined(DtIFSPEC1516E)
135
virtual
void
fillHandleSet(
rti1516e::AttributeHandleSet
& attrSet)
const
;
136
#endif
137
139
142
virtual
DtObjectClassHandle
classHandle()
const
;
143
virtual
void
setClassHandle(
DtObjectClassHandle
handle);
144
146
virtual
bool
active()
const
;
147
virtual
void
setActive(
bool
isActive);
148
public
:
149
150
static
DtAttributeHandleSet
* decode(
const
char
*buff);
151
152
protected
:
153
154
unsigned
short
mySize
;
155
DtObjectClassHandle
myClassHandle
;
156
bool
myActive
;
157
MAKRti::DtU32 myWords[
DtNumberAttributeWords
];
158
};
159
160
typedef
DtAttributeHandleSet
DtParameterHandleSet
;
161
162
#endif
Document ID: Generated on Wed Mar 11 20:26:49 EDT 2015 from SVN revision 150939
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (
www.mak.com
)