eyebot_proximity_default_sensor.h
Go to the documentation of this file.
1 
7 #ifndef EYEBOT_PROXIMITY_DEFAULT_SENSOR_H
8 #define EYEBOT_PROXIMITY_DEFAULT_SENSOR_H
9 
10 #include <string>
11 #include <map>
12 
13 namespace argos {
14  class CEyeBotProximityDefaultSensor;
15 }
16 
17 #include <argos3/plugins/robots/eye-bot/control_interface/ci_eyebot_proximity_sensor.h>
18 #include <argos3/plugins/robots/generic/simulator/proximity_default_sensor.h>
19 
20 namespace argos {
21 
23  public CSimulatedSensor {
24 
25  public:
26 
28 
30 
31  virtual void SetRobot(CComposableEntity& c_entity);
32 
33  virtual void Init(TConfigurationNode& t_tree);
34 
35  virtual void Update();
36 
37  virtual void Reset();
38 
39  private:
40 
41  CProximityDefaultSensor* m_pcProximityImpl;
42 
43  };
44 
45 }
46 
47 #endif
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
Basic class for an entity that contains other entities.
The basic interface for a simulated sensor.
Definition: sensor.h:24
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this sensor.
virtual void Reset()
Resets the sensor to the state it had just after Init().
virtual void Update()
Updates the state of the entity associated to this sensor, if the sensor is currently enabled.
virtual void Init(TConfigurationNode &t_tree)
Initializes the sensor from the XML configuration tree.