CDisplay< T > Class Template Reference

#include <cdisplay.h>

Inheritance diagram for CDisplay< T >:

CDisplayWDEZ< T > CDisplayWHEX< T >

List of all members.

Public Member Functions

 CDisplay (std::string name)
 Default ctor.
virtual ~CDisplay ()
 Default dtor.
virtual const
std::string & 
getName ()
 returns name of display
virtual void display (const T &value)=0
 prints value to display

Protected Attributes

std::string m_name


Detailed Description

template<class T>
class CDisplay< T >

Abstract template class for displays

Constructor & Destructor Documentation

template<class T>
CDisplay< T >::CDisplay ( std::string  name  )  [inline]

Default ctor.

Methodname:
CDisplay
Parameters:
name name of display
Returns:
-
Global variables used:
none
Exceptions:
none 
Precondition:
none
Postcondition:
none

template<class T>
virtual CDisplay< T >::~CDisplay (  )  [inline, virtual]

Default dtor.

Methodname:
~CDisplay
Parameters:
- 
Returns:
-
Global variables used:
none
Exceptions:
none 
Precondition:
none
Postcondition:
none


Member Function Documentation

template<class T>
virtual const std::string& CDisplay< T >::getName (  )  [inline, virtual]

returns name of display

Methodname:
getName
Parameters:
- 
Returns:
name of display
Global variables used:
none
Exceptions:
none 
Precondition:
none
Postcondition:
none

template<class T>
virtual void CDisplay< T >::display ( const T &  value  )  [pure virtual]

prints value to display

Methodname:
display
Parameters:
value value to display
Returns:
-
Global variables used:
none
Exceptions:
none 
Precondition:
none
Postcondition:
none

Implemented in CDisplayWDEZ< T >, and CDisplayWHEX< T >.


Member Data Documentation

template<class T>
std::string CDisplay< T >::m_name [protected]

name of display


The documentation for this class was generated from the following file:
Generated on Sat May 30 16:32:35 2009 for mycpu by  doxygen 1.5.3