![]() |
VR-Forces 4.3 Class Documentation
|
The shared settings manager, is the global object responsible for managing any shared settings objects. More...

Public Member Functions | |
| virtual | ~DtSharedSettingsManager () |
| DTOR. | |
| DtEventQueueInterface & | thisThreadEventQueue () const |
| Get the event queue for the current executing thread. | |
| DtEventQueueInterface * | findThisThreadEventQueue () const |
| Get the event queue for the current executing thread. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtSharedSettingsManager & | instance (DtDe &) |
| Get an instance of the shared settings manager from the DtDe;. | |
Protected Types | |
| typedef std::map< std::string, DtSharedSettings * > | SettingInstances |
Protected Member Functions | |
| const DtSharedSettings * | findSettings (const std::string &className) const |
| Find a settings object. | |
| void | registerSettings (const std::string &className, DtSharedSettings *setting) |
| Register a settings object. | |
| boost::shared_mutex & | mutex () |
| DtSharedSettingsManager (DtDe &de) | |
| Use the static instance accessor. | |
Protected Attributes | |
| boost::shared_mutex | myMutex |
| SettingInstances | mySettings |
| DtDe & | myUnsafeDe |
| DtThreadId | myDeThreadId |
Private Member Functions | |
| DtSharedSettingsManager (const DtSharedSettingsManager &) | |
| not copyable or assignable. | |
| DtSharedSettingsManager & | operator= (DtSharedSettingsManager &) |
Friends | |
| class | DtReadSettingsLock |
| Also protected, use the DtReadSettingsLock and DtWriteSettingsLock to access this object. | |
| class | DtWriteSettingsLock |
The shared settings manager, is the global object responsible for managing any shared settings objects.
This manager object can be safely shared between threads.
|
protected |
|
virtual |
DTOR.
|
protected |
Use the static instance accessor.
|
private |
not copyable or assignable.
|
static |
Get an instance of the shared settings manager from the DtDe;.
Referenced by makVrv::DtBaseSharedSettingsManager< makArchives::DtSymbolDecorationSettingsRecord, DtSymbolDecorationSettings >::getRecord(), makVrv::DtBaseSharedSettingsManager< makArchives::DtSymbolDecorationSettingsRecord, DtSymbolDecorationSettings >::initializeBackup(), makVrf::DtVrfModelSetManager::parameterPropertyFor(), and makVrv::DtBaseSharedSettingsManager< makArchives::DtSymbolDecorationSettingsRecord, DtSymbolDecorationSettings >::setFromRecord().
| DtEventQueueInterface& makVrv::DtSharedSettingsManager::thisThreadEventQueue | ( | ) | const |
Get the event queue for the current executing thread.
Intentionally const, and returning non-const interface. This function is thread safe and re-entrant.
| DtCorruptedState | if unable to get event queue. |
| DtEventQueueInterface* makVrv::DtSharedSettingsManager::findThisThreadEventQueue | ( | ) | const |
Get the event queue for the current executing thread.
Intentionally const, and returning non-const interface. This function is thread safe and re-entrant.
|
protected |
Find a settings object.
|
protected |
Register a settings object.
If an object already exists. Must call lock for writing before calling.
|
inlineprotected |
|
private |
|
friend |
Also protected, use the DtReadSettingsLock and DtWriteSettingsLock to access this object.
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |