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

sensorparams.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2003 by Hans Karlsson                                   *
00003  *   karlsson.h@home.se                                                      *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  ***************************************************************************/
00010 #include "sensorparams.h"
00011 
00012 
00013 SensorParams::SensorParams(Meter* m)
00014 {
00015   meter = m;
00016 }
00017 
00018 SensorParams::~SensorParams()
00019 {
00020 }
00021 
00022 void SensorParams::addParam( QString name, QString value){
00023     params[name] = value;
00024 }
00025 
00026 QString SensorParams::getParam( QString name ) const
00027 {
00028     return params[name];
00029 }
00030 
00031 Meter* SensorParams::getMeter() const
00032 {
00033    return meter;
00034 }

Generated on Mon May 16 13:59:20 2005 for karamba by  doxygen 1.3.9.1