magnets_default_actuator.h
Go to the documentation of this file.
1 /*
2  * @file <argos3/plugins/robots/generic/simulator/magnets_default_actuator.h>
3  *
4  * @author Michael Allwright - <allsey87@gmail.com>
5  */
6 
7 #ifndef MAGNETS_DEFAULT_ACTUATOR_H
8 #define MAGNETS_DEFAULT_ACTUATOR_H
9 
10 namespace argos {
11  class CMagnetsDefaultActuator;
12 }
13 
14 #include <argos3/core/simulator/actuator.h>
15 #include <argos3/plugins/robots/generic/control_interface/ci_magnets_actuator.h>
16 #include <argos3/plugins/simulator/entities/magnet_equipped_entity.h>
17 
18 namespace argos {
19 
21  public CCI_MagnetsActuator {
22 
23  public:
24 
26 
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 
40 
41  };
42 }
43 
44 #endif
virtual void Update()
Updates the state of the entity associated to this actuator.
The basic interface for a simulated actuator.
Definition: actuator.h:22
CMagnetEquippedEntity * m_pcMagnetEquippedEntity
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
virtual void Init(TConfigurationNode &t_tree)
Initializes the actuator from the XML configuration tree.
Basic class for an entity that contains other entities.
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this actuator.
virtual void Reset()
Resets the actuator to the state it had just after Init().
A container of CMagnetEntity.
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12