• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • superkaramba
 

superkaramba

  • superkaramba
  • src
sensorsensor.h
1 
2 #ifndef SENSORSENSOR_H
3 #define SENSORSENSOR_H
4 
5 #include <tqstring.h>
6 #include <tqtextcodec.h>
7 #include <tqmap.h>
8 #include <tqstringlist.h>
9 #include <tqregexp.h>
10 #include <tdeprocess.h>
11 #include <tdeprocio.h>
12 
13 
14 #include "sensor.h"
15 
20 class SensorSensor : public Sensor
21 {
22  TQ_OBJECT
23 
24 public:
25  SensorSensor(int interval, char tempUnit);
26 
27  ~SensorSensor();
28 
29  void update();
30 
31 
32 private:
33  KShellProcess ksp;
34  TQString extraParams;
35 
36  TQMap<TQString,TQString> sensorMap;
37 #if defined __FreeBSD__ || defined(Q_OS_NETBSD)
38  TQMap<TQString,TQString> sensorMapBSD;
39 #endif
40  TQString sensorResult;
41 
42 private slots:
43  void receivedStdout(TDEProcess *, char *buffer, int);
44  void processExited(TDEProcess *);
45 
46 
47 
48 };
49 
50 #endif
SensorSensor
Hans Karlsson.
Definition: sensorsensor.h:20

superkaramba

Skip menu "superkaramba"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members

superkaramba

Skip menu "superkaramba"
  • kcalc
  •   knumber
  • superkaramba
Generated for superkaramba by doxygen 1.8.13
This website is maintained by Timothy Pearson.