openMSX
Public Member Functions | List of all members
openmsx::GlobalSettings Class Referencefinal

This class contains settings that are used by several other class (including some singletons). More...

#include <GlobalSettings.hh>

Inheritance diagram for openmsx::GlobalSettings:
Inheritance graph
[legend]
Collaboration diagram for openmsx::GlobalSettings:
Collaboration graph
[legend]

Public Member Functions

 GlobalSettings (GlobalCommandController &commandController)
 
 ~GlobalSettings ()
 
IntegerSettinggetSpeedSetting ()
 
BooleanSettinggetPauseSetting ()
 
BooleanSettinggetPowerSetting ()
 
BooleanSettinggetAutoSaveSetting ()
 
BooleanSettinggetPauseOnLostFocusSetting ()
 
StringSettinggetUMRCallBackSetting ()
 
StringSettinggetInvalidPsgDirectionsSetting ()
 
EnumSetting< ResampledSoundDevice::ResampleType > & getResampleSetting ()
 
IntegerSettinggetJoyDeadzoneSetting (int i)
 
ThrottleManagergetThrottleManager ()
 

Detailed Description

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 23 of file GlobalSettings.hh.

Constructor & Destructor Documentation

openmsx::GlobalSettings::GlobalSettings ( GlobalCommandController commandController)
explicit
openmsx::GlobalSettings::~GlobalSettings ( )

Member Function Documentation

BooleanSetting& openmsx::GlobalSettings::getAutoSaveSetting ( )
inline

Definition at line 38 of file GlobalSettings.hh.

StringSetting& openmsx::GlobalSettings::getInvalidPsgDirectionsSetting ( )
inline

Definition at line 47 of file GlobalSettings.hh.

IntegerSetting& openmsx::GlobalSettings::getJoyDeadzoneSetting ( int  i)
inline

Definition at line 53 of file GlobalSettings.hh.

BooleanSetting& openmsx::GlobalSettings::getPauseOnLostFocusSetting ( )
inline

Definition at line 41 of file GlobalSettings.hh.

BooleanSetting& openmsx::GlobalSettings::getPauseSetting ( )
inline

Definition at line 32 of file GlobalSettings.hh.

Referenced by openmsx::Reactor::init(), and openmsx::Reactor::~Reactor().

BooleanSetting& openmsx::GlobalSettings::getPowerSetting ( )
inline

Definition at line 35 of file GlobalSettings.hh.

Referenced by openmsx::HD::HD(), and ~GlobalSettings().

EnumSetting<ResampledSoundDevice::ResampleType>& openmsx::GlobalSettings::getResampleSetting ( )
inline

Definition at line 50 of file GlobalSettings.hh.

IntegerSetting& openmsx::GlobalSettings::getSpeedSetting ( )
inline

Definition at line 29 of file GlobalSettings.hh.

ThrottleManager& openmsx::GlobalSettings::getThrottleManager ( )
inline

Definition at line 56 of file GlobalSettings.hh.

Referenced by openmsx::SDLSoundDriver::uploadBuffer().

StringSetting& openmsx::GlobalSettings::getUMRCallBackSetting ( )
inline

Definition at line 44 of file GlobalSettings.hh.


The documentation for this class was generated from the following files: