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

Sensor Class Reference

#include <sensor.h>

Inheritance diagram for Sensor:

Inheritance graph
[legend]
List of all members.

Public Slots

virtual void update ()=0

Public Member Functions

 Sensor (int msec=1000)
void start ()
virtual ~Sensor ()
void addMeter (SensorParams *s)
virtual void setMaxValue (SensorParams *s)

Protected Attributes

QObjectList * objList

Constructor & Destructor Documentation

Sensor::Sensor int  msec = 1000  ) 
 

Definition at line 11 of file sensor.cpp.

References objList.

Sensor::~Sensor  )  [virtual]
 

Definition at line 27 of file sensor.cpp.

References objList.


Member Function Documentation

void Sensor::addMeter SensorParams s  ) 
 

Definition at line 33 of file sensor.cpp.

References objList.

void Sensor::setMaxValue SensorParams s  )  [virtual]
 

Reimplemented in CPUSensor, DiskSensor, MemSensor, and NoatunSensor.

Definition at line 39 of file sensor.cpp.

void Sensor::start  ) 
 

Definition at line 18 of file sensor.cpp.

References update().

virtual void Sensor::update  )  [pure virtual, slot]
 

Implemented in CPUSensor, DateSensor, DiskSensor, MemSensor, NetworkSensor, NoatunSensor, ProgramSensor, SensorSensor, TextFileSensor, UptimeSensor, and XMMSSensor.

Referenced by start().


Member Data Documentation

QObjectList* Sensor::objList [protected]
 

Definition at line 37 of file sensor.h.

Referenced by addMeter(), Sensor(), and ~Sensor().


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