Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
No Matches
CGameSettings Class Reference

#include <GameSettings.h>

Inheritance diagram for CGameSettings:

Public Member Functions

 CGameSettings ()
 CGameSettings (const CGameSettings &other)
CGameSettingsoperator= (const CGameSettings &rhs)
void Reset ()
bool operator== (const CGameSettings &rhs) const
bool operator!= (const CGameSettings &rhs) const
const std::string & VideoFilter () const
void SetVideoFilter (const std::string &videoFilter)
KODI::RETRO::STRETCHMODE StretchMode () const
void SetStretchMode (KODI::RETRO::STRETCHMODE stretchMode)
unsigned int RotationDegCCW () const
void SetRotationDegCCW (unsigned int rotation)
- Public Member Functions inherited from Observable
 Observable ()=default
virtual ~Observable ()=default
Observableoperator= (const Observable &observable)
virtual void RegisterObserver (Observer *obs)
 Register an observer.
virtual void UnregisterObserver (Observer *obs)
 Unregister an observer.
virtual void NotifyObservers (const ObservableMessage message=ObservableMessageNone)
 Send a message to all observers when m_bObservableChanged is true.
virtual void SetChanged (bool bSetTo=true)
 Mark an observable changed.
virtual bool IsObserving (const Observer &obs) const
 Check whether this observable is being observed by an observer.

Additional Inherited Members

- Protected Member Functions inherited from Observable
void SendMessage (const ObservableMessage message)
 Send a message to all observer when m_bObservableChanged is true.
- Protected Attributes inherited from Observable
std::atomic< boolm_bObservableChanged {false}
std::vector< Observer * > m_observers
CCriticalSection m_obsCritSection

Constructor & Destructor Documentation

◆ CGameSettings() [1/2]

CGameSettings::CGameSettings ( )

◆ CGameSettings() [2/2]

CGameSettings::CGameSettings ( const CGameSettings & other)

Member Function Documentation

◆ operator!=()

bool CGameSettings::operator!= ( const CGameSettings & rhs) const

◆ operator=()

CGameSettings & CGameSettings::operator= ( const CGameSettings & rhs)

◆ operator==()

bool CGameSettings::operator== ( const CGameSettings & rhs) const

◆ Reset()

void CGameSettings::Reset ( )

◆ RotationDegCCW()

unsigned int CGameSettings::RotationDegCCW ( ) const

◆ SetRotationDegCCW()

void CGameSettings::SetRotationDegCCW ( unsigned int rotation)

◆ SetStretchMode()

void CGameSettings::SetStretchMode ( KODI::RETRO::STRETCHMODE stretchMode)

◆ SetVideoFilter()

void CGameSettings::SetVideoFilter ( const std::string & videoFilter)

◆ StretchMode()

KODI::RETRO::STRETCHMODE CGameSettings::StretchMode ( ) const

◆ VideoFilter()

const std::string & CGameSettings::VideoFilter ( ) const

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