StateVariable< T > Class Template Reference

#include <eventing.h>

Inheritance diagram for StateVariable< T >:

StateVariableBase

List of all members.


Detailed Description

template<class T>
class StateVariable< T >

Definition at line 140 of file eventing.h.


Public Member Functions

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

Private Attributes

T m_value

Constructor & Destructor Documentation

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

Definition at line 150 of file eventing.h.

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

Definition at line 156 of file eventing.h.


Member Function Documentation

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

Implements StateVariableBase.

Definition at line 163 of file eventing.h.

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

Definition at line 170 of file eventing.h.

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

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

Definition at line 177 of file eventing.h.

Referenced by StateVariables::SetValue().


Member Data Documentation

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


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

Generated on Sat Dec 18 05:16:11 2010 for MythTV by  doxygen 1.5.5