MythTV  master
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
StateVariables Class Referenceabstract

#include <eventing.h>

Inheritance diagram for StateVariables:
Inheritance graph

Public Member Functions

 StateVariables ()=default
virtual ~StateVariables ()
void AddVariable (StateVariableBase *pBase)
template<class T >
bool SetValue (const QString &sName, T value)
template<class T >
GetValue (const QString &sName)
uint BuildNotifyBody (QTextStream &ts, TaskTime ttLastNotified) const

Protected Types

using SVMap = QMap< QString, StateVariableBase * >

Protected Member Functions

virtual void Notify ()=0

Protected Attributes

SVMap m_map

Detailed Description

Definition at line 165 of file eventing.h.

Member Typedef Documentation

◆ SVMap

using StateVariables::SVMap = QMap<QString, StateVariableBase*>

Definition at line 170 of file eventing.h.

Constructor & Destructor Documentation

◆ StateVariables()

StateVariables::StateVariables ( )

◆ ~StateVariables()

virtual StateVariables::~StateVariables ( )

Definition at line 177 of file eventing.h.

Member Function Documentation

◆ Notify()

virtual void StateVariables::Notify ( )
protectedpure virtual

Implemented in Eventing.

◆ AddVariable()

void StateVariables::AddVariable ( StateVariableBase pBase)

Definition at line 186 of file eventing.h.

Referenced by UPnpCDS::UPnpCDS(), UPnpCMGR::UPnpCMGR(), and UPnpMSRR::UPnpMSRR().

◆ SetValue()

template<class T >
bool StateVariables::SetValue ( const QString &  sName,

Definition at line 194 of file eventing.h.

◆ GetValue()

template<class T >
T StateVariables::GetValue ( const QString &  sName)

Definition at line 219 of file eventing.h.

◆ BuildNotifyBody()

uint StateVariables::BuildNotifyBody ( QTextStream &  ts,
TaskTime  ttLastNotified 
) const

Definition at line 41 of file eventing.cpp.

Referenced by Eventing::NotifySubscriber().

Member Data Documentation

◆ m_map

SVMap StateVariables::m_map

Definition at line 171 of file eventing.h.

Referenced by BuildNotifyBody().

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