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
sensormotorinfo.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2005-2014 LpzRobots development team *
3  * Georg Martius <georg dot martius at web dot de> *
4  * Ralf Der <ralfder at mis dot mpg dot de> *
5  * *
6  * This program is free software; you can redistribute it and/or modify *
7  * it under the terms of the GNU General Public License as published by *
8  * the Free Software Foundation; either version 2 of the License, or *
9  * (at your option) any later version. *
10  * *
11  * This program is distributed in the hope that it will be useful, *
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14  * GNU General Public License for more details. *
15  * *
16  * You should have received a copy of the GNU General Public License *
17  * along with this program; if not, write to the *
18  * Free Software Foundation, Inc., *
19  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
20  * *
21  ***************************************************************************/
22 #ifndef __SENSORMOTORINFO_H
23 #define __SENSORMOTORINFO_H
24 
25 #include <string>
26 #include "types.h"
27 
28 
29 /**
30  * Interface for objects, that can be stored and restored to/from a file stream (binary).
31 */
32 
34 public:
37 
38  SensorMotorInfo(std::string name=std::string())
39  : name(name), min(-1.0), max(1.0), index(0), quantity(Position), type(Continuous)
40  {}
41 
42  CHANGER( SensorMotorInfo, std::string, name);
43  CHANGER( SensorMotorInfo, double, min);
44  CHANGER( SensorMotorInfo, double, max);
47 
48 
49  std::string name;
50  double min;
51  double max;
52  int index; // index within one Sensor
55 };
56 
57 #endif
double max
Definition: sensormotorinfo.h:51
Definition: sensormotorinfo.h:35
Quantity quantity
Definition: sensormotorinfo.h:53
Definition: sensormotorinfo.h:36
Quantity
Definition: sensormotorinfo.h:36
Type
Definition: sensormotorinfo.h:35
Definition: sensormotorinfo.h:35
int index
Definition: sensormotorinfo.h:52
Definition: sensormotorinfo.h:36
Definition: position.h:30
double min
Definition: sensormotorinfo.h:50
Definition: sensormotorinfo.h:36
Definition: sensormotorinfo.h:35
Interface for objects, that can be stored and restored to/from a file stream (binary).
Definition: sensormotorinfo.h:33
Definition: sensormotorinfo.h:36
CHANGER(SensorMotorInfo, std::string, name)
Type type
Definition: sensormotorinfo.h:54
SensorMotorInfo(std::string name=std::string())
Definition: sensormotorinfo.h:38
std::string name
Definition: sensormotorinfo.h:49
Definition: sensormotorinfo.h:36