GraspSelectionManagerComponentPlugin.cpp
Go to the documentation of this file.
2
4
5namespace 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(_graspSelectionManager, PROPERTY_NAME);
20 }
21
22 void
25 {
26 if (!properties->hasDefinition(PROPERTY_NAME))
27 {
28 properties->defineOptionalProperty<std::string>(
29 PROPERTY_NAME, "GraspSelectionManager", "Name of the GraspSelectionManager");
30 }
31 }
32
33 GraspSelectionManagerInterfacePrx
35 {
36 return _graspSelectionManager;
37 }
38
39
40 } // namespace plugins
41} // namespace armarx
42
43namespace armarx
44{
45
50
51 GraspSelectionManagerInterfacePrx
53 {
54 return plugin->getGraspSelectionManager();
55 }
56
57
58} // namespace armarx
PluginT * addPlugin(const std::string prefix="", ParamsT &&... params)
void postCreatePropertyDefinitions(PropertyDefinitionsPtr &properties) override
This file is part of ArmarX.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.