template<typename VreGlstudioUpdater, typename GlstudioUpdaterCreator>
class makVre::DtVreGlstudioUpdaterCreator< VreGlstudioUpdater, GlstudioUpdaterCreator >
- Template Parameters
-
| VreGlstudioUpdater | Updater class to create |
| GlstudioUpdaterCreator | Base creator class |
Factory template that creates instances of GLStudio updaters with simulation state awareness. It allows replacing existing updaters or creating new ones.
template<typename VreGlstudioUpdater, typename GlstudioUpdaterCreator>
| makVre::DtVreGlstudioUpdaterCreator< VreGlstudioUpdater, GlstudioUpdaterCreator >::DtVreGlstudioUpdaterCreator |
( |
const std::string & | stateAttribute, |
|
|
const std::string & | name ) |
|
inline |
Constructor for creating a new updater with a custom name.
- Parameters
-
| stateAttribute | Name of the state attribute to associate with |
| name | Custom name for the updater |
Use this constructor to install this updater with a new name, instead of replacing the base class updater.
References myStateAttribute.