ARGoS
3
A parallel, multi-engine simulator for swarm robotics
actuator.h
Go to the documentation of this file.
1
7
#ifndef ACTUATOR_H
8
#define ACTUATOR_H
9
10
namespace
argos
{
11
class
CComposableEntity;
12
}
13
14
namespace
argos
{
15
22
class
CSimulatedActuator
{
23
24
public
:
25
29
virtual
~CSimulatedActuator
() {}
30
41
virtual
void
SetRobot
(
CComposableEntity
& c_entity) = 0;
42
46
virtual
void
Update
() = 0;
47
48
};
49
50
}
51
57
#define REGISTER_ACTUATOR(CLASSNAME, \
58
LABEL, \
59
IMPLEMENTATION, \
60
AUTHOR, \
61
VERSION, \
62
BRIEF_DESCRIPTION, \
63
LONG_DESCRIPTION, \
64
STATUS) \
65
REGISTER_SYMBOL(CSimulatedActuator, \
66
CLASSNAME, \
67
LABEL " (" IMPLEMENTATION ")", \
68
AUTHOR, \
69
VERSION, \
70
BRIEF_DESCRIPTION, \
71
LONG_DESCRIPTION, \
72
STATUS)
73
74
#endif
argos
The namespace containing all the ARGoS related code.
Definition:
ci_actuator.h:12
argos::CComposableEntity
Basic class for an entity that contains other entities.
Definition:
composable_entity.h:32
argos::CSimulatedActuator::SetRobot
virtual void SetRobot(CComposableEntity &c_entity)=0
Sets the entity associated to this actuator.
argos::CSimulatedActuator
The basic interface for a simulated actuator.
Definition:
actuator.h:22
argos::CSimulatedActuator::Update
virtual void Update()=0
Updates the state of the entity associated to this actuator.
argos::CSimulatedActuator::~CSimulatedActuator
virtual ~CSimulatedActuator()
Class destructor.
Definition:
actuator.h:29
core
simulator
actuator.h
Generated on Wed Aug 4 2021 00:15:55 for ARGoS by
1.8.17