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
[legend]

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 170 of file eventing.h.

Member Typedef Documentation

◆ SVMap

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

Definition at line 175 of file eventing.h.

Constructor & Destructor Documentation

◆ StateVariables()

StateVariables::StateVariables ( )
default

◆ ~StateVariables()

virtual StateVariables::~StateVariables ( )
inlinevirtual

Definition at line 182 of file eventing.h.

Member Function Documentation

◆ Notify()

virtual void StateVariables::Notify ( )
protectedpure virtual

Implemented in Eventing.

◆ AddVariable()

void StateVariables::AddVariable ( StateVariableBase pBase)
inline

Definition at line 191 of file eventing.h.

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

◆ SetValue()

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

Definition at line 199 of file eventing.h.

◆ GetValue()

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

Definition at line 224 of file eventing.h.

◆ BuildNotifyBody()

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

Definition at line 28 of file eventing.cpp.

Referenced by Eventing::NotifySubscriber().

Member Data Documentation

◆ m_map

SVMap StateVariables::m_map
protected

Definition at line 176 of file eventing.h.

Referenced by BuildNotifyBody().


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