Monitor Class Reference

#include <monitor.h>

Inheritance diagram for Monitor:

MonitorControl MonitorControl List of all members.

Public Member Functions

 Monitor (gchar *name=NULL)
virtual ~Monitor ()
virtual void run ()
virtual void stop ()
virtual void Messung (float val=0., gchar *txt=NULL)
virtual void LogEvent (gchar *Action, gchar *Entry)
void PutEvent (gchar *Action, gchar *Entry)
gint Load (gchar *fname)
gint Save (gchar *fname)
gint AppLine ()
gint GetLine ()
void SetLogName (char *name)
 Monitor (gchar *name=NULL)
virtual ~Monitor ()
virtual void run ()
virtual void stop ()
virtual void Messung (float val=0., gchar *txt=NULL)
virtual void LogEvent (gchar *Action, gchar *Entry)
void PutEvent (gchar *Action, gchar *Entry)
gint Load (gchar *fname)
gint Save (gchar *fname)
gint AppLine ()
gint GetLine ()
void SetLogName (char *name)

Public Attributes

gchar * Fields [MAXMONITORFIELDS]
gchar * Fields [MAXMONITORFIELDS]

Protected Attributes

double dt
char * logname
char * logname

Detailed Description

Definition at line 43 of file monitor.h.


Constructor & Destructor Documentation

Monitor::Monitor gchar *  name = NULL  ) 
 

Definition at line 35 of file monitor.C.

References buf, DBG_L2, dt, Fields, LogEvent(), logname, MAXMONITORFIELDS, and XSM_DEBUG.

Monitor::~Monitor  )  [virtual]
 

Definition at line 56 of file monitor.C.

References Fields, and logname.

Monitor::Monitor gchar *  name = NULL  ) 
 

virtual Monitor::~Monitor  )  [virtual]
 


Member Function Documentation

gint Monitor::AppLine  ) 
 

gint Monitor::AppLine  ) 
 

Definition at line 138 of file monitor.C.

References ERR_FILEWRITE, ERR_SORRY, Fields, and logname.

gint Monitor::GetLine  ) 
 

gint Monitor::GetLine  ) 
 

gint Monitor::Load gchar *  fname  ) 
 

gint Monitor::Load gchar *  fname  ) 
 

Definition at line 69 of file monitor.C.

virtual void Monitor::LogEvent gchar *  Action,
gchar *  Entry
[virtual]
 

Reimplemented in MonitorControl, and MonitorControl.

void Monitor::LogEvent gchar *  Action,
gchar *  Entry
[virtual]
 

Reimplemented in MonitorControl, and MonitorControl.

Definition at line 115 of file monitor.C.

References PutEvent().

Referenced by Monitor().

virtual void Monitor::Messung float  val = 0.,
gchar *  txt = NULL
[virtual]
 

void Monitor::Messung float  val = 0.,
gchar *  txt = NULL
[virtual]
 

Definition at line 92 of file monitor.C.

void Monitor::PutEvent gchar *  Action,
gchar *  Entry
 

void Monitor::PutEvent gchar *  Action,
gchar *  Entry
 

Definition at line 119 of file monitor.C.

References Fields.

Referenced by LogEvent(), and MonitorControl::LogEvent().

virtual void Monitor::run  )  [inline, virtual]
 

Definition at line 48 of file monitor.h.

virtual void Monitor::run  )  [inline, virtual]
 

Definition at line 48 of file monitor.h.

gint Monitor::Save gchar *  fname  ) 
 

gint Monitor::Save gchar *  fname  ) 
 

Definition at line 74 of file monitor.C.

void Monitor::SetLogName char *  name  ) 
 

void Monitor::SetLogName char *  name  ) 
 

Definition at line 63 of file monitor.C.

References logname.

virtual void Monitor::stop  )  [inline, virtual]
 

Definition at line 49 of file monitor.h.

virtual void Monitor::stop  )  [inline, virtual]
 

Definition at line 49 of file monitor.h.


Member Data Documentation

double Monitor::dt [protected]
 

Definition at line 66 of file monitor.h.

Referenced by Monitor().

gchar* Monitor::Fields[MAXMONITORFIELDS]
 

Definition at line 64 of file monitor.h.

gchar* Monitor::Fields[MAXMONITORFIELDS]
 

Definition at line 64 of file monitor.h.

Referenced by AppLine(), MonitorControl::LogEvent(), Monitor(), PutEvent(), and ~Monitor().

char* Monitor::logname [protected]
 

Definition at line 67 of file monitor.h.

char* Monitor::logname [protected]
 

Definition at line 67 of file monitor.h.

Referenced by AppLine(), Monitor(), SetLogName(), and ~Monitor().


The documentation for this class was generated from the following files:
Generated on Sat Apr 1 09:05:47 2006 for GXSM by  doxygen 1.4.6