![]() |
VR-Forces Developer's Guide
|
Go to the source code of this file.
Classes | |
| class | DtSensorFieldOfViewEncoder |
Macros | |
| #define | DtDECLARE_SENSOR_FOV_ATTR_CHECKER(attrName) DtDECLARE_ATTR_CHECKER(DtSensorFieldOfViewStateRepository, attrName) |
| #define | DtDECLARE_SENSOR_FOV_ATTR_ENCODER(attrName) DtDECLARE_ATTR_ENCODER(DtSensorFieldOfViewStateRepository, attrName) |
| #define | DtDEFINE_SIMPLE_SENSOR_FOV_ATTR_ENCODER(attrName, netType, inspector) |
| #define | DtDEFINE_SIMPLE_SENSOR_FOV_ATTR_CHECKER(attrName, inspector) |
Contains the DtSensorFieldOfViewEncoder class declaration.
| #define DtDECLARE_SENSOR_FOV_ATTR_CHECKER | ( | attrName | ) | DtDECLARE_ATTR_CHECKER(DtSensorFieldOfViewStateRepository, attrName) |
This is used to declare static member functions for determining whether or not an attribute needs to be encoded.
| #define DtDECLARE_SENSOR_FOV_ATTR_ENCODER | ( | attrName | ) | DtDECLARE_ATTR_ENCODER(DtSensorFieldOfViewStateRepository, attrName) |
This is used to declare attribute encoding functions which are members of the class.
| #define DtDEFINE_SIMPLE_SENSOR_FOV_ATTR_ENCODER | ( | attrName, | |
| netType, | |||
| inspector | |||
| ) |
These macros are used to define simple attribute encoder functions (members of a derived DtHlaStateEncoder that encode individual attributes). The simple encoding is just toimplicitly convert the value returned by the inspector to a netType, and add it to the ahvps.
| #define DtDEFINE_SIMPLE_SENSOR_FOV_ATTR_CHECKER | ( | attrName, | |
| inspector | |||
| ) |
This macro is used to define simple attribute checker functions (members of a derived DtHlaStateEncoder that check whether a particular attribute is out of date.) The simple implementation is to just compare the values returned by the two StateReps' inspector functions.