![]() |
VR-Link API Documentation for HLA 1.3
|
This file provides a declaration of the class DtBaseEntityDecoder. More...
Go to the source code of this file.
Classes | |
| class | DtBaseEntityDecoder |
| Instances of DtBaseEntityDecoder are used to decode a base entity state message into a state repository in an HLA (as opposed to DIS) environment. More... | |
Macros | |
| #define | DtDECLARE_ENTITY_ATTR_DECODER(attrName) DtDECLARE_ATTR_DECODER(DtEntityStateRepository, attrName) |
| This is used to declare attribute decoding functions which are members of the class. More... | |
| #define | DtDECLARE_AGGREGATE_ATTR_DECODER(attrName) DtDECLARE_ATTR_DECODER(DtAggregateStateRepository, attrName) |
| This is used to declare attribute decoding functions which are members of the class. More... | |
| #define | DtDECLARE_BASE_ENTITY_ATTR_DECODER(attrName) DtDECLARE_ATTR_DECODER(DtBaseEntityStateRepository, attrName) |
| This is used to declare attribute decoding functions which are members of the class. More... | |
| #define | DtDEFINE_SIMPLE_BASE_ENTITY_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_BASE_ENTITY_ATTR_DECODER(attrName, netType, inspector) |
| #define | DtDEFINE_SIMPLE_BASE_ENTITY_ATTR_DECODER_MUTATOR_WITH_TIME(attrName, netType, mutator) |
| Defines a "simple" attribute decoder. More... | |
This file provides a declaration of the class DtBaseEntityDecoder.
| #define DtDECLARE_AGGREGATE_ATTR_DECODER | ( | attrName | ) | DtDECLARE_ATTR_DECODER(DtAggregateStateRepository, attrName) |
This is used to declare attribute decoding functions which are members of the class.
| #define DtDECLARE_BASE_ENTITY_ATTR_DECODER | ( | attrName | ) | DtDECLARE_ATTR_DECODER(DtBaseEntityStateRepository, attrName) |
This is used to declare attribute decoding functions which are members of the class.
| #define DtDECLARE_ENTITY_ATTR_DECODER | ( | attrName | ) | DtDECLARE_ATTR_DECODER(DtEntityStateRepository, attrName) |
This is used to declare attribute decoding functions which are members of the class.
| #define DtDEFINE_SIMPLE_BASE_ENTITY_ATTR_DECODER | ( | attrName, | |
| netType, | |||
| inspector | |||
| ) |
| #define DtDEFINE_SIMPLE_BASE_ENTITY_ATTR_DECODER_MUTATOR_WITH_TIME | ( | attrName, | |
| netType, | |||
| mutator | |||
| ) |
Defines a "simple" attribute decoder.
One in which we merely extracts the data from the AHVPS into a variable of the named network type. The network variable is passed to the named repository mutator. The network type must have an implicit cast to the type expected by the mutator. Arguments are the decoder class, the state repository class, the attribute name, the network type, and the mutator.
| #define DtDEFINE_SIMPLE_BASE_ENTITY_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.