BringObjectSkillProvider.cpp
Go to the documentation of this file.
2 
4 {
7  {
10 
11  bringObjectSkillContext.defineProperties(defs, "bringObject.");
12 
13  return defs;
14  }
15 
16  std::string
18  {
19  return "BringObjectSkillProvider";
20  }
21 
22  void
24  {
25  bringObjectSkillContext.onInit(*this);
26  }
27 
28  void
30  {
31  bringObjectSkillContext.onConnected(*this);
32 
33  // Add move skill
34  addSkill(std::make_unique<BringObjectToLocation>(bringObjectSkillContext));
35  //addSkill(std::make_unique<BringObjectToHuman>(mns, arviz, graspObjectSkillContext));
36  }
37 
38  void
40  {
41  }
42 
43  void
45  {
46  }
47 } // namespace armarx::skills::provider
armarx::skills::provider::BringObjectSkillProvider::onConnectComponent
void onConnectComponent() override
Pure virtual hook for the subclass.
Definition: BringObjectSkillProvider.cpp:29
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:60
armarx::skills::provider::BringObjectSkillProvider::onInitComponent
void onInitComponent() override
Pure virtual hook for the subclass.
Definition: BringObjectSkillProvider.cpp:23
BringObjectSkillProvider.h
armarx::skills::provider::BringObjectSkillProvider::onDisconnectComponent
void onDisconnectComponent() override
Hook for subclass.
Definition: BringObjectSkillProvider.cpp:39
armarx::skills::provider
Definition: BusyWaiting.cpp:6
armarx::skills::provider::BringObjectSkillProvider::createPropertyDefinitions
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
Definition: BringObjectSkillProvider.cpp:6
armarx::Component::getConfigIdentifier
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
Definition: Component.cpp:79
armarx::ComponentPropertyDefinitions
Default component property definition container.
Definition: Component.h:69
IceUtil::Handle
Definition: forward_declarations.h:30
armarx::skills::provider::BringObjectSkillProvider::getDefaultName
std::string getDefaultName() const override
Definition: BringObjectSkillProvider.cpp:17
armarx::skills::provider::BringObjectSkillProvider::onExitComponent
void onExitComponent() override
Hook for subclass.
Definition: BringObjectSkillProvider.cpp:44
armarx::skills::BringObjectSkillContext::defineProperties
void defineProperties(const armarx::PropertyDefinitionsPtr &defs, const std::string &prefix) final
Definition: BringObjectSkill.h:51