MythTV  0.26-pre
Public Member Functions | Private Attributes
StateVariable< T > Class Template Reference

#include <eventing.h>

Inheritance diagram for StateVariable< T >:
StateVariableBase

List of all members.

Public Member Functions

 StateVariable (const QString &sName, bool bNotify=false)
 StateVariable (const QString &sName, T value, bool bNotify=false)
virtual QString ToString ()
GetValue ()
void SetValue (T value)

Private Attributes

m_value

Detailed Description

template<class T>
class StateVariable< T >

Definition at line 117 of file eventing.h.


Constructor & Destructor Documentation

template<class T>
StateVariable< T >::StateVariable ( const QString &  sName,
bool  bNotify = false 
) [inline]

Definition at line 127 of file eventing.h.

template<class T>
StateVariable< T >::StateVariable ( const QString &  sName,
value,
bool  bNotify = false 
) [inline]

Definition at line 133 of file eventing.h.


Member Function Documentation

template<class T>
virtual QString StateVariable< T >::ToString ( void  ) [inline, virtual]

Implements StateVariableBase.

Definition at line 139 of file eventing.h.

template<class T>
T StateVariable< T >::GetValue ( void  ) [inline]

Definition at line 146 of file eventing.h.

Referenced by StateVariables::GetValue(), and StateVariables::SetValue().

template<class T>
void StateVariable< T >::SetValue ( value) [inline]

Definition at line 153 of file eventing.h.

Referenced by StateVariables::SetValue().


Member Data Documentation

template<class T>
T StateVariable< T >::m_value [private]

Definition at line 121 of file eventing.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends