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