RobotUnitObserverComponentPlugin.h
Go to the documentation of this file.
1#pragma once
2
4#include <ArmarXCore/interface/observers/ObserverInterface.h>
5
6namespace 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
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
34namespace 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
51namespace armarx
52{
53 namespace plugins
54 {
55 // Legacy typedef.
57 } // namespace plugins
58} // namespace armarx
ManagedIceObject(ManagedIceObject const &other)
void postCreatePropertyDefinitions(PropertyDefinitionsPtr &properties) override
This file is part of ArmarX.
armarx::RobotUnitObserverComponentPluginUser RobotUnitObserverComponentPluginUser
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.