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 ()
 
BooleanSettinggetPauseSetting ()
 
BooleanSettinggetPowerSetting ()
 
BooleanSettinggetAutoSaveSetting ()
 
StringSettinggetUMRCallBackSetting ()
 
StringSettinggetInvalidPsgDirectionsSetting ()
 
StringSettinggetInvalidPpiModeSetting ()
 
EnumSetting< ResampledSoundDevice::ResampleType > & getResampleSetting ()
 
SpeedManagergetSpeedManager ()
 
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

◆ GlobalSettings()

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

Definition at line 13 of file GlobalSettings.cc.

◆ ~GlobalSettings()

openmsx::GlobalSettings::~GlobalSettings ( )

Member Function Documentation

◆ getAutoSaveSetting()

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

Definition at line 36 of file GlobalSettings.hh.

◆ getInvalidPpiModeSetting()

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

Definition at line 45 of file GlobalSettings.hh.

◆ getInvalidPsgDirectionsSetting()

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

Definition at line 42 of file GlobalSettings.hh.

◆ getPauseSetting()

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

Definition at line 30 of file GlobalSettings.hh.

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

◆ getPowerSetting()

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

Definition at line 33 of file GlobalSettings.hh.

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

◆ getResampleSetting()

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

Definition at line 48 of file GlobalSettings.hh.

◆ getSpeedManager()

SpeedManager & openmsx::GlobalSettings::getSpeedManager ( )
inline

Definition at line 51 of file GlobalSettings.hh.

◆ getThrottleManager()

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

Definition at line 54 of file GlobalSettings.hh.

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

◆ getUMRCallBackSetting()

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

Definition at line 39 of file GlobalSettings.hh.


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