Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <GameSettings.h>
Public Member Functions | |
CGameSettings () | |
CGameSettings (const CGameSettings &other) | |
CGameSettings & | operator= (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 |
Observable & | operator= (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< bool > | m_bObservableChanged {false} |
std::vector< Observer * > | m_observers |
CCriticalSection | m_obsCritSection |
|
inline |
|
inline |
|
inline |
CGameSettings & CGameSettings::operator= | ( | const CGameSettings & | rhs | ) |
bool CGameSettings::operator== | ( | const CGameSettings & | rhs | ) | const |
void CGameSettings::Reset | ( | ) |
|
inline |
void CGameSettings::SetStretchMode | ( | KODI::RETRO::STRETCHMODE | stretchMode | ) |
void CGameSettings::SetVideoFilter | ( | const std::string & | videoFilter | ) |
|
inline |
|
inline |