![]() |
VR-Link API Documentation for HLA 1.3
|
This file provides a declaration of the class DtMinefieldObjectEncoder. More...
Go to the source code of this file.
Classes | |
| class | DtMinefieldObjectEncoder |
| class DtMinefieldObjectEncoder: More... | |
Defines | |
| #define | DtDECLARE_MINE_FIELD_OBJ_ATTR_CHECKER(attrName) DtDECLARE_ATTR_CHECKER(DtArealObjectRepository, attrName) |
| This is used to declare static member functions for determining whether or not an attribute needs to be encoded. | |
| #define | DtDECLARE_MINE_FIELD_OBJ_ATTR_ENCODER(attrName) DtDECLARE_ATTR_ENCODER(DtArealObjectRepository, attrName) |
| This is used to declare attribute encoding functions which are members of the class. | |
| #define | DtDEFINE_SIMPLE_MINE_FIELD_OBJ_ATTR_ENCODER(attrName, netType, inspector) |
| This macro is used to define simple attribute encoder functions (members of a derived DtHlaStateEncoder that encode individual attributes). | |
| #define | DtDEFINE_SIMPLE_MINE_FIELD_OBJ_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. | |
This file provides a declaration of the class DtMinefieldObjectEncoder.
| #define DtDECLARE_MINE_FIELD_OBJ_ATTR_CHECKER | ( | attrName | ) | DtDECLARE_ATTR_CHECKER(DtArealObjectRepository, attrName) |
This is used to declare static member functions for determining whether or not an attribute needs to be encoded.
| #define DtDECLARE_MINE_FIELD_OBJ_ATTR_ENCODER | ( | attrName | ) | DtDECLARE_ATTR_ENCODER(DtArealObjectRepository, attrName) |
This is used to declare attribute encoding functions which are members of the class.
| #define DtDEFINE_SIMPLE_MINE_FIELD_OBJ_ATTR_CHECKER | ( | attrName, | |
| inspector | |||
| ) |
DtDEFINE_SIMPLE_ATTR_CHECKER(DtMinefieldObjectEncoder, \ DtArealObjectRepository, \ 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.
| #define DtDEFINE_SIMPLE_MINE_FIELD_OBJ_ATTR_ENCODER | ( | attrName, | |
| netType, | |||
| inspector | |||
| ) |
DtDEFINE_SIMPLE_ATTR_ENCODER(DtMinefieldObjectEncoder, \ DtArealObjectRepository, \ attrName, netType, inspector)
This macro is used to define simple attribute encoder functions (members of a derived DtHlaStateEncoder that encode individual attributes).
The simple encoding is just to implicitly convert the value returned by the inspector to a netType, and add it to the ahvps.