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

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

Definition at line 48 of file GlobalSettings.hh.

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

Definition at line 54 of file GlobalSettings.hh.

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

Definition at line 42 of file GlobalSettings.hh.

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

Definition at line 33 of file GlobalSettings.hh.

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

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

Definition at line 36 of file GlobalSettings.hh.

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

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

Definition at line 51 of file GlobalSettings.hh.

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

Definition at line 30 of file GlobalSettings.hh.

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

Definition at line 57 of file GlobalSettings.hh.

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

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

Definition at line 45 of file GlobalSettings.hh.


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