VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
DtVrfObjectClassChooser Class Reference

The VR-Forces implementation of the DtObjectClassChooser uses the DtVrfParameterDb to determine what type of object should be published. More...

Inheritance diagram for DtVrfObjectClassChooser:
Inheritance graph
[legend]

Public Member Functions

 DtVrfObjectClassChooser (DtExerciseConn *exConn, const char *vrlinkClassName, DtObjectSuperType superType, DtVrfParameterDb *paramDb)
virtual ~DtVrfObjectClassChooser ()
virtual charchooseClass (const char *vrlClass, DtExerciseConn *conn, void *fomClassSpecific)
 Chooses the class to publish.
virtual void setParameterDb (DtVrfParameterDb *paramDb)
 Sets the current parameter database to use when selecting a class.
virtual const DtVrfParameterDbparameterDb () const
 Gets the current parameter database to use when selecting a class.
- Public Member Functions inherited from DtObjectClassChooser
 DtObjectClassChooser (DtExerciseConn *exConn, const char *vrlinkClassName, DtObjectSuperType superType)
virtual ~DtObjectClassChooser ()
virtual void setNextObjectType (const DtObjectType &objType)
 Some types of publishers do not support passing the entity/object type in the fomClassSpecific data.

Protected Attributes

DtVrfParameterDbmyParameterDb
- Protected Attributes inherited from DtObjectClassChooser
DtFomMapper::DtObjectClassChooserInfo myDefaultObjectClassChooserInfo
DtString myDefaultClassToChoose
DtObjectSuperType mySuperType
DtObjectType myNextObjectType

Additional Inherited Members

- Static Public Member Functions inherited from DtObjectClassChooser
static charchooseClass (const char *vrlClass, DtExerciseConn *conn, void *fomClassSpecific, void *usr)
 Chooses the class to publish.

Detailed Description

The VR-Forces implementation of the DtObjectClassChooser uses the DtVrfParameterDb to determine what type of object should be published.

If the DtVrfParameterDb does not specify, the default is to use the configured VR-Link FOM mapper settings.

Constructor & Destructor Documentation

DtVrfObjectClassChooser::DtVrfObjectClassChooser ( DtExerciseConn *  exConn,
const char vrlinkClassName,
DtObjectSuperType  superType,
DtVrfParameterDb paramDb 
)
virtual DtVrfObjectClassChooser::~DtVrfObjectClassChooser ( )
virtual

Member Function Documentation

virtual char* DtVrfObjectClassChooser::chooseClass ( const char vrlClass,
DtExerciseConn *  conn,
void *  fomClassSpecific 
)
virtual

Chooses the class to publish.

Reimplemented from DtObjectClassChooser.

virtual void DtVrfObjectClassChooser::setParameterDb ( DtVrfParameterDb paramDb)
virtual

Sets the current parameter database to use when selecting a class.

virtual const DtVrfParameterDb* DtVrfObjectClassChooser::parameterDb ( ) const
virtual

Gets the current parameter database to use when selecting a class.

Member Data Documentation

DtVrfParameterDb* DtVrfObjectClassChooser::myParameterDb
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)