footbot_turret_encoder_default_sensor.h
Go to the documentation of this file.
1 
7 #ifndef FOOTBOT_TURRET_ENCODER_DEFAULT_SENSOR_H
8 #define FOOTBOT_TURRET_ENCODER_DEFAULT_SENSOR_H
9 
10 #include <string>
11 #include <map>
12 
13 namespace argos {
14  class CFootBotTurretEncoderDefaultSensor;
15 }
16 
17 #include <argos3/plugins/robots/foot-bot/control_interface/ci_footbot_turret_encoder_sensor.h>
18 #include <argos3/plugins/robots/foot-bot/simulator/footbot_turret_encoder_default_sensor.h>
19 #include <argos3/plugins/robots/foot-bot/simulator/footbot_turret_entity.h>
20 #include <argos3/core/simulator/sensor.h>
21 
22 namespace argos {
23 
25  public CSimulatedSensor {
26 
27  public:
28 
30 
32 
33  virtual void SetRobot(CComposableEntity& c_entity);
34 
35  virtual void Update();
36 
37  virtual void Reset();
38 
39  virtual void Enable();
40 
41  virtual void Disable();
42 
43  private:
44 
45  CFootBotTurretEntity* m_pcTurretEntity;
46 
47  };
48 
49 }
50 
51 #endif
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
Basic class for an entity that contains other entities.
The basic interface for a simulated sensor.
Definition: sensor.h:24
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 Disable()
Disables updating of sensor information in the event loop.
virtual void Enable()
Enables updating of sensor information in the event loop.
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this sensor.