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
9namespace 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
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
36namespace 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
ManagedIceObject(ManagedIceObject const &other)
armarx::semantic::GraphStorageTopicPrx const & getGraphStorageTopic()
void storeGraph(std::string const &name, semrel::AttributedGraph const &graph)
void postCreatePropertyDefinitions(PropertyDefinitionsPtr &properties) override
This file is part of ArmarX.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.