|
VR-Engage
2.2
|
Extends the base configuration element with type-specific storage and update logic. Specializations exist for certain types that require custom handling (e.g., DtVector).
#include <vortexConfiguration.h>
Public Member Functions | |
| DtVortexConfigurationElement (VxData::FieldBase *field) | |
| virtual | ~DtVortexConfigurationElement () override |
| virtual bool | updateConfigValue () override |
| T | value () |
| void | setValue (const T &val) |
Public Member Functions inherited from makVre::DtVortexConfigurationBaseElement | |
| DtVortexConfigurationBaseElement (VxData::FieldBase *field) | |
| virtual | ~DtVortexConfigurationBaseElement () |
| virtual VxData::FieldBase * | getField () |
| virtual void | setField (VxData::FieldBase *fb) |
| virtual const Vx::VxID & | vxId () |
| virtual void | setVxId (const Vx::VxID &vortexId) |
Protected Attributes | |
| T | myValue |
Protected Attributes inherited from makVre::DtVortexConfigurationBaseElement | |
| VxData::FieldBase * | myVortexField |
| Vx::VxID | myVortexId |
|
explicit |
Constructor with field initialization.
Creates a typed configuration element associated with the specified Vortex field.
| field | Pointer to the Vortex field to be configured |
|
overridevirtual |
Virtual destructor.
Allows for proper cleanup of derived classes.
|
overridevirtual |
Updates the Vortex field with the stored value.
Implements the pure virtual function from the base class to set the value in the Vortex field.
Implements makVre::DtVortexConfigurationBaseElement.
|
inline |
Gets the current configuration value.
References myValue.
| void makVre::DtVortexConfigurationElement< T >::setValue | ( | const T & | val | ) |
Sets the configuration value.
| val | The value to store in this configuration element |
|
protected |
The typed value stored in this configuration element.
Referenced by value().