Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
imeasure.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2005-2011 LpzRobots development team *
3  * Georg Martius <georg dot martius at web dot de> *
4  * Frank Guettler <guettler at informatik dot uni-leipzig dot de *
5  * Frank Hesse <frank at nld dot ds dot mpg dot de> *
6  * Ralf Der <ralfder at mis dot mpg dot de> *
7  * *
8  * This program is free software; you can redistribute it and/or modify *
9  * it under the terms of the GNU General Public License as published by *
10  * the Free Software Foundation; either version 2 of the License, or *
11  * (at your option) any later version. *
12  * *
13  * This program is distributed in the hope that it will be useful, *
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16  * GNU General Public License for more details. *
17  * *
18  * You should have received a copy of the GNU General Public License *
19  * along with this program; if not, write to the *
20  * Free Software Foundation, Inc., *
21  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
22  * *
23  ***************************************************************************/
24 /*
25  * imeasure.h
26  *
27  * Created on: 26.01.2009
28  * Author: guettler
29  */
30 
31 #ifndef IMEASURE_H_
32 #define IMEASURE_H_
33 
34 /**
35  * Class used by StatisticTools.
36  * Provides an interface for any kind of time series analysis.
37  * Every step the StatisticTools calls step.
38  * @sa StatisticTools
39  * @sa HUDStatisticsManager
40  * @sa AbstractMeasure
41  */
42 class IMeasure {
43 public:
44 
45  virtual ~IMeasure() {};
46 
47  virtual void step() = 0;
48 
49  virtual std::string getName() const = 0;
50 
51  virtual double getValue() const = 0;
52 
53  virtual double& getValueAddress() = 0;
54 
55  virtual void setStepSize(int newStepSize) = 0;
56 
57  virtual int getStepSize() const = 0;
58 
59  virtual long getActualStep() const = 0;
60 };
61 
62 #endif /* IMEASURE_H_ */
virtual void setStepSize(int newStepSize)=0
virtual void step()=0
virtual std::string getName() const =0
Class used by StatisticTools.
Definition: imeasure.h:42
virtual int getStepSize() const =0
virtual double & getValueAddress()=0
virtual long getActualStep() const =0
virtual double getValue() const =0
virtual ~IMeasure()
Definition: imeasure.h:45