MythTV  master
Public Slots | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
MythScreenSaverDRM Class Reference

#include <mythscreensaverdrm.h>

Inheritance diagram for MythScreenSaverDRM:
Inheritance graph
Collaboration diagram for MythScreenSaverDRM:
Collaboration graph

Public Slots

void Disable () override
void Restore () override
void Reset () override
bool Asleep () override
- Public Slots inherited from MythScreenSaver
virtual void Disable ()=0
virtual void Restore ()=0
virtual void Reset ()=0
virtual bool Asleep ()=0

Static Public Member Functions

static MythScreenSaverDRMCreate (QObject *Parent, MythDisplay *mDisplay)

Private Member Functions

 MythScreenSaverDRM (QObject *Parent, MythDisplay *mDisplay)

Private Attributes

bool m_valid { false }
MythDisplayDRMm_display { nullptr }
MythDRMPtr m_device { nullptr }

Additional Inherited Members

- Public Member Functions inherited from MythScreenSaver
 MythScreenSaver (QObject *Parent)
 ~MythScreenSaver () override=default

Detailed Description

This is the screensaver 'of last resort' on most linux systems. It is only used when no others are available (no X, no Wayland etc).

This class has been temporarily disabled whilst the DRM code is refactored for atomic operations.

Definition at line 8 of file mythscreensaverdrm.h.

Constructor & Destructor Documentation

◆ MythScreenSaverDRM()

MythScreenSaverDRM::MythScreenSaverDRM ( QObject *  Parent,
MythDisplay mDisplay 

Definition at line 25 of file mythscreensaverdrm.cpp.

Referenced by Create().

Member Function Documentation

◆ Create()

MythScreenSaverDRM * MythScreenSaverDRM::Create ( QObject *  Parent,
MythDisplay mDisplay 

◆ Disable

void MythScreenSaverDRM::Disable ( )

Definition at line 32 of file mythscreensaverdrm.cpp.

Referenced by Restore().

◆ Restore

void MythScreenSaverDRM::Restore ( )

Definition at line 36 of file mythscreensaverdrm.cpp.

◆ Reset

void MythScreenSaverDRM::Reset ( )

Definition at line 41 of file mythscreensaverdrm.cpp.

◆ Asleep

bool MythScreenSaverDRM::Asleep ( )

Definition at line 45 of file mythscreensaverdrm.cpp.

Member Data Documentation

◆ m_valid

bool MythScreenSaverDRM::m_valid { false }

Definition at line 23 of file mythscreensaverdrm.h.

Referenced by MythScreenSaverDRM().

◆ m_display

MythDisplayDRM* MythScreenSaverDRM::m_display { nullptr }

Definition at line 24 of file mythscreensaverdrm.h.

Referenced by MythScreenSaverDRM().

◆ m_device

MythDRMPtr MythScreenSaverDRM::m_device { nullptr }

Definition at line 25 of file mythscreensaverdrm.h.

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