![]() |
VR-Forces 4.3.1 Class Documentation
|
Decoder for converting a particular entity type's appearance bits into generic enumerated values. More...
Classes | |
| struct | StateInfo |
Public Types | |
| typedef std::map< int, int > | AttributeToStateMap |
| typedef std::map< int, StateInfo > | AttributeToStateInfoMap |
Public Member Functions | |
| DtEntityAppearanceMapper (const DtEntityType &type, const AttributeToStateMap &appearanceMap) | |
| CTOR. | |
| virtual | ~DtEntityAppearanceMapper () |
| DTOR. | |
| bool | mapAttributeToState (const DtAppearAttribute attr, const DtAppearAttrVal val, int &state, int &stateVal) const |
| Virtual map function. | |
| const AttributeToStateInfoMap & | attributes () const |
| const DtEntityType & | entityType () const |
Protected Attributes | |
| DtEntityType | myEntityType |
| AttributeToStateInfoMap | myAttributesToStateMap |
Decoder for converting a particular entity type's appearance bits into generic enumerated values.
| typedef std::map<int,int> makVrv::DtEntityAppearanceMapper::AttributeToStateMap |
| typedef std::map<int,StateInfo> makVrv::DtEntityAppearanceMapper::AttributeToStateInfoMap |
| makVrv::DtEntityAppearanceMapper::DtEntityAppearanceMapper | ( | const DtEntityType & | type, |
| const AttributeToStateMap & | appearanceMap | ||
| ) |
CTOR.
|
virtual |
DTOR.
| bool makVrv::DtEntityAppearanceMapper::mapAttributeToState | ( | const DtAppearAttribute | attr, |
| const DtAppearAttrVal | val, | ||
| int & | state, | ||
| int & | stateVal | ||
| ) | const |
Virtual map function.
|
inline |
|
inline |
|
protected |
|
protected |