ARGoS  3
A parallel, multi-engine simulator for swarm robotics
argos::CLEDsDefaultActuator Class Reference

#include <leds_default_actuator.h>

+ Inheritance diagram for argos::CLEDsDefaultActuator:

List of all members.

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.

Detailed Description

Definition at line 24 of file leds_default_actuator.h.


Constructor & Destructor Documentation

Definition at line 31 of file leds_default_actuator.h.


Member Function Documentation

Destroys the actuator.

This method is supposed to undo whatever was done in Init(). The default implementation of this method does nothing.

See also:
Init()
Reset()

Reimplemented from argos::CCI_Actuator.

Definition at line 63 of file leds_default_actuator.cpp.

Initializes the actuator from the XML configuration tree.

The default implementation of this method does nothing.

Parameters:
t_nodeThe XML configuration tree relative to this actuator.
See also:
Reset()
Destroy()

Reimplemented from argos::CCI_Actuator.

Definition at line 33 of file leds_default_actuator.cpp.

Resets the actuator to the state it had just after Init().

The default implementation of this method does nothing.

See also:
Init()
Destroy()

Reimplemented from argos::CCI_Actuator.

Definition at line 56 of file leds_default_actuator.cpp.

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.

Parameters:
c_entityThe entity to associate to this actuator.
See also:
CComposableEntity
CControllableEntity::SetController()
CCI_Actuator::Init()

Implements argos::CSimulatedActuator.

Definition at line 23 of file leds_default_actuator.cpp.

Updates the state of the entity associated to this actuator.

Implements argos::CSimulatedActuator.

Definition at line 49 of file leds_default_actuator.cpp.


The documentation for this class was generated from the following files: