![]() |
VR-Link API Documentation for HLA 1516
|
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 |
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.
| DtPduKindStringMap::DtPduKindStringMap | ( | ) |
| DtPduKindStringMap::~DtPduKindStringMap | ( | ) |
| const char* DtPduKindStringMap::addMapping | ( | DtPduKind | id, |
| const char * | str, | ||
| int | warn = 0 |
||
| ) |
| const char* DtPduKindStringMap::string | ( | DtPduKind | id | ) | const |
|
protected |