ci_proximity_sensor.h
Go to the documentation of this file.
1 
7 #ifndef CCI_PROXIMITY_SENSOR_H
8 #define CCI_PROXIMITY_SENSOR_H
9 
10 namespace argos {
11  class CCI_ProximitySensor;
12 }
13 
14 #include <argos3/core/control_interface/ci_sensor.h>
15 
16 namespace argos {
17 
19 
20  public:
21 
22  virtual ~CCI_ProximitySensor() {}
23 
24  const std::vector<Real>& GetReadings() const;
25 
26 #ifdef ARGOS_WITH_LUA
27  virtual void CreateLuaState(lua_State* pt_lua_state);
28 
29  virtual void ReadingsToLuaState(lua_State* pt_lua_state);
30 #endif
31 
32  protected:
33 
34  std::vector<Real> m_tReadings;
35 
36  };
37 
38 }
39 
40 #endif
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
The basic interface for all sensors.
Definition: ci_sensor.h:34
std::vector< Real > m_tReadings
const std::vector< Real > & GetReadings() const