23 #if DtHLA_1516_EVOLVED
25 #include <RTI/RTI1516.h>
30 (std::ostream& os,
const rti1516e::ObjectInstanceHandle& handle);
34 (std::ostream& os,
const rti1516e::ObjectClassHandle& handle);
38 (std::ostream& os,
const rti1516e::InteractionClassHandle& handle);
42 (std::ostream& os,
const rti1516e::AttributeHandle& handle);
46 (std::ostream& os,
const rti1516e::ParameterHandle& handle);
50 (std::ostream& os,
const rti1516e::Exception& exception);
66 template <
typename HandleType,
typename MapType>
67 class CompatibleHandleValuePairSet
71 CompatibleHandleValuePairSet(MapType *AHVM);
72 CompatibleHandleValuePairSet(
const MapType *AHVM);
73 ~CompatibleHandleValuePairSet();
75 unsigned long size()
const ;
76 HandleType getHandle(
unsigned long i)
const ;
77 unsigned long getValueLength(
unsigned long i)
const ;
78 void getValue(
unsigned long i,
char* buffer,
unsigned long &valueLength)
const ;
79 char *getValuePointer(
unsigned long i,
unsigned long &valueLength)
const ;
80 void add(HandleType h,
const char* buffer,
unsigned long valueLength);
81 void remove(HandleType h);
86 void updateCachedIterator(
unsigned long i)
const;
89 mutable int myLastPlace;
90 mutable typename MapType::iterator myLastMapPosition;
96 typedef CompatibleHandleValuePairSet<AttributeHandle, AttributeHandleValueMap>
97 AttributeHandleValuePairSet;
99 typedef CompatibleHandleValuePairSet<ParameterHandle, ParameterHandleValueMap>
100 ParameterHandleValuePairSet;
104 typedef unsigned long ULong;
105 typedef ObjectInstanceHandle ObjectHandle;
111 #include <RTI/RTI1516.h>
116 (std::ostream& os,
const rti1516::ObjectInstanceHandle& handle);
120 (std::ostream& os,
const rti1516::ObjectClassHandle& handle);
124 (std::ostream& os,
const rti1516::InteractionClassHandle& handle);
128 (std::ostream& os,
const rti1516::AttributeHandle& handle);
132 (std::ostream& os,
const rti1516::ParameterHandle& handle);
136 (std::ostream& os,
const rti1516::Exception& exception);
152 template <
typename HandleType,
typename MapType>
153 class CompatibleHandleValuePairSet
157 CompatibleHandleValuePairSet(MapType *AHVM);
158 CompatibleHandleValuePairSet(
const MapType *AHVM);
159 ~CompatibleHandleValuePairSet();
161 inline unsigned long size()
const ;
162 inline HandleType getHandle(
unsigned long i)
const ;
163 inline unsigned long getValueLength(
unsigned long i)
const ;
164 inline void getValue(
unsigned long i,
char* buffer,
unsigned long &valueLength)
const ;
165 inline char *getValuePointer(
unsigned long i,
unsigned long &valueLength)
const ;
166 inline void add(HandleType h,
const char* buffer,
unsigned long valueLength);
167 inline void remove(HandleType h);
172 void updateCachedIterator(
unsigned long i)
const;
175 mutable int myLastPlace;
176 mutable typename MapType::iterator myLastMapPosition;
182 typedef CompatibleHandleValuePairSet<AttributeHandle, AttributeHandleValueMap>
183 AttributeHandleValuePairSet;
185 typedef CompatibleHandleValuePairSet<ParameterHandle, ParameterHandleValueMap>
186 ParameterHandleValuePairSet;
190 typedef unsigned long ULong;
191 typedef ObjectInstanceHandle ObjectHandle;
195 #endif //DtHLA_1516_EVOLVED
197 #define INCLUDE_rtiCompataibility_inl_
198 #include "rtiCompatibility.inl"
199 #undef INCLUDE_rtiCompataibility_inl_
205 #if !defined(_WIN32) && !defined(RTI_USES_STD_FSTREAM) && !defined(__darwin__)