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