![]() |
VR-Link API Documentation for HLA 1516
|
Used to provide backwards compatibility for VR-Link Encoders and Decoders who use either AttributeHandleValuePairSet, or ParameterHandleValuePairSet. More...
Collaboration diagram for rti1516::CompatibleHandleValuePairSet< HandleType, MapType >:Public Member Functions | |
| CompatibleHandleValuePairSet (MapType *AHVM) | |
| CompatibleHandleValuePairSet (const MapType *AHVM) | |
| ~CompatibleHandleValuePairSet () | |
| unsigned long | size () const |
| HandleType | getHandle (unsigned long i) const |
| unsigned long | getValueLength (unsigned long i) const |
| void | getValue (unsigned long i, char *buffer, unsigned long &valueLength) const |
| char * | getValuePointer (unsigned long i, unsigned long &valueLength) const |
| void | add (HandleType h, const char *buffer, unsigned long valueLength) |
| void | remove (HandleType h) |
| void | empty () |
Protected Member Functions | |
| void | updateCachedIterator (unsigned long i) const |
Protected Attributes | |
| MapType * | myMap |
| int | myLastPlace |
| MapType::iterator | myLastMapPosition |
Used to provide backwards compatibility for VR-Link Encoders and Decoders who use either AttributeHandleValuePairSet, or ParameterHandleValuePairSet.
In 1516 these both use std::map(s). This class provides a wrapper around a std::map.
It is not a full implementation of AttributeHandleValue set. It is just for backwards compatibility.
MapType is parameterized to handle Attribute Maps and Parameter Maps, which are the exact same thing except strongly typed
| rti1516::CompatibleHandleValuePairSet< HandleType, MapType >::CompatibleHandleValuePairSet | ( | MapType * | AHVM | ) |
| rti1516::CompatibleHandleValuePairSet< HandleType, MapType >::CompatibleHandleValuePairSet | ( | const MapType * | AHVM | ) |
| rti1516::CompatibleHandleValuePairSet< HandleType, MapType >::~CompatibleHandleValuePairSet | ( | ) |
|
inline |
Referenced by DtF18EntityEncoder::encodeSpecialF18Attribute().
|
inline |
|
inline |
|
inline |
Referenced by DtF18EntityDecoder::decodeSpecialF18Attribute().
|
inline |
Referenced by DtF18EntityDecoder::decodeSpecialF18Attribute().
|
inline |
|
inline |
|
inline |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
protected |