PlatformControlSkillProvider.cpp
Go to the documentation of this file.
1
2
4
8
9//#include <RobotAPI/libraries/armem/client/MemoryNameSystem.h>
12
14{
17 {
20
21 platformControlSkillContext.defineProperties(defs, "platformControlSkills.");
22
23 return defs;
24 }
25
26 std::string
28 {
29 return "PlatformControlSkillProvider";
30 }
31
32 void
34 {
35 platformControlSkillContext.onInit(*this);
36 }
37
38 void
40 {
41 platformControlSkillContext.onConnected(*this);
42
43 auto& mns = memoryNameSystem();
44
45 // Add move skill
46 addSkillFactory<MovePlatformToLandmark>(std::ref(mns), std::ref(arviz), std::ref(platformControlSkillContext));
47 addSkillFactory<MovePlatformToPose>(std::ref(mns), std::ref(arviz), std::ref(platformControlSkillContext));
48 }
49
50 void
54
55 void
59
61} // 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.