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


Constructor & Destructor Documentation

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

Definition at line 128 of file eventing.h.

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

Definition at line 134 of file eventing.h.


Member Function Documentation

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

Implements StateVariableBase.

Definition at line 140 of file eventing.h.

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

Definition at line 147 of file eventing.h.

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

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

Definition at line 154 of file eventing.h.

Referenced by StateVariables::SetValue().


Member Data Documentation

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

Definition at line 122 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
Generated on Mon May 28 06:42:28 2012 for MythTV by  doxygen 1.6.3