![]() |
VR-Link API Documentation for HLA 1.3
|
This file provides a declaration of the class DtCulturalFeatureDecoder. More...
Go to the source code of this file.
Classes | |
| class | DtCulturalFeatureDecoder |
| Instances of DtCulturalFeatureDecoder are used to decode a military platform entity state message into a state repository in an HLA (as opposed to DIS) environment. More... | |
Macros | |
| #define | DtDEFINE_SIMPLE_CULT_FEAT_ATTR_DECODER_WITH_CAST(attrName, netType, mutator, castExpr) |
| These macros are used to define simple attribute decoder functions (members of a derived DtHlaStateDecoder that decode individual attributes). More... | |
| #define | DtDEFINE_CULT_FEAT_LIGHT_ATTR_DECODER(attrName, arg1) DtDEFINE_LIGHT_ATTR_DECODER(DtCulturalFeatureDecoder, attrName, arg1) |
This file provides a declaration of the class DtCulturalFeatureDecoder.
| #define DtDEFINE_CULT_FEAT_LIGHT_ATTR_DECODER | ( | attrName, | |
| arg1 | |||
| ) | DtDEFINE_LIGHT_ATTR_DECODER(DtCulturalFeatureDecoder, attrName, arg1) |
| #define DtDEFINE_SIMPLE_CULT_FEAT_ATTR_DECODER_WITH_CAST | ( | attrName, | |
| netType, | |||
| mutator, | |||
| castExpr | |||
| ) |
These macros are used to define simple attribute decoder functions (members of a derived DtHlaStateDecoder that decode individual attributes).
The simple decoding is just to convert the value pulled out of the ahvps to a host type using the cast expression castExpr, and pass it to the mutator function.