![]() |
VR-Link API Documentation for HLA 1.3
|
If you define DtSIMPLE_RPR to 1, and include this file, then this file defines a class called DtSimpleFomMapper - a FOM Mapper that contains mappings for only the subset of RPR FOM objects/interactions that are used by most MAK tools. More...
Inheritance diagram for DtRprFomMapper:
Collaboration diagram for DtRprFomMapper:Public Member Functions | |
| DtRprFomMapper (double vers=1.0, int rev=1) | |
| default constructor w | |
| virtual | ~DtRprFomMapper () |
| destructor | |
| virtual void | init (DtExerciseConn *conn) |
| Virtual function override. | |
Static Public Member Functions | |
| static DtFomMapper * | create (void *usr) |
| Creator function - returns new instance of DtRprFomMapper. | |
| static char * | dfltEntityClassChooser (const char *vrlinkClassName, DtExerciseConn *exConn, void *usr) |
| The default entity class chooser function. | |
| static char * | entityClassChooser08 (const char *vrlinkClassName, DtExerciseConn *exConn, void *usr) |
| The entity class chooser function for RPR FOM version 0.8. | |
| static char * | entityClassChooserPre08 (const char *vrlinkClassName, DtExerciseConn *exConn, void *usr) |
| The entity class chooser function for older RPR FOM versions. | |
| static char * | dfltEmitterBeamClassChooser (const char *vrlinkClassName, DtExerciseConn *exConn, void *usr) |
| The default emitter beam class chooser function. | |
| static char * | emitterBeamClassChooserPre08 (const char *vrlinkClassName, DtExerciseConn *exConn, void *usr) |
| The default emitter beam class chooser function. | |
| static char * | dfltSignalClassChooser (DtExerciseConn *exConn, const DtInteraction &inter) |
| The default signal class chooser function. | |
| static char * | dfltIffClassChooser (const char *vrlinkClassName, DtExerciseConn *exConn, void *usr) |
| The default iff class chooser function. | |
| static char * | dfltPointObjClassChooser (const char *vrlinkClassName, DtExerciseConn *exConn, void *usr) |
| The default point object class chooser function. | |
| static char * | dfltArealObjClassChooser (const char *vrlinkClassName, DtExerciseConn *exConn, void *usr) |
| The default areal object class chooser function. | |
| static char * | dfltLinearObjClassChooser (const char *vrlinkClassName, DtExerciseConn *exConn, void *usr) |
| The default linear object class chooser function. | |
| static char * | dfltArealObjTransClassChooser (DtExerciseConn *exConn, const DtInteraction &inter) |
| The default areal object transaction class chooser function. | |
| static char * | dfltLinearObjTransClassChooser (DtExerciseConn *exConn, const DtInteraction &inter) |
| The default linear object transaction class chooser function. | |
| static char * | dfltPointObjTransClassChooser (DtExerciseConn *exConn, const DtInteraction &inter) |
| The default point object transaction class chooser function. | |
Protected Member Functions | |
| DtRprFomMapper (const DtRprFomMapper &orig) | |
| copy constructor | |
| DtRprFomMapper & | operator= (const DtRprFomMapper &orig) |
| assignment operator | |
| virtual void | initInterClasses () |
| Set myInterClasses to contain default mappings. | |
| virtual void | initObjClasses () |
| Set myObjClassesClasses to contain default mappings. | |
| virtual void | initObjChoosers () |
| Setup the object class choosers. | |
| virtual void | initInterChoosers () |
| Setup the interaction class choosers. | |
If you define DtSIMPLE_RPR to 1, and include this file, then this file defines a class called DtSimpleFomMapper - a FOM Mapper that contains mappings for only the subset of RPR FOM objects/interactions that are used by most MAK tools.
Instances of DtRprFomMapper are DtFomMappers configured to map between VR-Link classes and functionality to RPR FOM classes, attributes and parameters. Note that there is also a revision number that exists for each RPR FOM version. The following describes the fixes made for each revision. In order to take advantage of a fix, the user will need to provide the revision number, either through instantiation of the DtRprFomMapper class, or through the DtVrlApplicationInitializer. Note that setting the revision to a number will also pick up all fixes in previous revisions - i.e. setting revision to 3 will pick up revision 2 fixes as well.
| DtRprFomMapper::DtRprFomMapper | ( | double | vers = 1.0, |
| int | rev = 1 |
||
| ) |
default constructor w
| vers | The version of the FOM to use |
| rev | The revision of the FOM Mapper for vers FOM. |
| virtual DtRprFomMapper::~DtRprFomMapper | ( | ) | [virtual] |
destructor
| DtRprFomMapper::DtRprFomMapper | ( | const DtRprFomMapper & | orig | ) | [protected] |
copy constructor
| static DtFomMapper* DtRprFomMapper::create | ( | void * | usr | ) | [static] |
Creator function - returns new instance of DtRprFomMapper.
usr is cast to a pointer to double. If the pointer is NULL, or the value pointed to is 0.0, the default version is used in the DtRprFomMapper constructor. Otherwise the value is passed to the DtRprFomMapper constructor as the version number.
Reimplemented from DtEmptyFomMapper.
| static char* DtRprFomMapper::dfltArealObjClassChooser | ( | const char * | vrlinkClassName, |
| DtExerciseConn * | exConn, | ||
| void * | usr | ||
| ) | [static] |
The default areal object class chooser function.
| static char* DtRprFomMapper::dfltArealObjTransClassChooser | ( | DtExerciseConn * | exConn, |
| const DtInteraction & | inter | ||
| ) | [static] |
The default areal object transaction class chooser function.
| static char* DtRprFomMapper::dfltEmitterBeamClassChooser | ( | const char * | vrlinkClassName, |
| DtExerciseConn * | exConn, | ||
| void * | usr | ||
| ) | [static] |
The default emitter beam class chooser function.
| static char* DtRprFomMapper::dfltEntityClassChooser | ( | const char * | vrlinkClassName, |
| DtExerciseConn * | exConn, | ||
| void * | usr | ||
| ) | [static] |
The default entity class chooser function.
Referenced by DtF18EntityChooser().
| static char* DtRprFomMapper::dfltIffClassChooser | ( | const char * | vrlinkClassName, |
| DtExerciseConn * | exConn, | ||
| void * | usr | ||
| ) | [static] |
The default iff class chooser function.
| static char* DtRprFomMapper::dfltLinearObjClassChooser | ( | const char * | vrlinkClassName, |
| DtExerciseConn * | exConn, | ||
| void * | usr | ||
| ) | [static] |
The default linear object class chooser function.
| static char* DtRprFomMapper::dfltLinearObjTransClassChooser | ( | DtExerciseConn * | exConn, |
| const DtInteraction & | inter | ||
| ) | [static] |
The default linear object transaction class chooser function.
| static char* DtRprFomMapper::dfltPointObjClassChooser | ( | const char * | vrlinkClassName, |
| DtExerciseConn * | exConn, | ||
| void * | usr | ||
| ) | [static] |
The default point object class chooser function.
| static char* DtRprFomMapper::dfltPointObjTransClassChooser | ( | DtExerciseConn * | exConn, |
| const DtInteraction & | inter | ||
| ) | [static] |
The default point object transaction class chooser function.
| static char* DtRprFomMapper::dfltSignalClassChooser | ( | DtExerciseConn * | exConn, |
| const DtInteraction & | inter | ||
| ) | [static] |
The default signal class chooser function.
| static char* DtRprFomMapper::emitterBeamClassChooserPre08 | ( | const char * | vrlinkClassName, |
| DtExerciseConn * | exConn, | ||
| void * | usr | ||
| ) | [static] |
The default emitter beam class chooser function.
| static char* DtRprFomMapper::entityClassChooser08 | ( | const char * | vrlinkClassName, |
| DtExerciseConn * | exConn, | ||
| void * | usr | ||
| ) | [static] |
The entity class chooser function for RPR FOM version 0.8.
| static char* DtRprFomMapper::entityClassChooserPre08 | ( | const char * | vrlinkClassName, |
| DtExerciseConn * | exConn, | ||
| void * | usr | ||
| ) | [static] |
The entity class chooser function for older RPR FOM versions.
| virtual void DtRprFomMapper::init | ( | DtExerciseConn * | conn | ) | [virtual] |
Virtual function override.
init actually initializes most data. It is called from DtExerciseConn constructor.
Reimplemented from DtEmptyFomMapper.
| virtual void DtRprFomMapper::initInterChoosers | ( | ) | [protected, virtual] |
Setup the interaction class choosers.
| virtual void DtRprFomMapper::initInterClasses | ( | ) | [protected, virtual] |
Set myInterClasses to contain default mappings.
| virtual void DtRprFomMapper::initObjChoosers | ( | ) | [protected, virtual] |
Setup the object class choosers.
| virtual void DtRprFomMapper::initObjClasses | ( | ) | [protected, virtual] |
Set myObjClassesClasses to contain default mappings.
| DtRprFomMapper& DtRprFomMapper::operator= | ( | const DtRprFomMapper & | orig | ) | [protected] |
assignment operator