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
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
The basic interface for a simulated actuator.
Definition: actuator.h:24
Basic class for an entity that contains other entities.
virtual void Reset()
Resets the actuator to the state it had just after Init().
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.
CMagnetEquippedEntity * m_pcMagnetEquippedEntity
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this actuator.
A container of CMagnetEntity.