prototype_joint_equipped_entity.h
Go to the documentation of this file.
1 
7 #ifndef PROTOTYPE_JOINT_EQUIPPED_ENTITY_H
8 #define PROTOTYPE_JOINT_EQUIPPED_ENTITY_H
9 
10 namespace argos {
11  class CPrototypeJointEquippedEntity;
12  class CPrototypeJointEntity;
13 }
14 
15 #include <argos3/core/simulator/entity/composable_entity.h>
16 #include <argos3/plugins/robots/prototype/simulator/prototype_joint_entity.h>
17 #include <map>
18 
19 namespace argos {
20 
22 
23  public:
24 
25  ENABLE_VTABLE();
26 
27  public:
28 
30 
32 
33  virtual void Init(TConfigurationNode& t_tree);
34 
36 
37  CPrototypeJointEntity& GetJoint(const std::string& str_id);
38 
40  return m_vecJoints;
41  }
42 
43  virtual std::string GetTypeDescription() const {
44  return "joints";
45  }
46 
47  private:
48 
50  };
51 
52 }
53 
54 #endif
virtual void Init(TConfigurationNode &t_tree)
Initializes the state of the entity from the XML configuration tree.
CPrototypeJointEquippedEntity(CComposableEntity *pc_parent)
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
std::vector< CPrototypeJointEntity * > TVector
virtual std::string GetTypeDescription() const
Returns a string label for this class.
unsigned int UInt32
32-bit unsigned integer.
Definition: datatypes.h:97
Basic class for an entity that contains other entities.
CPrototypeJointEntity::TVector & GetJoints()
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
CPrototypeJointEntity & GetJoint(UInt32 un_index)