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

CPUSensor Class Reference

#include <cpusensor.h>

Inheritance diagram for CPUSensor:

Inheritance graph
[legend]
Collaboration diagram for CPUSensor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CPUSensor (QString cpuNbr, int interval)
 ~CPUSensor ()
void update ()
void setMaxValue (SensorParams *sp)
int getCPULoad ()

Constructor & Destructor Documentation

CPUSensor::CPUSensor QString  cpuNbr,
int  interval
 

Definition at line 13 of file cpusensor.cpp.

References getCPULoad().

CPUSensor::~CPUSensor  ) 
 

Definition at line 22 of file cpusensor.cpp.


Member Function Documentation

int CPUSensor::getCPULoad  ) 
 

Definition at line 59 of file cpusensor.cpp.

Referenced by CPUSensor(), and update().

void CPUSensor::setMaxValue SensorParams sp  )  [virtual]
 

Reimplemented from Sensor.

Definition at line 114 of file cpusensor.cpp.

References SensorParams::getMeter(), and Meter::setMax().

void CPUSensor::update  )  [virtual]
 

Implements Sensor.

Definition at line 84 of file cpusensor.cpp.

References getCPULoad(), SensorParams::getMeter(), SensorParams::getParam(), and Meter::setValue().


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