HandControlSkillProvider.cpp
Go to the documentation of this file.
2
6
7//#include <RobotAPI/libraries/armem/client/MemoryNameSystem.h>
10
12{
15 {
18
19 handControlSkillContext.defineProperties(defs, "handControlSkills.");
20
21 return defs;
22 }
23
24 std::string
26 {
27 return "HandControlSkillProvider";
28 }
29
30 void
32 {
33 handControlSkillContext.onInit(*this);
34 }
35
36 void
38 {
39 handControlSkillContext.onConnected(*this);
40
41 // Add move skill
42 addSkillFactory<OpenHand>(std::ref(handControlSkillContext));
43 addSkillFactory<CloseHand>(std::ref(handControlSkillContext));
44 }
45
46 void
50
51 void
55
57} // namespace armarx::skills::provider
#define ARMARX_REGISTER_COMPONENT_EXECUTABLE(ComponentT, applicationName)
Definition Decoupled.h:29
Default component property definition container.
Definition Component.h:70
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
Definition Component.cpp:90
skills::SkillBlueprint * addSkillFactory(const skills::SkillDescription &desc, const skills::LambdaSkill::FunctionType &f)
void onInitComponent() override
Pure virtual hook for the subclass.
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void onConnectComponent() override
Pure virtual hook for the subclass.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.