NaturalIKComponentPlugin.cpp
Go to the documentation of this file.
1
#include "
NaturalIKComponentPlugin.h
"
2
3
#include <
ArmarXCore/core/Component.h
>
4
5
6
namespace
armarx
7
{
8
namespace
plugins
9
{
10
11
void
NaturalIKComponentPlugin::preOnInitComponent
()
12
{
13
parent<Component>().usingProxyFromProperty(PROPERTY_NAME);
14
}
15
16
void
NaturalIKComponentPlugin::preOnConnectComponent
()
17
{
18
parent<Component>().getProxyFromProperty(_naturalIK, PROPERTY_NAME);
19
}
20
21
void
NaturalIKComponentPlugin::postCreatePropertyDefinitions
(
armarx::PropertyDefinitionsPtr
& properties)
22
{
23
if
(!properties->hasDefinition(PROPERTY_NAME))
24
{
25
properties->defineOptionalProperty<std::string>(
26
PROPERTY_NAME,
27
"NaturalIK"
,
28
"Name of the NaturalIK"
);
29
}
30
}
31
32
NaturalIKInterfacePrx
NaturalIKComponentPlugin::getNaturalIK
()
33
{
34
return
_naturalIK;
35
}
36
37
38
}
39
}
40
41
namespace
armarx
42
{
43
44
NaturalIKComponentPluginUser::NaturalIKComponentPluginUser
()
45
{
46
addPlugin
(plugin);
47
}
48
49
NaturalIKInterfacePrx
NaturalIKComponentPluginUser::getNaturalIK
()
50
{
51
return
plugin->
getNaturalIK
();
52
}
53
54
55
}
56
57
armarx::plugins::NaturalIKComponentPlugin::getNaturalIK
NaturalIKInterfacePrx getNaturalIK()
Definition:
NaturalIKComponentPlugin.cpp:32
armarx::ManagedIceObject::addPlugin
PluginT * addPlugin(const std::string prefix="", ParamsT &&...params)
Definition:
ManagedIceObject.h:182
armarx::plugins::NaturalIKComponentPlugin::preOnConnectComponent
void preOnConnectComponent() override
Definition:
NaturalIKComponentPlugin.cpp:16
plugins
armarx::plugins::NaturalIKComponentPlugin::postCreatePropertyDefinitions
void postCreatePropertyDefinitions(PropertyDefinitionsPtr &properties) override
Definition:
NaturalIKComponentPlugin.cpp:21
armarx::NaturalIKComponentPluginUser::NaturalIKComponentPluginUser
NaturalIKComponentPluginUser()
Definition:
NaturalIKComponentPlugin.cpp:44
armarx::NaturalIKComponentPluginUser::getNaturalIK
NaturalIKInterfacePrx getNaturalIK()
Definition:
NaturalIKComponentPlugin.cpp:49
armarx::plugins::NaturalIKComponentPlugin::preOnInitComponent
void preOnInitComponent() override
Definition:
NaturalIKComponentPlugin.cpp:11
Component.h
IceUtil::Handle< class PropertyDefinitionContainer >
NaturalIKComponentPlugin.h
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:28
RobotAPI
libraries
RobotAPIComponentPlugins
NaturalIKComponentPlugin.cpp
Generated on Sat Oct 12 2024 09:14:11 for armarx_documentation by
1.8.17