KinematicUnitComponentPlugin.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include <RobotAPI/interface/units/KinematicUnitInterface.h>
5 
6 
7 namespace armarx
8 {
9  namespace plugins
10  {
11 
13  {
14  public:
15  using ComponentPlugin::ComponentPlugin;
16 
17  void preOnInitComponent() override;
18 
19  void preOnConnectComponent() override;
20 
21  void postCreatePropertyDefinitions(PropertyDefinitionsPtr& properties) override;
22 
23  KinematicUnitInterfacePrx getKinematicUnit();
24 
25  private:
26  static constexpr const char* PROPERTY_NAME = "KinematicUnitName";
27  KinematicUnitInterfacePrx _kinematicUnit;
28  };
29 
30  }
31 }
32 
33 
35 
36 namespace armarx
37 {
38  /**
39  * @brief Provides a ready-to-use KinematicUnit.
40  */
42  {
43  public:
45  KinematicUnitInterfacePrx getKinematicUnit();
46 
47  private:
49  };
50 
51 
52 }
53 
54 
55 namespace armarx
56 {
57  namespace plugins
58  {
59  // Legacy typedef.
61  }
62 }
armarx::plugins::KinematicUnitComponentPlugin::preOnConnectComponent
void preOnConnectComponent() override
Definition: KinematicUnitComponentPlugin.cpp:16
armarx::plugins::KinematicUnitComponentPlugin::preOnInitComponent
void preOnInitComponent() override
Definition: KinematicUnitComponentPlugin.cpp:11
armarx::plugins::KinematicUnitComponentPlugin::postCreatePropertyDefinitions
void postCreatePropertyDefinitions(PropertyDefinitionsPtr &properties) override
Definition: KinematicUnitComponentPlugin.cpp:21
armarx::plugins::KinematicUnitComponentPluginUser
armarx::KinematicUnitComponentPluginUser KinematicUnitComponentPluginUser
Definition: KinematicUnitComponentPlugin.h:60
plugins
armarx::KinematicUnitComponentPluginUser::getKinematicUnit
KinematicUnitInterfacePrx getKinematicUnit()
Definition: KinematicUnitComponentPlugin.cpp:49
ManagedIceObject.h
armarx::ComponentPlugin
Definition: ComponentPlugin.h:38
armarx::plugins::KinematicUnitComponentPlugin::getKinematicUnit
KinematicUnitInterfacePrx getKinematicUnit()
Definition: KinematicUnitComponentPlugin.cpp:31
armarx::ManagedIceObject
The ManagedIceObject is the base class for all ArmarX objects.
Definition: ManagedIceObject.h:163
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::plugins::KinematicUnitComponentPlugin
Definition: KinematicUnitComponentPlugin.h:12
armarx::KinematicUnitComponentPluginUser::KinematicUnitComponentPluginUser
KinematicUnitComponentPluginUser()
Definition: KinematicUnitComponentPlugin.cpp:44
ComponentPlugin.h
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28
armarx::KinematicUnitComponentPluginUser
Provides a ready-to-use KinematicUnit.
Definition: KinematicUnitComponentPlugin.h:41