![]() |
VR-Link API Documentation for HLA 1516
|
This file provides a declaration of the class DtPlatformDecoder. More...
Go to the source code of this file.
Classes | |
| class | DtPlatformDecoder |
| class DtPlatformDecoder: More... | |
Defines | |
| #define | DtDEFINE_SIMPLE_PLATFORM_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). | |
| #define | DtDEFINE_SIMPLE_PLATFORM_ATTR_DECODER(attrName, netType, inspector) |
| #define | DtDEFINE_PLATFORM_LIGHT_ATTR_DECODER(attrName, arg1) DtDEFINE_LIGHT_ATTR_DECODER(DtPlatformDecoder, attrName, arg1) |
This file provides a declaration of the class DtPlatformDecoder.
| #define DtDEFINE_PLATFORM_LIGHT_ATTR_DECODER | ( | attrName, | |
| arg1 | |||
| ) | DtDEFINE_LIGHT_ATTR_DECODER(DtPlatformDecoder, attrName, arg1) |
| #define DtDEFINE_SIMPLE_PLATFORM_ATTR_DECODER | ( | attrName, | |
| netType, | |||
| inspector | |||
| ) |
DtDEFINE_SIMPLE_PLATFORM_ATTR_DECODER_WITH_CAST( \ attrName, netType, inspector, (netType))
| #define DtDEFINE_SIMPLE_PLATFORM_ATTR_DECODER_WITH_CAST | ( | attrName, | |
| netType, | |||
| mutator, | |||
| castExpr | |||
| ) |
DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \ DtPlatformDecoder, DtEntityStateRepository, \ 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.