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