Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

MemSensor Class Reference

#include <memsensor.h>

Inheritance diagram for MemSensor:

Inheritance graph
[legend]
Collaboration diagram for MemSensor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MemSensor (int interval)
 ~MemSensor ()
int getMemTotal ()
int getMemFree ()
int getBuffers ()
int getCached ()
int getSwapTotal ()
int getSwapFree ()
void update ()
void setMaxValue (SensorParams *sp)
QString getMemLine ()

Constructor & Destructor Documentation

MemSensor::MemSensor int  interval  ) 
 

Definition at line 15 of file memsensor.cpp.

MemSensor::~MemSensor  ) 
 

Definition at line 19 of file memsensor.cpp.


Member Function Documentation

int MemSensor::getBuffers  ) 
 

Definition at line 38 of file memsensor.cpp.

Referenced by update().

int MemSensor::getCached  ) 
 

Definition at line 45 of file memsensor.cpp.

Referenced by update().

int MemSensor::getMemFree  ) 
 

Definition at line 30 of file memsensor.cpp.

Referenced by update().

QString MemSensor::getMemLine  ) 
 

int MemSensor::getMemTotal  ) 
 

Definition at line 23 of file memsensor.cpp.

Referenced by setMaxValue(), and update().

int MemSensor::getSwapFree  ) 
 

Definition at line 62 of file memsensor.cpp.

Referenced by update().

int MemSensor::getSwapTotal  ) 
 

Definition at line 55 of file memsensor.cpp.

Referenced by setMaxValue(), and update().

void MemSensor::setMaxValue SensorParams sp  )  [virtual]
 

Reimplemented from Sensor.

Definition at line 123 of file memsensor.cpp.

References getMemTotal(), SensorParams::getMeter(), SensorParams::getParam(), getSwapTotal(), and Meter::setMax().

void MemSensor::update  )  [virtual]
 

Implements Sensor.

Definition at line 82 of file memsensor.cpp.

References getBuffers(), getCached(), getMemFree(), getMemTotal(), SensorParams::getMeter(), SensorParams::getParam(), getSwapFree(), getSwapTotal(), and Meter::setValue().


The documentation for this class was generated from the following files:
Generated on Mon May 16 14:04:24 2005 for karamba by  doxygen 1.3.9.1