00001
00002 #ifndef SENSORPARAMS_H
00003 #define SENSORPARAMS_H
00004
00005 #include "meter.h"
00006 #include <qstring.h>
00007 #include <qmap.h>
00012 class SensorParams : public QObject
00013 {
00014 public:
00015 SensorParams( Meter* );
00016
00017 ~SensorParams();
00018
00019 void addParam( QString name, QString value);
00020 QString getParam( QString ) const;
00021
00022 Meter* getMeter() const;
00023 private:
00024 Meter *meter;
00025 QMap<QString,QString> params;
00026
00027 };
00028
00029 #endif