CartesianPositionControlComponentPlugin.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(_cartesianPositionControl, PROPERTY_NAME);
19  }
20 
22  {
23  if (!properties->hasDefinition(PROPERTY_NAME))
24  {
25  properties->defineRequiredProperty<std::string>(
26  PROPERTY_NAME,
27  "Name of the CartesianPositionControl");
28  }
29  }
30 
32  {
33  return _cartesianPositionControl;
34  }
35 
36 
37  }
38 }
39 
40 namespace armarx
41 {
42 
44  {
45  addPlugin(plugin);
46  }
47 
49  {
50  return plugin->getCartesianPositionControl();
51  }
52 
53 
54 }
55 
56 
CartesianPositionControlComponentPlugin.h
armarx::CartesianPositionControlComponentPluginUser::CartesianPositionControlComponentPluginUser
CartesianPositionControlComponentPluginUser()
Definition: CartesianPositionControlComponentPlugin.cpp:43
armarx::plugins::CartesianPositionControlComponentPlugin::getCartesianPositionControl
CartesianPositionControlInterfacePrx getCartesianPositionControl()
Definition: CartesianPositionControlComponentPlugin.cpp:31
armarx::plugins::CartesianPositionControlComponentPlugin::preOnConnectComponent
void preOnConnectComponent() override
Definition: CartesianPositionControlComponentPlugin.cpp:16
armarx::ManagedIceObject::addPlugin
PluginT * addPlugin(const std::string prefix="", ParamsT &&...params)
Definition: ManagedIceObject.h:182
armarx::plugins::CartesianPositionControlComponentPlugin::preOnInitComponent
void preOnInitComponent() override
Definition: CartesianPositionControlComponentPlugin.cpp:11
plugins
armarx::CartesianPositionControlComponentPluginUser::getCartesianPositionControl
CartesianPositionControlInterfacePrx getCartesianPositionControl()
Definition: CartesianPositionControlComponentPlugin.cpp:48
Component.h
armarx::plugins::CartesianPositionControlComponentPlugin::postCreatePropertyDefinitions
void postCreatePropertyDefinitions(PropertyDefinitionsPtr &properties) override
Definition: CartesianPositionControlComponentPlugin.cpp:21
IceUtil::Handle< class PropertyDefinitionContainer >
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28