ObjectPoseProviderPlugin.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 #include <RobotAPI/interface/objectpose/ObjectPoseProvider.h>
6 
7 
8 namespace armarx::plugins
9 {
10 
12  {
13  public:
14 
15  using ComponentPlugin::ComponentPlugin;
16 
17  void postCreatePropertyDefinitions(PropertyDefinitionsPtr& properties) override;
18 
19  void preOnInitComponent() override;
20  void preOnConnectComponent() override;
21  void postOnConnectComponent() override;
22 
23  objpose::ObjectPoseTopicPrx createObjectPoseTopic();
24 
25 
26  private:
27 
28  static constexpr const char* PROPERTY_NAME = "ObjectPoseTopicName";
29 
30  };
31 
32 }
33 
34 
36 
37 namespace armarx
38 {
39 
40  /**
41  * @brief Provides an `objpose::ObjectPoseTopicPrx objectPoseTopic` as member variable.
42  */
44  virtual public ManagedIceObject
45  , virtual public objpose::ObjectPoseProvider
46  {
47  public:
48 
50 
51  /// Implement to process object requests (empty default implementation).
52  objpose::provider::RequestObjectsOutput requestObjects(const objpose::provider::RequestObjectsInput& input, const Ice::Current&) override;
53 
54  objpose::ObjectPoseTopicPrx createObjectPoseTopic();
55 
56  objpose::ObjectPoseTopicPrx objectPoseTopic;
57 
58 
59  private:
60 
62 
63  };
64 }
armarx::plugins::ObjectPoseProviderPlugin
Definition: ObjectPoseProviderPlugin.h:11
armarx::ObjectPoseProviderPluginUser
Provides an objpose::ObjectPoseTopicPrx objectPoseTopic as member variable.
Definition: ObjectPoseProviderPlugin.h:43
armarx::plugins::ObjectPoseProviderPlugin::preOnInitComponent
void preOnInitComponent() override
Definition: ObjectPoseProviderPlugin.cpp:20
armarx::ObjectPoseProviderPluginUser::objectPoseTopic
objpose::ObjectPoseTopicPrx objectPoseTopic
Definition: ObjectPoseProviderPlugin.h:56
ManagedIceObject.h
armarx::plugins
This file is part of ArmarX.
Definition: DebugObserverComponentPlugin.cpp:28
armarx::ObjectPoseProviderPluginUser::ObjectPoseProviderPluginUser
ObjectPoseProviderPluginUser()
Definition: ObjectPoseProviderPlugin.cpp:60
armarx::ComponentPlugin
Definition: ComponentPlugin.h:38
armarx::aron::input
ReaderT::InputType & input
Definition: rw.h:19
armarx::plugins::ObjectPoseProviderPlugin::postOnConnectComponent
void postOnConnectComponent() override
Definition: ObjectPoseProviderPlugin.cpp:30
armarx::ManagedIceObject
The ManagedIceObject is the base class for all ArmarX objects.
Definition: ManagedIceObject.h:163
armarx::plugins::ObjectPoseProviderPlugin::postCreatePropertyDefinitions
void postCreatePropertyDefinitions(PropertyDefinitionsPtr &properties) override
Definition: ObjectPoseProviderPlugin.cpp:9
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::plugins::ObjectPoseProviderPlugin::createObjectPoseTopic
objpose::ObjectPoseTopicPrx createObjectPoseTopic()
Definition: ObjectPoseProviderPlugin.cpp:49
armarx::ObjectPoseProviderPluginUser::requestObjects
objpose::provider::RequestObjectsOutput requestObjects(const objpose::provider::RequestObjectsInput &input, const Ice::Current &) override
Implement to process object requests (empty default implementation).
Definition: ObjectPoseProviderPlugin.cpp:65
ComponentPlugin.h
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28
armarx::ObjectPoseProviderPluginUser::createObjectPoseTopic
objpose::ObjectPoseTopicPrx createObjectPoseTopic()
Definition: ObjectPoseProviderPlugin.cpp:76
armarx::plugins::ObjectPoseProviderPlugin::preOnConnectComponent
void preOnConnectComponent() override
Definition: ObjectPoseProviderPlugin.cpp:25