Main Page   Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

Monitor Class Reference

#include <monitor.h>

Class diagram for Monitor:

CHeapObj VMObj SelfMonitor

List of all members.

Public Members

void activate (char* filename = NULL)
void deactivate ()
bool is_active ()
MonitorWindowmw ()
void adjust_after_resize ()
fint max_height ()
void reset_log ()
void annotate_log (char *)
void full_redraw ()
virtual void reset () = 0
virtual int contents_height () = 0
virtual void resize_contents () = 0

Protected Members

 Monitor ()
 ~Monitor ()
void enroll ()
void withdraw ()
FILE* open_log_file (char* filename)
virtual void initialize_contents () = 0
virtual int32 get_measurements_per_second () = 0
virtual void tick_measure () = 0
virtual void tick_redraw () = 0
int ind_w (), ind_h(), ind_gap(), ind_bar_w(), ind_bar_h(), ind_bar_yoff()
bool _is_active
bool incremental
MonitorWindow _mw
FILE* logf
char* logfn
int32 _measurements_per_second

Static Protected Members

void monitor_tick_sync ()
void monitor_tick_async ()
const int K
const int MB

Friends

class  Indicator
class  SharedIndicator

Detailed Description


Member Function Documentation

void Monitor::activate (char * filename = NULL)

void Monitor::deactivate ()

bool Monitor::is_active () [inline]

MonitorWindow * Monitor::mw () [inline]

void Monitor::adjust_after_resize ()

fint Monitor::max_height ()

void Monitor::reset_log ()

void Monitor::annotate_log (char * fn)

void Monitor::full_redraw ()

virtual void Monitor::reset () [pure virtual]

Reimplemented in SelfMonitor.

virtual int Monitor::contents_height () [pure virtual]

Reimplemented in SelfMonitor.

virtual void Monitor::resize_contents () [pure virtual]

Reimplemented in SelfMonitor.

Monitor::Monitor () [protected]

Monitor::~Monitor () [protected]

void Monitor::enroll () [protected]

void Monitor::withdraw () [protected]

FILE * Monitor::open_log_file (char * filename) [protected]

virtual void Monitor::initialize_contents () [protected, pure virtual]

Reimplemented in SelfMonitor.

virtual int32 Monitor::get_measurements_per_second () [protected, pure virtual]

Reimplemented in SelfMonitor.

virtual void Monitor::tick_measure () [protected, pure virtual]

Reimplemented in SelfMonitor.

virtual void Monitor::tick_redraw () [protected, pure virtual]

Reimplemented in SelfMonitor.

int Monitor::ind_w () [protected]

void Monitor::monitor_tick_sync () [static, protected]

void Monitor::monitor_tick_async () [static, protected]


Friends And Related Function Documentation

friend class Indicator [friend]

friend class SharedIndicator [friend]


Member Data Documentation

bool Monitor::_is_active [protected]

bool Monitor::incremental [protected]

MonitorWindow Monitor::_mw [protected]

FILE* Monitor::logf [protected]

char* Monitor::logfn [protected]

int32 Monitor::_measurements_per_second [protected]

const int Monitor::K [static, protected]

const int Monitor::MB [static, protected]


The documentation for this class was generated from the following files:
Generated at Tue Jun 27 12:08:08 2000 for SelfVM by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999