VR-Link API Documentation for DIS
List of all members | Public Member Functions | Protected Attributes
DtPduKindStringMap Class Reference

Instances of this class are used to conveniently convert between pdu types and strings. More...

+ Collaboration diagram for DtPduKindStringMap:

Public Member Functions

 DtPduKindStringMap ()
 ~DtPduKindStringMap ()
const char * addMapping (DtPduKind id, const char *str, int warn=0)
const char * string (DtPduKind id) const

Protected Attributes

DtHashlist myMappings

Detailed Description

Instances of this class are used to conveniently convert between pdu types and strings.

VR-Link creates and initializes a global instance of this class at startup. In most cases, users should only use this global instance which they can access using the global functions defined below.

Constructor & Destructor Documentation

DtPduKindStringMap::DtPduKindStringMap ( )
DtPduKindStringMap::~DtPduKindStringMap ( )

Member Function Documentation

const char* DtPduKindStringMap::addMapping ( DtPduKind  id,
const char *  str,
int  warn = 0 
)
const char* DtPduKindStringMap::string ( DtPduKind  id) const

Member Data Documentation

DtHashlist DtPduKindStringMap::myMappings
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)