smurf
Sensor.hpp
Go to the documentation of this file.
1 #ifndef SENSOR_H
2 #define SENSOR_H
3 
4 #include "Frame.hpp"
5 #include <configmaps/ConfigData.h>
6 
7 namespace smurf
8 {
9 
10  class Sensor
11  {
12  public:
13  Sensor(const std::string &name, const std::string &type, const std::string &taskInstanceName, Frame *inFrame);
14  Sensor(const std::string &name, const std::string &type, const std::string &taskInstanceName, Frame *inFrame, configmaps::ConfigMap sensorMap);
15  Sensor();
16  std::string getName() const;
17  std::string getType() const;
18  std::string getTaskInstanceName();
20  std::string getJointName() const;
21 
22  configmaps::ConfigMap getMap() const {return this->map;}
23 
24  void setJointName(std::string jointName);
25 
26  private:
27  std::string name;
28  std::string type;
29 
30  std::string taskInstanceName;
31 
32  Frame *attachmentPoint;
33 
34  configmaps::ConfigMap map;
35 
36  std::string jointName;
37  };
38 
39 };
40 
41 #endif // SENSOR_H
Sensor()
Definition: Sensor.cpp:3
Definition: Frame.hpp:11
configmaps::ConfigMap getMap() const
Definition: Sensor.hpp:22
std::string getName() const
Definition: Sensor.cpp:24
std::string getType() const
Definition: Sensor.cpp:29
std::string getJointName() const
Definition: Sensor.cpp:49
void setJointName(std::string jointName)
Definition: Sensor.cpp:44
Definition: Sensor.hpp:10
Frame * getAttachmentPoint()
Definition: Sensor.cpp:34
std::string getTaskInstanceName()
Definition: Sensor.cpp:39
Definition: Collidable.hpp:11