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 (QVariantMap &newstate)
 
static void GetState (QVariantMap &state)
 
static void GetFreshState (QVariantMap &state)
 

Protected Member Functions

 MythUIStateTracker ()
 

Static Protected Member Functions

static MythUIStateTrackerGetMythUIStateTracker (void)
 
static int TimeSinceLastUpdate (void)
 

Protected Attributes

QVariantMap m_state
 
QTime m_lastUpdated
 

Static Protected Attributes

static MythUIStateTrackergUIState = nullptr
 
static QMutex * gUIStateLock = new QMutex()
 

Detailed Description

Definition at line 10 of file mythuistatetracker.h.

Constructor & Destructor Documentation

◆ MythUIStateTracker()

MythUIStateTracker::MythUIStateTracker ( )
inlineprotected

Definition at line 23 of file mythuistatetracker.h.

Referenced by GetMythUIStateTracker().

Member Function Documentation

◆ SetState()

void MythUIStateTracker::SetState ( QVariantMap &  newstate)
static

◆ GetState()

void MythUIStateTracker::GetState ( QVariantMap &  state)
static

Definition at line 31 of file mythuistatetracker.cpp.

Referenced by GetFreshState().

◆ GetFreshState()

void MythUIStateTracker::GetFreshState ( QVariantMap &  state)
static

◆ GetMythUIStateTracker()

MythUIStateTracker * MythUIStateTracker::GetMythUIStateTracker ( void  )
staticprotected

Definition at line 13 of file mythuistatetracker.cpp.

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

◆ TimeSinceLastUpdate()

int MythUIStateTracker::TimeSinceLastUpdate ( void  )
staticprotected

Definition at line 57 of file mythuistatetracker.cpp.

Referenced by GetFreshState().

Member Data Documentation

◆ gUIState

MythUIStateTracker * MythUIStateTracker::gUIState = nullptr
staticprotected

Definition at line 20 of file mythuistatetracker.h.

Referenced by GetMythUIStateTracker().

◆ gUIStateLock

QMutex * MythUIStateTracker::gUIStateLock = new QMutex()
staticprotected

◆ m_state

QVariantMap MythUIStateTracker::m_state
protected

Definition at line 25 of file mythuistatetracker.h.

Referenced by GetState(), and SetState().

◆ m_lastUpdated

QTime MythUIStateTracker::m_lastUpdated
protected

Definition at line 26 of file mythuistatetracker.h.

Referenced by SetState(), and TimeSinceLastUpdate().


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