#include <magnets_default_actuator.h>
Public Member Functions | |
CMagnetsDefaultActuator () | |
virtual | ~CMagnetsDefaultActuator () |
virtual void | SetRobot (CComposableEntity &c_entity) |
Sets the entity associated to this actuator. More... | |
virtual void | Init (TConfigurationNode &t_tree) |
Initializes the actuator from the XML configuration tree. More... | |
virtual void | Update () |
Updates the state of the entity associated to this actuator. More... | |
virtual void | Reset () |
Resets the actuator to the state it had just after Init(). More... | |
Public Member Functions inherited from argos::CSimulatedActuator | |
virtual | ~CSimulatedActuator () |
Class destructor. More... | |
Public Member Functions inherited from argos::CCI_MagnetsActuator | |
CCI_MagnetsActuator () | |
Constructor. More... | |
virtual | ~CCI_MagnetsActuator () |
Destructor. More... | |
SInterface::TVector & | GetInterfaces () |
Returns a reference to the magnet interfaces. More... | |
Public Member Functions inherited from argos::CCI_Actuator | |
virtual | ~CCI_Actuator () |
Class destructor. More... | |
virtual void | Destroy () |
Destroys the actuator. More... | |
Public Member Functions inherited from argos::CBaseConfigurableResource | |
virtual | ~CBaseConfigurableResource () |
Class destructor. More... | |
Protected Attributes | |
CMagnetEquippedEntity * | m_pcMagnetEquippedEntity |
Protected Attributes inherited from argos::CCI_MagnetsActuator | |
SInterface::TVector | m_vecInterfaces |
Additional Inherited Members | |
Public Types inherited from argos::CCI_Actuator | |
typedef std::map< std::string, CCI_Actuator *, std::less< std::string > > | TMap |
Definition at line 20 of file magnets_default_actuator.h.
argos::CMagnetsDefaultActuator::CMagnetsDefaultActuator | ( | ) |
Definition at line 15 of file magnets_default_actuator.cpp.
|
inlinevirtual |
Definition at line 27 of file magnets_default_actuator.h.
|
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 41 of file magnets_default_actuator.cpp.
|
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 66 of file magnets_default_actuator.cpp.
|
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 22 of file magnets_default_actuator.cpp.
|
virtual |
Updates the state of the entity associated to this actuator.
Implements argos::CSimulatedActuator.
Definition at line 55 of file magnets_default_actuator.cpp.
|
protected |
Definition at line 39 of file magnets_default_actuator.h.