24 #include <RTI/RTI1516.h>
29 (std::ostream& os,
const rti1516_2025::ObjectInstanceHandle& handle);
33 (std::ostream& os,
const rti1516_2025::ObjectClassHandle& handle);
37 (std::ostream& os,
const rti1516_2025::InteractionClassHandle& handle);
41 (std::ostream& os,
const rti1516_2025::AttributeHandle& handle);
45 (std::ostream& os,
const rti1516_2025::ParameterHandle& handle);
49 (std::ostream& os,
const rti1516_2025::Exception& exception);
53 namespace rti1516_2025 {
65 template <
typename HandleType,
typename MapType>
66 class CompatibleHandleValuePairSet
70 CompatibleHandleValuePairSet(MapType *AHVM);
71 CompatibleHandleValuePairSet(
const MapType *AHVM);
72 ~CompatibleHandleValuePairSet();
74 unsigned long size()
const ;
75 HandleType getHandle(
unsigned long i)
const ;
76 unsigned long getValueLength(
unsigned long i)
const ;
77 void getValue(
unsigned long i,
char* buffer,
unsigned long &valueLength)
const ;
78 char *getValuePointer(
unsigned long i,
unsigned long &valueLength)
const ;
79 void add(HandleType h,
const char* buffer,
unsigned long valueLength);
80 void remove(HandleType h);
85 void updateCachedIterator(
unsigned long i)
const;
88 mutable int myLastPlace;
89 mutable typename MapType::iterator myLastMapPosition;
95 typedef CompatibleHandleValuePairSet<AttributeHandle, AttributeHandleValueMap>
96 AttributeHandleValuePairSet;
98 typedef CompatibleHandleValuePairSet<ParameterHandle, ParameterHandleValueMap>
99 ParameterHandleValuePairSet;
103 typedef unsigned long ULong;
104 typedef ObjectInstanceHandle ObjectHandle;
107 #elif DtHLA_1516_EVOLVED
109 #include <RTI/RTI1516.h>
114 (std::ostream& os,
const rti1516e::ObjectInstanceHandle& handle);
118 (std::ostream& os,
const rti1516e::ObjectClassHandle& handle);
122 (std::ostream& os,
const rti1516e::InteractionClassHandle& handle);
126 (std::ostream& os,
const rti1516e::AttributeHandle& handle);
130 (std::ostream& os,
const rti1516e::ParameterHandle& handle);
134 (std::ostream& os,
const rti1516e::Exception& exception);
150 template <
typename HandleType,
typename MapType>
151 class CompatibleHandleValuePairSet
155 CompatibleHandleValuePairSet(MapType* AHVM);
156 CompatibleHandleValuePairSet(
const MapType* AHVM);
157 ~CompatibleHandleValuePairSet();
159 unsigned long size()
const;
160 HandleType getHandle(
unsigned long i)
const;
161 unsigned long getValueLength(
unsigned long i)
const;
162 void getValue(
unsigned long i,
char* buffer,
unsigned long& valueLength)
const;
163 char* getValuePointer(
unsigned long i,
unsigned long& valueLength)
const;
164 void add(HandleType h,
const char* buffer,
unsigned long valueLength);
165 void remove(HandleType h);
170 void updateCachedIterator(
unsigned long i)
const;
173 mutable int myLastPlace;
174 mutable typename MapType::iterator myLastMapPosition;
180 typedef CompatibleHandleValuePairSet<AttributeHandle, AttributeHandleValueMap>
181 AttributeHandleValuePairSet;
183 typedef CompatibleHandleValuePairSet<ParameterHandle, ParameterHandleValueMap>
184 ParameterHandleValuePairSet;
188 typedef unsigned long ULong;
189 typedef ObjectInstanceHandle ObjectHandle;
195 #include <RTI/RTI1516.h>
200 (std::ostream& os,
const rti1516::ObjectInstanceHandle& handle);
204 (std::ostream& os,
const rti1516::ObjectClassHandle& handle);
208 (std::ostream& os,
const rti1516::InteractionClassHandle& handle);
212 (std::ostream& os,
const rti1516::AttributeHandle& handle);
216 (std::ostream& os,
const rti1516::ParameterHandle& handle);
220 (std::ostream& os,
const rti1516::Exception& exception);
236 template <
typename HandleType,
typename MapType>
237 class CompatibleHandleValuePairSet
241 CompatibleHandleValuePairSet(MapType *AHVM);
242 CompatibleHandleValuePairSet(
const MapType *AHVM);
243 ~CompatibleHandleValuePairSet();
245 inline unsigned long size()
const ;
246 inline HandleType getHandle(
unsigned long i)
const ;
247 inline unsigned long getValueLength(
unsigned long i)
const ;
248 inline void getValue(
unsigned long i,
char* buffer,
unsigned long &valueLength)
const ;
249 inline char *getValuePointer(
unsigned long i,
unsigned long &valueLength)
const ;
250 inline void add(HandleType h,
const char* buffer,
unsigned long valueLength);
251 inline void remove(HandleType h);
256 void updateCachedIterator(
unsigned long i)
const;
259 mutable int myLastPlace;
260 mutable typename MapType::iterator myLastMapPosition;
266 typedef CompatibleHandleValuePairSet<AttributeHandle, AttributeHandleValueMap>
267 AttributeHandleValuePairSet;
269 typedef CompatibleHandleValuePairSet<ParameterHandle, ParameterHandleValueMap>
270 ParameterHandleValuePairSet;
274 typedef unsigned long ULong;
275 typedef ObjectInstanceHandle ObjectHandle;
279 #endif //DtHLA_1516_EVOLVED
281 #define INCLUDE_rtiCompataibility_inl_
282 #include "rtiCompatibility.inl"
283 #undef INCLUDE_rtiCompataibility_inl_
289 #if !defined(_WIN32) && !defined(RTI_USES_STD_FSTREAM) && !defined(__darwin__)
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
std::ostream & operator<<(std::ostream &os, const Dt3dChord &chord)
This file contains typedefs for machine dependant types.