MythTV  master
Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
MythUIStateTracker Class Reference

#include <mythuistatetracker.h>

Collaboration diagram for MythUIStateTracker:
Collaboration graph
[legend]

Static Public Member Functions

static void SetState (const QVariantMap &NewState)
 
static void GetState (QVariantMap &State)
 
static void GetFreshState (QVariantMap &State)
 

Protected Member Functions

 MythUIStateTracker ()
 

Static Protected Member Functions

static MythUIStateTrackerGetMythUIStateTracker ()
 
static std::chrono::milliseconds TimeSinceLastUpdate ()
 

Protected Attributes

QVariantMap m_state
 
QTime m_lastUpdated
 

Static Protected Attributes

static MythUIStateTrackergUIState { nullptr }
 
static QRecursiveMutex gUIStateLock
 

Detailed Description

Definition at line 10 of file mythuistatetracker.h.

Constructor & Destructor Documentation

◆ MythUIStateTracker()

MythUIStateTracker::MythUIStateTracker ( )
protected

Definition at line 12 of file mythuistatetracker.cpp.

Referenced by GetMythUIStateTracker().

Member Function Documentation

◆ SetState()

void MythUIStateTracker::SetState ( const QVariantMap &  NewState)
static

◆ GetState()

void MythUIStateTracker::GetState ( QVariantMap &  State)
static

Definition at line 35 of file mythuistatetracker.cpp.

Referenced by GetFreshState().

◆ GetFreshState()

void MythUIStateTracker::GetFreshState ( QVariantMap &  State)
static

◆ GetMythUIStateTracker()

MythUIStateTracker * MythUIStateTracker::GetMythUIStateTracker ( )
staticprotected

Definition at line 17 of file mythuistatetracker.cpp.

Referenced by GetState(), SetState(), and TimeSinceLastUpdate().

◆ TimeSinceLastUpdate()

std::chrono::milliseconds MythUIStateTracker::TimeSinceLastUpdate ( )
staticprotected

Definition at line 61 of file mythuistatetracker.cpp.

Referenced by GetFreshState().

Member Data Documentation

◆ gUIState

MythUIStateTracker* MythUIStateTracker::gUIState { nullptr }
inlinestaticprotected

Definition at line 20 of file mythuistatetracker.h.

Referenced by GetMythUIStateTracker().

◆ gUIStateLock

QRecursiveMutex MythUIStateTracker::gUIStateLock
inlinestaticprotected

◆ m_state

QVariantMap MythUIStateTracker::m_state
protected

Definition at line 24 of file mythuistatetracker.h.

◆ m_lastUpdated

QTime MythUIStateTracker::m_lastUpdated
protected

Definition at line 25 of file mythuistatetracker.h.


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