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

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

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

Definition at line 48 of file GlobalSettings.hh.

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

Definition at line 42 of file GlobalSettings.hh.

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

Definition at line 33 of file GlobalSettings.hh.

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

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

Definition at line 36 of file GlobalSettings.hh.

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

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

Definition at line 51 of file GlobalSettings.hh.

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

Definition at line 30 of file GlobalSettings.hh.

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

Definition at line 54 of file GlobalSettings.hh.

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

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

Definition at line 45 of file GlobalSettings.hh.


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