![]() |
VR-Forces 4.2 Class Documentation
|
Example Settings Manager. More...

Public Member Functions | |
| virtual | ~DtExampleSettingsManager () |
| DTOR. | |
Setters/getters for settings | |
| virtual void | setDummyVal (int val) |
| virtual int | dummyVal () const |
Setting Persistence Methods | |
| void | setFromRecord (const DtExampleSettingsRecord &rec) |
| Set the current settings' state from the given record. | |
| void | getRecord (DtExampleSettingsRecord &rec) const |
| Store the current settings' state in the given record. | |
Static Public Member Functions | |
| static DtExampleSettingsManager & | instance (DtDe &de) |
| Get an instance of the settings manager. | |
Public Attributes | |
Boost signals for changed settings | |
| boost::signal< void(int)> | signal_dummyValSet |
Protected Member Functions | |
| DtExampleSettingsManager (DtDe &) | |
| CTOR. | |
Protected Attributes | |
| int | myDummyVal |
Friends | |
| template<typename ManagerClass > | |
| ManagerClass & | defaultManagerInstanceFunction (DtDe &, bool) |
| Befriend the manager instance functions for instance retreival/creation. | |
| template<typename ManagerClass > | |
| void | defaultManagerRegisterInstanceFunction (DtDe &, ManagerClass *) |
| Befriend the manager instance functions for instance retreival/creation. | |
Example Settings Manager.
|
virtual |
DTOR.
|
protected |
CTOR.
|
static |
Get an instance of the settings manager.
|
virtual |
|
virtual |
| void makVrv::DtExampleSettingsManager::setFromRecord | ( | const DtExampleSettingsRecord & | rec | ) |
Set the current settings' state from the given record.
| void makVrv::DtExampleSettingsManager::getRecord | ( | DtExampleSettingsRecord & | rec | ) | const |
Store the current settings' state in the given record.
|
friend |
Befriend the manager instance functions for instance retreival/creation.
|
friend |
Befriend the manager instance functions for instance retreival/creation.
| boost::signal<void ( int )> makVrv::DtExampleSettingsManager::signal_dummyValSet |
|
protected |