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