SemanticGraphStorageComponentPlugin.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 #include <VisionX/interface/libraries/SemanticObjectRelations/GraphStorage.h>
6 
7 #include <SemanticObjectRelations/RelationGraph/json/AttributedGraph.h>
8 
9 namespace armarx
10 {
11  namespace plugins
12  {
13 
15  {
16  public:
17  using ComponentPlugin::ComponentPlugin;
18 
19  void preOnInitComponent() override;
20 
21  void preOnConnectComponent() override;
22 
23  void postCreatePropertyDefinitions(PropertyDefinitionsPtr& properties) override;
24 
25  static constexpr const char* PROPERTY_NAME = "SemanticGraphTopicName";
26 
27  armarx::semantic::GraphStorageTopicPrx topic;
28  };
29 
30  } // namespace plugins
31 
32 } // namespace armarx
33 
35 
36 namespace armarx
37 {
38 
40  {
41  public:
43 
44  armarx::semantic::GraphStorageTopicPrx const& getGraphStorageTopic();
45 
46  void storeGraph(std::string const& name, semrel::AttributedGraph const& graph);
47 
48  private:
50  };
51 
52 } // namespace armarx
armarx::plugins::SemanticGraphStorageComponentPlugin
Definition: SemanticGraphStorageComponentPlugin.h:14
armarx::SemanticGraphStorageComponentPluginUser
Definition: SemanticGraphStorageComponentPlugin.h:39
armarx::plugins::SemanticGraphStorageComponentPlugin::PROPERTY_NAME
static constexpr const char * PROPERTY_NAME
Definition: SemanticGraphStorageComponentPlugin.h:25
armarx::SemanticGraphStorageComponentPluginUser::storeGraph
void storeGraph(std::string const &name, semrel::AttributedGraph const &graph)
Definition: SemanticGraphStorageComponentPlugin.cpp:51
plugins
ManagedIceObject.h
armarx::plugins::SemanticGraphStorageComponentPlugin::preOnInitComponent
void preOnInitComponent() override
Definition: SemanticGraphStorageComponentPlugin.cpp:15
armarx::SemanticGraphStorageComponentPluginUser::getGraphStorageTopic
armarx::semantic::GraphStorageTopicPrx const & getGraphStorageTopic()
Definition: SemanticGraphStorageComponentPlugin.cpp:45
armarx::ComponentPlugin
Definition: ComponentPlugin.h:37
armarx::SemanticGraphStorageComponentPluginUser::SemanticGraphStorageComponentPluginUser
SemanticGraphStorageComponentPluginUser()
Definition: SemanticGraphStorageComponentPlugin.cpp:39
armarx::ManagedIceObject
The ManagedIceObject is the base class for all ArmarX objects.
Definition: ManagedIceObject.h:162
armarx::plugins::SemanticGraphStorageComponentPlugin::topic
armarx::semantic::GraphStorageTopicPrx topic
Definition: SemanticGraphStorageComponentPlugin.h:27
armarx::plugins::SemanticGraphStorageComponentPlugin::postCreatePropertyDefinitions
void postCreatePropertyDefinitions(PropertyDefinitionsPtr &properties) override
Definition: SemanticGraphStorageComponentPlugin.cpp:27
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::plugins::SemanticGraphStorageComponentPlugin::preOnConnectComponent
void preOnConnectComponent() override
Definition: SemanticGraphStorageComponentPlugin.cpp:21
ComponentPlugin.h
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:27