leds_default_actuator.h
Go to the documentation of this file.
1 
7 #ifndef LEDS_DEFAULT_ACTUATOR_H
8 #define LEDS_DEFAULT_ACTUATOR_H
9 
10 #include <string>
11 #include <map>
12 
13 namespace argos {
14  class CLEDsDefaultActuator;
15  class CLEDMedium;
16 }
17 
18 #include <argos3/plugins/robots/generic/control_interface/ci_leds_actuator.h>
19 #include <argos3/plugins/simulator/entities/led_equipped_entity.h>
20 #include <argos3/core/simulator/actuator.h>
21 
22 namespace argos {
23 
25  public CCI_LEDsActuator {
26 
27  public:
28 
30 
31  virtual ~CLEDsDefaultActuator() {}
32 
33  virtual void SetRobot(CComposableEntity& c_entity);
34 
35  virtual void Init(TConfigurationNode& t_tree);
36  virtual void Update();
37  virtual void Reset();
38  virtual void Destroy();
39 
40  private:
41 
42  CLEDEquippedEntity* m_pcLEDEquippedEntity;
43  CLEDMedium* m_pcLEDMedium;
44 
45  };
46 
47 }
48 
49 #endif
virtual void Reset()
Resets the actuator to the state it had just after Init().
The basic interface for a simulated actuator.
Definition: actuator.h:22
virtual void Init(TConfigurationNode &t_tree)
Initializes the actuator from the XML configuration tree.
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this actuator.
A container of CLEDEntity.
Basic class for an entity that contains other entities.
virtual void Update()
Updates the state of the entity associated to this actuator.
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
virtual void Destroy()
Destroys the actuator.