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

#include <libmythupnp/eventing.h>

Inheritance diagram for StateVariables:
[legend]

Public Member Functions

 StateVariables ()=default
 
virtual ~StateVariables ()
 
void AddVariable (StateVariableBase *pBase)
 
template<class T >
bool SetValue (const QString &sName, const 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*>
protected

Definition at line 170 of file eventing.h.

Constructor & Destructor Documentation

◆ StateVariables()

StateVariables::StateVariables ( )
default

◆ ~StateVariables()

virtual StateVariables::~StateVariables ( )
inlinevirtual

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)
inline

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,
const T &  value 
)
inline

Definition at line 194 of file eventing.h.

◆ GetValue()

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

Definition at line 219 of file eventing.h.

◆ BuildNotifyBody()

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

Definition at line 33 of file eventing.cpp.

Referenced by Eventing::NotifySubscriber().

Member Data Documentation

◆ m_map

SVMap StateVariables::m_map
protected

Definition at line 171 of file eventing.h.

Referenced by BuildNotifyBody().


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