24 #if DtHLA_1516_EVOLVED
26 #include <RTI/RTI1516.h>
31 (std::ostream& os,
const rti1516e::ObjectInstanceHandle& handle);
35 (std::ostream& os,
const rti1516e::ObjectClassHandle& handle);
39 (std::ostream& os,
const rti1516e::InteractionClassHandle& handle);
43 (std::ostream& os,
const rti1516e::AttributeHandle& handle);
47 (std::ostream& os,
const rti1516e::ParameterHandle& handle);
51 (std::ostream& os,
const rti1516e::Exception& exception);
67 template <
typename HandleType,
typename MapType>
68 class CompatibleHandleValuePairSet
72 CompatibleHandleValuePairSet(MapType *AHVM);
73 CompatibleHandleValuePairSet(
const MapType *AHVM);
74 ~CompatibleHandleValuePairSet();
76 unsigned long size()
const ;
77 HandleType getHandle(
unsigned long i)
const ;
78 unsigned long getValueLength(
unsigned long i)
const ;
79 void getValue(
unsigned long i,
char* buffer,
unsigned long &valueLength)
const ;
80 char *getValuePointer(
unsigned long i,
unsigned long &valueLength)
const ;
81 void add(HandleType h,
const char* buffer,
unsigned long valueLength);
82 void remove(HandleType h);
87 void updateCachedIterator(
unsigned long i)
const;
90 mutable int myLastPlace;
91 mutable typename MapType::iterator myLastMapPosition;
97 typedef CompatibleHandleValuePairSet<AttributeHandle, AttributeHandleValueMap>
100 typedef CompatibleHandleValuePairSet<ParameterHandle, ParameterHandleValueMap>
105 typedef unsigned long ULong;
112 #include <RTI/RTI1516.h>
117 (std::ostream& os,
const rti1516::ObjectInstanceHandle& handle);
121 (std::ostream& os,
const rti1516::ObjectClassHandle& handle);
125 (std::ostream& os,
const rti1516::InteractionClassHandle& handle);
129 (std::ostream& os,
const rti1516::AttributeHandle& handle);
133 (std::ostream& os,
const rti1516::ParameterHandle& handle);
137 (std::ostream& os,
const rti1516::Exception& exception);
153 template <
typename HandleType,
typename MapType>
162 inline unsigned long size()
const ;
163 inline HandleType
getHandle(
unsigned long i)
const ;
165 inline void getValue(
unsigned long i,
char* buffer,
unsigned long &valueLength)
const ;
166 inline char *
getValuePointer(
unsigned long i,
unsigned long &valueLength)
const ;
167 inline void add(HandleType h,
const char* buffer,
unsigned long valueLength);
168 inline void remove(HandleType h);
196 #endif //DtHLA_1516_EVOLVED
198 #define INCLUDE_rtiCompataibility_inl_
199 #include "rtiCompatibility.inl"
200 #undef INCLUDE_rtiCompataibility_inl_
206 #if !defined(_WIN32) && !defined(RTI_USES_STD_FSTREAM) && !defined(__darwin__)
unsigned long getValueLength(unsigned long i) const
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
void add(HandleType h, const char *buffer, unsigned long valueLength)
CompatibleHandleValuePairSet(MapType *AHVM)
std::ostream & operator<<(std::ostream &os, const Dt3dChord &chord)
MapType::iterator myLastMapPosition
Definition: rtiCompatibility.h:177
void getValue(unsigned long i, char *buffer, unsigned long &valueLength) const
void updateCachedIterator(unsigned long i) const
int myLastPlace
Definition: rtiCompatibility.h:176
unsigned long size() const
ObjectInstanceHandle ObjectHandle
Definition: rtiCompatibility.h:192
MapType * myMap
Definition: rtiCompatibility.h:175
char * getValuePointer(unsigned long i, unsigned long &valueLength) const
CompatibleHandleValuePairSet< AttributeHandle, AttributeHandleValueMap > AttributeHandleValuePairSet
Define the two classes with different names, but the same functionality.
Definition: rtiCompatibility.h:184
Used to provide backwards compatibility for VR-Link Encoders and Decoders who use either AttributeHan...
Definition: rtiCompatibility.h:154
CompatibleHandleValuePairSet< ParameterHandle, ParameterHandleValueMap > ParameterHandleValuePairSet
Definition: rtiCompatibility.h:187
unsigned long ULong
These typedefs are provided for source compatibility.
Definition: rtiCompatibility.h:191
HandleType getHandle(unsigned long i) const
This file contains typedefs for machine dependant types.
~CompatibleHandleValuePairSet()