10 #ifndef DtSharedSettingsManager_H_
11 #define DtSharedSettingsManager_H_
17 #ifndef WIN32_LEAN_AND_MEAN
18 #define UNDEF_WIN32_LEAN_AND_MEAN
19 #define WIN32_LEAN_AND_MEAN
22 #include <boost/thread/shared_mutex.hpp>
24 #ifdef UNDEF_WIN32_LEAN_AND_MEAN
25 #undef UNDEF_WIN32_LEAN_AND_MEAN
26 #undef WIN32_LEAN_AND_MEAN
29 #include <vlutil/vlThread.h>
30 #include <boost/unordered_map.hpp>
34 class DtEventQueueInterface;
36 class DtSharedSettings;
76 void registerSettings(
const std::string& className,
DtSharedSettings* setting);
78 inline boost::shared_mutex&
mutex()
a read settings lock on a setting object. The object can only get read access aka const functions...
Definition: DtReadSettingsLock.h:48
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
boost::shared_mutex myMutex
Definition: DtSharedSettingsManager.h:96
DtThreadId myDeThreadId
Definition: DtSharedSettingsManager.h:99
The shared settings manager, is the global object responsible for managing any shared settings object...
Definition: DtSharedSettingsManager.h:42
The base class for all shared settings. Actual settings class should have the following members/decla...
Definition: DtSharedSettings.h:45
The event queue interface is a cross thread event queue used to emit event_signal across thread bound...
Definition: DtEventQueueInterface.h:27
boost::unordered_map< std::string, DtSharedSettings * > SettingInstances
Definition: DtSharedSettingsManager.h:94
Contains makVrv::DtVirtualBaseClass class.
SettingInstances mySettings
Definition: DtSharedSettingsManager.h:97
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtDe & myUnsafeDe
Definition: DtSharedSettingsManager.h:98
a write settings lock on a setting object. The object can be read and modified, but no other threads ...
Definition: DtWriteSettingsLock.h:47
boost::shared_mutex & mutex()
Definition: DtSharedSettingsManager.h:78
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
Contains DLL export macros.