RobotPlacementComponentPlugin.cpp
Go to the documentation of this file.
2 
4 
5 
6 namespace armarx
7 {
8  namespace plugins
9  {
10 
12  {
13  parent<Component>().usingProxyFromProperty(PROPERTY_NAME);
14  }
15 
17  {
18  parent<Component>().getProxyFromProperty(_robotPlacement, PROPERTY_NAME);
19  }
20 
22  {
23  if (!properties->hasDefinition(PROPERTY_NAME))
24  {
25  properties->defineOptionalProperty<std::string>(
26  PROPERTY_NAME,
27  "RobotPlacement",
28  "Name of the RobotPlacement");
29  }
30  }
31 
33  {
34  return _robotPlacement;
35  }
36 
37 
38  }
39 }
40 
41 namespace armarx
42 {
43 
45  {
46  addPlugin(plugin);
47  }
48 
50  {
51  return plugin->getRobotPlacement();
52  }
53 
54 
55 }
56 
57 
armarx::RobotPlacementComponentPluginUser::RobotPlacementComponentPluginUser
RobotPlacementComponentPluginUser()
Definition: RobotPlacementComponentPlugin.cpp:44
armarx::plugins::RobotPlacementComponentPlugin::postCreatePropertyDefinitions
void postCreatePropertyDefinitions(PropertyDefinitionsPtr &properties) override
Definition: RobotPlacementComponentPlugin.cpp:21
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:182
armarx::plugins::RobotPlacementComponentPlugin::preOnConnectComponent
void preOnConnectComponent() override
Definition: RobotPlacementComponentPlugin.cpp:16
plugins
RobotPlacementComponentPlugin.h
Component.h
armarx::RobotPlacementComponentPluginUser::getRobotPlacement
RobotPlacementInterfacePrx getRobotPlacement()
Definition: RobotPlacementComponentPlugin.cpp:49
armarx::plugins::RobotPlacementComponentPlugin::getRobotPlacement
RobotPlacementInterfacePrx getRobotPlacement()
Definition: RobotPlacementComponentPlugin.cpp:32
IceUtil::Handle< class PropertyDefinitionContainer >
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28