|
openMSX
|
This class contains settings that are used by several other class (including some singletons). More...
#include <GlobalSettings.hh>


Public Member Functions | |
| GlobalSettings (GlobalCommandController &commandController) | |
| ~GlobalSettings () | |
| IntegerSetting & | getSpeedSetting () const |
| BooleanSetting & | getPauseSetting () const |
| BooleanSetting & | getPowerSetting () const |
| BooleanSetting & | getAutoSaveSetting () const |
| BooleanSetting & | getPauseOnLostFocusSetting () const |
| StringSetting & | getUMRCallBackSetting () const |
| StringSetting & | getInvalidPsgDirectionsSetting () const |
| EnumSetting < ResampledSoundDevice::ResampleType > & | getResampleSetting () const |
| ThrottleManager & | getThrottleManager () const |
Additional Inherited Members | |
Private Member Functions inherited from openmsx::Observer< Setting > | |
| virtual void | update (const Setting &subject)=0 |
| virtual void | subjectDeleted (const Setting &) |
| virtual | ~Observer () |
This class contains settings that are used by several other class (including some singletons).
This class was introduced to solve lifetime management issues.
Definition at line 24 of file GlobalSettings.hh.
|
explicit |
Definition at line 15 of file GlobalSettings.cc.
References openmsx::Subject< T >::attach(), openmsx::Setting::DONT_SAVE, getPowerSetting(), openmsx::ResampledSoundDevice::RESAMPLE_BLIP, openmsx::ResampledSoundDevice::RESAMPLE_HQ, and openmsx::ResampledSoundDevice::RESAMPLE_LQ.
| openmsx::GlobalSettings::~GlobalSettings | ( | ) |
Definition at line 55 of file GlobalSettings.cc.
References openmsx::Subject< T >::detach(), getPowerSetting(), openmsx::GlobalCommandController::getSettingsConfig(), and openmsx::SettingsConfig::setSaveSettings().
|
inline |
Definition at line 39 of file GlobalSettings.hh.
|
inline |
Definition at line 48 of file GlobalSettings.hh.
|
inline |
Definition at line 42 of file GlobalSettings.hh.
|
inline |
Definition at line 33 of file GlobalSettings.hh.
Referenced by openmsx::Reactor::init(), and openmsx::Reactor::~Reactor().
|
inline |
Definition at line 36 of file GlobalSettings.hh.
Referenced by GlobalSettings(), openmsx::HD::HD(), and ~GlobalSettings().
|
inline |
Definition at line 51 of file GlobalSettings.hh.
|
inline |
Definition at line 30 of file GlobalSettings.hh.
|
inline |
Definition at line 54 of file GlobalSettings.hh.
Referenced by openmsx::SDLSoundDriver::uploadBuffer().
|
inline |
Definition at line 45 of file GlobalSettings.hh.
1.8.1.2