ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
#include <leds_default_actuator.h>
Public Member Functions | |
CLEDsDefaultActuator () | |
virtual | ~CLEDsDefaultActuator () |
virtual void | SetRobot (CComposableEntity &c_entity) |
Sets the entity associated to this actuator. | |
virtual void | Init (TConfigurationNode &t_tree) |
Initializes the actuator from the XML configuration tree. | |
virtual void | Update () |
Updates the state of the entity associated to this actuator. | |
virtual void | Reset () |
Resets the actuator to the state it had just after Init(). | |
virtual void | Destroy () |
Destroys the actuator. |
Definition at line 24 of file leds_default_actuator.h.
Definition at line 17 of file leds_default_actuator.cpp.
virtual argos::CLEDsDefaultActuator::~CLEDsDefaultActuator | ( | ) | [inline, virtual] |
Definition at line 31 of file leds_default_actuator.h.
void argos::CLEDsDefaultActuator::Destroy | ( | ) | [virtual] |
Destroys the actuator.
This method is supposed to undo whatever was done in Init(). The default implementation of this method does nothing.
Reimplemented from argos::CCI_Actuator.
Definition at line 63 of file leds_default_actuator.cpp.
void argos::CLEDsDefaultActuator::Init | ( | TConfigurationNode & | t_node | ) | [virtual] |
Initializes the actuator from the XML configuration tree.
The default implementation of this method does nothing.
t_node | The XML configuration tree relative to this actuator. |
Reimplemented from argos::CCI_Actuator.
Definition at line 33 of file leds_default_actuator.cpp.
void argos::CLEDsDefaultActuator::Reset | ( | ) | [virtual] |
Resets the actuator to the state it had just after Init().
The default implementation of this method does nothing.
Reimplemented from argos::CCI_Actuator.
Definition at line 56 of file leds_default_actuator.cpp.
void argos::CLEDsDefaultActuator::SetRobot | ( | CComposableEntity & | c_entity | ) | [virtual] |
Sets the entity associated to this actuator.
When a controller is created, all the sensors and actuators are created, too. This function is called right before the Init()
method of the actuator is called.
c_entity | The entity to associate to this actuator. |
Implements argos::CSimulatedActuator.
Definition at line 23 of file leds_default_actuator.cpp.
void argos::CLEDsDefaultActuator::Update | ( | ) | [virtual] |
Updates the state of the entity associated to this actuator.
Implements argos::CSimulatedActuator.
Definition at line 49 of file leds_default_actuator.cpp.