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