![]() |
VR-Forces 4.5 Class Documentation
|
Classes | |
| class | DtGenericAttributeDecoder |
| class | DtGenericAttributeEncoder |
| class | DtGenericAttributeInfo |
| class | DtGenericAttributeStateRepository |
| This template class can be used to extend any existing State Repository class to add the ability to process generic attributes from an extended subclass of the FOM class handled by the original SR class. More... | |
Functions | |
| template<typename StateRepType > | |
| void | setAttributeNameToHandleMap (DtObjClassDesc *desc) |
| Sets the attribute name to handle map for the generic state rep for the given FOM class. | |
| bool | areClassNamesEquivalent (const DtString &name1, const DtString &name2) |
| template<typename StateRepType , typename EncoderType , typename PublisherType , typename ReflectedObjType > | |
| void | registerGenericAttributeClass (const DtString &fullClassName, const DtString &publisherName, const DtString &reflListName, DtExerciseConn *exConn) |
| Registers the necessary state rep creators, encoder, decoder, and checker functions for the given FOM class which extends a supported VR-Link class. | |
| template<typename StateRepType , typename EncoderType , typename PublisherType , typename ReflectedObjType > | |
| void | registerGenericAttributeClass (const std::vector< DtString > &fullClassNames, const DtString &publisherName, const DtString &reflListName, DtFomMapper::DtObjectClassChooser classChooser, DtExerciseConn *exConn) |
| Registers the necessary state rep creators, encoder, decoder, and checker functions for the given FOM classes which extend a supported VR-Link class. | |
| void makVrfVrlinkExtToolkit::setAttributeNameToHandleMap | ( | DtObjClassDesc * | desc | ) |
Sets the attribute name to handle map for the generic state rep for the given FOM class.
References makVrfVrlinkExtToolkit::DtGenericAttributeStateRepository< BaseSR >::setAttributeNameToHandleMap().
| bool makVrfVrlinkExtToolkit::areClassNamesEquivalent | ( | const DtString & | name1, |
| const DtString & | name2 | ||
| ) |
Referenced by registerGenericAttributeClass().
| void makVrfVrlinkExtToolkit::registerGenericAttributeClass | ( | const DtString & | fullClassName, |
| const DtString & | publisherName, | ||
| const DtString & | reflListName, | ||
| DtExerciseConn * | exConn | ||
| ) |
Registers the necessary state rep creators, encoder, decoder, and checker functions for the given FOM class which extends a supported VR-Link class.
All attributes of the subclass will be stored in a generic attribute list without encoding or decoding. This function should be used to extend VR-Link classes which support only one FOM class (e.g. AggregateEntity).
References areClassNamesEquivalent(), and makVrfVrlinkExtToolkit::DtGenericAttributeEncoder< StateRepType, EncoderType >::create().
| void makVrfVrlinkExtToolkit::registerGenericAttributeClass | ( | const std::vector< DtString > & | fullClassNames, |
| const DtString & | publisherName, | ||
| const DtString & | reflListName, | ||
| DtFomMapper::DtObjectClassChooser | classChooser, | ||
| DtExerciseConn * | exConn | ||
| ) |
Registers the necessary state rep creators, encoder, decoder, and checker functions for the given FOM classes which extend a supported VR-Link class.
All attributes of the subclasses will be stored in a generic attribute list without encoding or decoding. This function should be used to extend VR-Link classes which support many FOM classes (e.g. PhysicalEntity and its subclasses). The FOM class published by a publisher is chosen by a chooser function which must be supplied
References areClassNamesEquivalent(), and makVrfVrlinkExtToolkit::DtGenericAttributeEncoder< StateRepType, EncoderType >::create().