BringObjectSkillProvider.cpp
Go to the documentation of this file.
1
#include "
BringObjectSkillProvider.h
"
2
3
namespace
armarx::skills::provider
4
{
5
armarx::PropertyDefinitionsPtr
6
BringObjectSkillProvider::createPropertyDefinitions
()
7
{
8
armarx::PropertyDefinitionsPtr
defs =
9
new
ComponentPropertyDefinitions
(
getConfigIdentifier
());
10
11
bringObjectSkillContext.
defineProperties
(defs,
"bringObject."
);
12
13
return
defs;
14
}
15
16
std::string
17
BringObjectSkillProvider::getDefaultName
()
const
18
{
19
return
"BringObjectSkillProvider"
;
20
}
21
22
void
23
BringObjectSkillProvider::onInitComponent
()
24
{
25
bringObjectSkillContext.
onInit
(*
this
);
26
}
27
28
void
29
BringObjectSkillProvider::onConnectComponent
()
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
39
BringObjectSkillProvider::onDisconnectComponent
()
40
{
41
}
42
43
void
44
BringObjectSkillProvider::onExitComponent
()
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
RobotSkillTemplates
components
BringObjectSkillProvider
BringObjectSkillProvider.cpp
Generated on Sat Mar 29 2025 09:17:33 for armarx_documentation by
1.8.17