![]() |
VR-Vantage 3.0 API Documentation
|
This class is used to choose the object class to publish. More...
Public Member Functions | |
| DtObjectClassChooser (DtExerciseConn *exConn, const char *vrlinkClassName, DtObjectSuperType superType) | |
| virtual | ~DtObjectClassChooser () |
| virtual char * | chooseClass (const char *vrlClass, DtExerciseConn *conn, void *fomClassSpecific) |
| Chooses the class to publish. | |
| virtual void | setNextObjectType (const DtObjectType &objType) |
| Some types of publishers do not support passing the entity/object type in the fomClassSpecific data. | |
Static Public Member Functions | |
| static char * | chooseClass (const char *vrlClass, DtExerciseConn *conn, void *fomClassSpecific, void *usr) |
| Chooses the class to publish. | |
Protected Attributes | |
| DtFomMapper::DtObjectClassChooserInfo | myDefaultObjectClassChooserInfo |
| DtString | myDefaultClassToChoose |
| DtObjectSuperType | mySuperType |
| DtObjectType | myNextObjectType |
This class is used to choose the object class to publish.
By default it uses the classes configured in the VR-Link FOM mapper at the time of construction. Can be subclassed to provide other methods of choosing the object class.
| DtObjectClassChooser::DtObjectClassChooser | ( | DtExerciseConn * | exConn, |
| const char * | vrlinkClassName, | ||
| DtObjectSuperType | superType | ||
| ) |
|
virtual |
|
static |
Chooses the class to publish.
The usr pointer must be an instance of this class. Calls the chooseClass function of that instance.
|
virtual |
Chooses the class to publish.
|
virtual |
Some types of publishers do not support passing the entity/object type in the fomClassSpecific data.
For these publishers, setNextObjectType can be used to specify the object type prior to the creation of the publisher.
|
protected |
|
protected |
|
protected |
|
protected |