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