KinematicUnitComponentPlugin.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(_kinematicUnit, PROPERTY_NAME);
20 }
21
22 void
25 {
26 if (!properties->hasDefinition(PROPERTY_NAME))
27 {
28 properties->defineRequiredProperty<std::string>(PROPERTY_NAME,
29 "Name of the KinematicUnit");
30 }
31 }
32
33 KinematicUnitInterfacePrx
35 {
36 return _kinematicUnit;
37 }
38
39
40 } // namespace plugins
41
42} // namespace armarx
43
44namespace armarx
45{
46
51
52 KinematicUnitInterfacePrx
54 {
55 return plugin->getKinematicUnit();
56 }
57
58
59} // 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.