PlatformUnitComponentPlugin.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include <RobotAPI/interface/units/PlatformUnitInterface.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  PlatformUnitInterfacePrx getPlatformUnit();
24 
25  private:
26  static constexpr const char* PROPERTY_NAME = "PlatformUnitName";
27  PlatformUnitInterfacePrx _platformUnit;
28  };
29 
30  }
31 }
32 
33 
35 
36 namespace armarx
37 {
38  /**
39  * @brief Provides a ready-to-use PlatformUnit.
40  */
42  {
43  public:
45  PlatformUnitInterfacePrx getPlatformUnit();
46 
47  private:
49  };
50 
51 }
52 
53 
54 namespace armarx
55 {
56  namespace plugins
57  {
58  // Legacy typedef.
60  }
61 }
armarx::PlatformUnitComponentPluginUser::PlatformUnitComponentPluginUser
PlatformUnitComponentPluginUser()
Definition: PlatformUnitComponentPlugin.cpp:43
armarx::plugins::PlatformUnitComponentPlugin::preOnInitComponent
void preOnInitComponent() override
Definition: PlatformUnitComponentPlugin.cpp:11
armarx::plugins::PlatformUnitComponentPlugin
Definition: PlatformUnitComponentPlugin.h:12
plugins
armarx::PlatformUnitComponentPluginUser
Provides a ready-to-use PlatformUnit.
Definition: PlatformUnitComponentPlugin.h:41
ManagedIceObject.h
armarx::PlatformUnitComponentPluginUser::getPlatformUnit
PlatformUnitInterfacePrx getPlatformUnit()
Definition: PlatformUnitComponentPlugin.cpp:48
armarx::ComponentPlugin
Definition: ComponentPlugin.h:38
armarx::plugins::PlatformUnitComponentPlugin::preOnConnectComponent
void preOnConnectComponent() override
Definition: PlatformUnitComponentPlugin.cpp:16
armarx::ManagedIceObject
The ManagedIceObject is the base class for all ArmarX objects.
Definition: ManagedIceObject.h:163
armarx::plugins::PlatformUnitComponentPlugin::postCreatePropertyDefinitions
void postCreatePropertyDefinitions(PropertyDefinitionsPtr &properties) override
Definition: PlatformUnitComponentPlugin.cpp:21
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::plugins::PlatformUnitComponentPluginUser
armarx::PlatformUnitComponentPluginUser PlatformUnitComponentPluginUser
Definition: PlatformUnitComponentPlugin.h:59
ComponentPlugin.h
armarx::plugins::PlatformUnitComponentPlugin::getPlatformUnit
PlatformUnitInterfacePrx getPlatformUnit()
Definition: PlatformUnitComponentPlugin.cpp:31
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28