ARGoS 3
A parallel, multi-engine simulator for swarm robotics
prototype_link_equipped_entity.h
Go to the documentation of this file.
1
7#ifndef PROTOTYPE_LINK_EQUIPPED_ENTITY_H
8#define PROTOTYPE_LINK_EQUIPPED_ENTITY_H
9
10namespace argos {
11 class CPrototypeLinkEquippedEntity;
12 class CPrototypeLinkEntity;
13}
14
15#include <argos3/core/simulator/entity/composable_entity.h>
16#include <argos3/plugins/robots/prototype/simulator/prototype_link_entity.h>
17#include <map>
18
19namespace argos {
20
22
23 public:
24
26
27 public:
28
30
32
33 virtual void Init(TConfigurationNode& t_tree);
34
36
37 CPrototypeLinkEntity& GetLink(const std::string& str_id);
38
40 return m_vecLinks;
41 }
42
44 return *m_vecLinks[0];
45 }
46
47 virtual std::string GetTypeDescription() const {
48 return "links";
49 }
50
51 private:
52
54 };
55
56}
57
58#endif
unsigned int UInt32
32-bit unsigned integer.
Definition datatypes.h:97
The namespace containing all the ARGoS related code.
Definition ci_actuator.h:12
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
Basic class for an entity that contains other entities.
std::vector< CPrototypeLinkEntity * > TVector
virtual void Init(TConfigurationNode &t_tree)
Initializes the state of the entity from the XML configuration tree.
virtual std::string GetTypeDescription() const
Returns a string label for this class.
CPrototypeLinkEntity & GetLink(UInt32 un_index)
CPrototypeLinkEquippedEntity(CComposableEntity *pc_parent)