radios_default_sensor.h
Go to the documentation of this file.
1 
7 #ifndef RADIOS_DEFAULT_SENSOR_H
8 #define RADIOS_DEFAULT_SENSOR_H
9 
10 namespace argos {
11  class CRadiosDefaultSensor;
12 }
13 
14 #include <argos3/core/simulator/sensor.h>
15 #include <argos3/plugins/robots/generic/control_interface/ci_radios_sensor.h>
16 #include <argos3/plugins/simulator/entities/radio_equipped_entity.h>
17 
18 namespace argos {
19 
21  public CCI_RadiosSensor {
22 
23  public:
24 
26 
27  virtual ~CRadiosDefaultSensor() {}
28 
29  virtual void SetRobot(CComposableEntity& c_entity);
30 
31  virtual void Init(TConfigurationNode& t_tree);
32 
33  virtual void Update();
34 
35  virtual void Reset();
36 
37  protected:
38 
42 
43  };
44 }
45 
46 #endif
virtual void Reset()
Resets the sensor to the state it had just after Init().
An entity that contains a pointer to the user-defined controller.
virtual void Update()
Updates the state of the entity associated to this sensor.
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
The basic interface for a simulated sensor.
Definition: sensor.h:22
Basic class for an entity that contains other entities.
A container of CRadioEntity.
CRadioEquippedEntity * m_pcRadioEquippedEntity
virtual void Init(TConfigurationNode &t_tree)
Initializes the sensor from the XML configuration tree.
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this sensor.
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
CControllableEntity * m_pcControllableEntity