![]() |
VR-Forces Developer's Guide
|
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.

Public Member Functions | |
| DtObjectClassChooser (DtExerciseConn *exConn, const char *vrlinkClassName) | |
| virtual | ~DtObjectClassChooser () |
| virtual char * | chooseClass (const char *vrlClass, DtExerciseConn *conn, void *fomClassSpecific) |
| virtual void | setNextEntityType (const DtEntityType &entyType) |
Static Public Member Functions | |
| static char * | chooseClass (const char *vrlClass, DtExerciseConn *conn, void *fomClassSpecific, void *usr) |
Protected Attributes | |
| DtFomMapper::DtObjectClassChooserInfo | myDefaultObjectClassChooserInfo |
| DtString | myDefaultClassToChoose |
| DtEntityType | myNextEntityType |
| DtObjectClassChooser::DtObjectClassChooser | ( | DtExerciseConn * | exConn, |
| const char * | vrlinkClassName | ||
| ) |
|
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.
Reimplemented in DtVrfObjectClassChooser.
|
virtual |
Some types of publishers do not support passing the entity/object type in the fomClassSpecific data. For these publishers, setNextEntityType can be used to specify the object type prior to the creation of the publisher.
|
protected |
|
protected |
|
protected |