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