Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Examples

GnuplotText Class Template Reference
[User interface]

#include <gnuplottext.h>

Inherited by Gnuplot_SIM.

Inheritance diagram for GnuplotText:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<class T>
class GnuplotText< T >

Gnuplot user interface. gets a command string that can hide or show channels.

Definition at line 16 of file gnuplottext.h.

Public Member Functions

 GnuplotText (Gnuplot< T > *gp)
virtual ~GnuplotText ()
virtual void command (const char *c)
virtual void list ()=0
 list all channels on user display

Protected Member Functions

int getIndex (char c)
 get index of letter
char getChar (int i)
 get letter with index i
void show (int n, bool on)
 show or hide channel n

Protected Attributes

Gnuplot< T > * gg
Gnuplot< T >::nameslist names
bool sh [52]


Constructor & Destructor Documentation

GnuplotText Gnuplot< T > *  gp  )  [inline]
 

Definition at line 67 of file gnuplottext.h.

virtual ~GnuplotText  )  [inline, virtual]
 

Definition at line 73 of file gnuplottext.h.


Member Function Documentation

virtual void command const char *  c  )  [inline, virtual]
 

process string "hxxxx" or "sxxx" to show or hide channels Definition at line 76 of file gnuplottext.h.

char getChar int  i  )  [inline, protected]
 

get letter with index i

Definition at line 41 of file gnuplottext.h.

int getIndex char  c  )  [inline, protected]
 

get index of letter

Definition at line 26 of file gnuplottext.h.

virtual void list  )  [pure virtual]
 

list all channels on user display

Implemented in Gnuplot_SIM.

void show int  n,
bool  on
[inline, protected]
 

show or hide channel n

Definition at line 54 of file gnuplottext.h.


Member Data Documentation

Gnuplot<T>* gg [protected]
 

Definition at line 21 of file gnuplottext.h.

Gnuplot<T>::nameslist names [protected]
 

Definition at line 22 of file gnuplottext.h.

bool sh[52] [protected]
 

Definition at line 23 of file gnuplottext.h.


The documentation for this class was generated from the following file:
Generated on Wed Apr 6 10:22:36 2005 for Gnuplot by doxygen 1.3.8