MemoryGraph.h
Go to the documentation of this file.
1
/**
2
* This file is part of ArmarX.
3
*
4
* ArmarX is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation.
7
*
8
* ArmarX is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* @package VisionX::ArmarXObjects::MemoryGrapher
17
* @author [Author Name] ( [Author Email] )
18
* @date 2021
19
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20
* GNU General Public License
21
*/
22
23
#pragma once
24
25
#include <SimoxUtility/color/Color.h>
26
27
#include <SemanticObjectRelations/RelationGraph/RelationGraph.h>
28
29
#include <
RobotAPI/libraries/armem/core/MemoryID.h
>
30
31
32
namespace
armarx::armem::id_graph
33
{
34
struct
MemoryVertex
:
public
semrel::ShapeVertex
35
{
36
MemoryID
memoryID
;
37
int
depth
;
38
simox::Color
fillColor
;
39
};
40
41
struct
MemoryEdge
42
{
43
std::string
referenceKey
;
44
bool
isNowhereLink
;
45
};
46
47
struct
MemoryGraphAttributes
48
{
49
MemoryID
initialMemoryID
;
50
};
51
52
using
MemoryGraph
=
semrel::RelationGraph<MemoryVertex, MemoryEdge, MemoryGraphAttributes>
;
53
54
}
// namespace armarx::armem::id_graph
armarx::armem::id_graph
Definition:
json_conversions.h:30
armarx::armem::id_graph::MemoryVertex::memoryID
MemoryID memoryID
Definition:
MemoryGraph.h:36
armarx::armem::id_graph::MemoryVertex::fillColor
simox::Color fillColor
Definition:
MemoryGraph.h:38
MemoryID.h
semrel::RelationGraph
Definition:
forward_declarations.h:28
armarx::armem::id_graph::MemoryGraphAttributes
Definition:
MemoryGraph.h:47
Color
uint32_t Color
RGBA color.
Definition:
color.h:8
armarx::armem::MemoryID
A memory ID.
Definition:
MemoryID.h:47
armarx::armem::id_graph::MemoryGraphAttributes::initialMemoryID
MemoryID initialMemoryID
Definition:
MemoryGraph.h:49
armarx::armem::id_graph::MemoryVertex
Definition:
MemoryGraph.h:34
armarx::armem::id_graph::MemoryEdge
Definition:
MemoryGraph.h:41
armarx::armem::id_graph::MemoryEdge::referenceKey
std::string referenceKey
Definition:
MemoryGraph.h:43
armarx::armem::id_graph::MemoryEdge::isNowhereLink
bool isNowhereLink
Definition:
MemoryGraph.h:44
armarx::armem::id_graph::MemoryVertex::depth
int depth
Definition:
MemoryGraph.h:37
VisionX
libraries
armem_idgraph
MemoryGraph.h
Generated on Sat Oct 12 2024 09:14:18 for armarx_documentation by
1.8.17