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

superkaramba

  • superkaramba
  • src
sensorparams.cpp
1 /***************************************************************************
2  * Copyright (C) 2003 by Hans Karlsson *
3  * karlsson.h@home.se *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU General Public License as published by *
7  * the Free Software Foundation; either version 2 of the License, or *
8  * (at your option) any later version. *
9  ***************************************************************************/
10 #include "sensorparams.h"
11 
12 
13 SensorParams::SensorParams(Meter* m)
14 {
15  meter = m;
16 }
17 
18 SensorParams::~SensorParams()
19 {
20 }
21 
22 void SensorParams::addParam( const TQString &name, const TQString &value){
23  params[name] = value;
24 }
25 
26 TQString SensorParams::getParam( const TQString &name ) const
27 {
28  return params[name];
29 }
30 
31 Meter* SensorParams::getMeter() const
32 {
33  return meter;
34 }

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.