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

ProgramSensor Class Reference

#include <programsensor.h>

Inheritance diagram for ProgramSensor:

Inheritance graph
[legend]
Collaboration diagram for ProgramSensor:

Collaboration graph
[legend]
List of all members.

Public Slots

void receivedStdout (KProcess *proc, char *buffer, int buflen)
void processExited (KProcess *proc)

Public Member Functions

 ProgramSensor (QString programName, int msec=1000, QString encoding="")
 ~ProgramSensor ()
void update ()

Constructor & Destructor Documentation

ProgramSensor::ProgramSensor QString  programName,
int  msec = 1000,
QString  encoding = ""
 

Definition at line 13 of file programsensor.cpp.

References processExited(), and receivedStdout().

ProgramSensor::~ProgramSensor  ) 
 

Definition at line 34 of file programsensor.cpp.


Member Function Documentation

void ProgramSensor::processExited KProcess *  proc  )  [slot]
 

Definition at line 44 of file programsensor.cpp.

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

Referenced by ProgramSensor().

void ProgramSensor::receivedStdout KProcess *  proc,
char *  buffer,
int  buflen
[slot]
 

Definition at line 37 of file programsensor.cpp.

Referenced by ProgramSensor().

void ProgramSensor::update  )  [virtual]
 

Implements Sensor.

Definition at line 85 of file programsensor.cpp.


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