BringObjectSkillProvider.cpp
Go to the documentation of this file.
2 
4 {
6  {
8 
9  bringObjectSkillContext.defineProperties(defs, "bringObject.");
10 
11  return defs;
12  }
13 
15  {
16  return "BringObjectSkillProvider";
17  }
18 
20  {
21  bringObjectSkillContext.onInit(*this);
22  }
23 
25  {
26  bringObjectSkillContext.onConnected(*this);
27 
28  // Add move skill
29  addSkill(std::make_unique<BringObjectToLocation>(bringObjectSkillContext));
30  //addSkill(std::make_unique<BringObjectToHuman>(mns, arviz, graspObjectSkillContext));
31  }
32 
34  {
35 
36  }
37 
39  {}
40 }
armarx::skills::provider::BringObjectSkillProvider::onConnectComponent
void onConnectComponent() override
Pure virtual hook for the subclass.
Definition: BringObjectSkillProvider.cpp:24
armarx::skills::SkillContext::onConnected
virtual void onConnected(armarx::Component &parent)
Definition: SkillContext.h:22
armarx::skills::BringObjectSkillContext::onInit
virtual void onInit(armarx::Component &parent) final
Definition: BringObjectSkill.h:55
armarx::skills::provider::BringObjectSkillProvider::onInitComponent
void onInitComponent() override
Pure virtual hook for the subclass.
Definition: BringObjectSkillProvider.cpp:19
BringObjectSkillProvider.h
armarx::skills::provider::BringObjectSkillProvider::onDisconnectComponent
void onDisconnectComponent() override
Hook for subclass.
Definition: BringObjectSkillProvider.cpp:33
armarx::skills::provider
Definition: BusyWaiting.cpp:6
armarx::skills::provider::BringObjectSkillProvider::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition: BringObjectSkillProvider.cpp:5
armarx::Component::getConfigIdentifier
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
Definition: Component.cpp:74
armarx::ComponentPropertyDefinitions
Default component property definition container.
Definition: Component.h:70
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::skills::provider::BringObjectSkillProvider::getDefaultName
std::string getDefaultName() const override
Definition: BringObjectSkillProvider.cpp:14
armarx::skills::provider::BringObjectSkillProvider::onExitComponent
void onExitComponent() override
Hook for subclass.
Definition: BringObjectSkillProvider.cpp:38
armarx::skills::BringObjectSkillContext::defineProperties
void defineProperties(const armarx::PropertyDefinitionsPtr &defs, const std::string &prefix) final
Definition: BringObjectSkill.h:49