![]() |
VR-Link API Documentation for HLA 4
|
This file provides a declaration of the class DtSensorDecoder. More...
Go to the source code of this file.
Classes | |
| class | DtSensorDecoder |
| class DtSensorDecoder: More... | |
Macros | |
| #define | DtDEFINE_SIMPLE_SENSOR_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_SIMPLE_SENSOR_ATTR_DECODER(attrName, netType, inspector) |
| #define | DtDEFINE_SENSOR_LIGHT_ATTR_DECODER(attrName, arg1) DtDEFINE_LIGHT_ATTR_DECODER(DtSensorDecoder, attrName, arg1) |
This file provides a declaration of the class DtSensorDecoder.
| #define DtDEFINE_SENSOR_LIGHT_ATTR_DECODER | ( | attrName, | |
| arg1 | |||
| ) | DtDEFINE_LIGHT_ATTR_DECODER(DtSensorDecoder, attrName, arg1) |
| #define DtDEFINE_SIMPLE_SENSOR_ATTR_DECODER | ( | attrName, | |
| netType, | |||
| inspector | |||
| ) |
| #define DtDEFINE_SIMPLE_SENSOR_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.