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 () const
 
BooleanSettinggetPauseSetting () const
 
BooleanSettinggetPowerSetting () const
 
BooleanSettinggetAutoSaveSetting () const
 
BooleanSettinggetPauseOnLostFocusSetting () const
 
StringSettinggetUMRCallBackSetting () const
 
StringSettinggetInvalidPsgDirectionsSetting () const
 
EnumSetting
< ResampledSoundDevice::ResampleType > & 
getResampleSetting () const
 
IntegerSettinggetJoyDeadzoneSetting (int i) const
 
ThrottleManagergetThrottleManager () const
 

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 40 of file GlobalSettings.hh.

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

Definition at line 49 of file GlobalSettings.hh.

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

Definition at line 55 of file GlobalSettings.hh.

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

Definition at line 43 of file GlobalSettings.hh.

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

Definition at line 34 of file GlobalSettings.hh.

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

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

Definition at line 37 of file GlobalSettings.hh.

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

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

Definition at line 52 of file GlobalSettings.hh.

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

Definition at line 31 of file GlobalSettings.hh.

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

Definition at line 58 of file GlobalSettings.hh.

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

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

Definition at line 46 of file GlobalSettings.hh.


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