![]() |
VR-Link API Documentation for HLA 1516
|
This file provides a declaration of the class DtRRBIffEncoder. More...
Go to the source code of this file.
Classes | |
| class | DtRRBIffEncoder |
Macros | |
| #define | DtDECLARE_RRB_IFF_ATTR_ENCODER(attrName) DtDECLARE_ATTR_ENCODER(DtIffStateRepository, attrName) |
| This one can be used to declare the attribute decoding functions, which are static members of DtNatoIffEncoder. | |
| #define | DtDECLARE_RRB_IFF_ATTR_CHECKER(attrName) DtDECLARE_ATTR_CHECKER(DtIffStateRepository, attrName) |
| #define | DtDEFINE_SIMPLE_RRB_IFF_ATTR_CHECKER(attrName, inspector) |
| This macro is used to define simple attribute checking functions (members of a derived DtHlaStateEncoder that check whether a particular attribute's update condition has been met. | |
| #define | DtDEFINE_SIMPLE_RRB_IFF_ATTR_ENCODER(attrName, netType, mutator) |
| This one can be used to define a slightly-less-simple attribute decoder that requires an explicit cast to convert from the FOM representation to the native representation expected by the mutator. | |
This file provides a declaration of the class DtRRBIffEncoder.
| #define DtDECLARE_RRB_IFF_ATTR_CHECKER | ( | attrName | ) | DtDECLARE_ATTR_CHECKER(DtIffStateRepository, attrName) |
| #define DtDECLARE_RRB_IFF_ATTR_ENCODER | ( | attrName | ) | DtDECLARE_ATTR_ENCODER(DtIffStateRepository, attrName) |
This one can be used to declare the attribute decoding functions, which are static members of DtNatoIffEncoder.
This uses a more general macro defined in hStateEncoder.h.
| #define DtDEFINE_SIMPLE_RRB_IFF_ATTR_CHECKER | ( | attrName, | |
| inspector | |||
| ) |
This macro is used to define simple attribute checking functions (members of a derived DtHlaStateEncoder that check whether a particular attribute's update condition has been met.
The "simple" implementation is to just compare the values returned by the two StateReps' inspector functions to see if they differ.
| #define DtDEFINE_SIMPLE_RRB_IFF_ATTR_ENCODER | ( | attrName, | |
| netType, | |||
| mutator | |||
| ) |
This one can be used to define a slightly-less-simple attribute decoder that requires an explicit cast to convert from the FOM representation to the native representation expected by the mutator.
Arguments are the same as the macro above, with a fourth argument which is a cast expression to be used to cast the "net" type to the type expected by the mutator.