Maki
Formally verified low-code orchestration
Toggle main menu visibility
Loading...
Searching...
No Matches
document_event.h
1
#pragma once
2
3
#include <QString>
4
5
#include "mission_parameter.h"
6
7
struct
NodeEvent
8
{
9
// The id of this node
10
QString id;
11
QString nodeType;
12
QString parentId;
13
14
// Empty for structural nodes.
15
// Otherwise identifies the owning FlowSaveInfo.
16
QString ownerFlowId;
17
18
QString propertyId;
19
maki::Value propertyValue;
20
};
21
22
struct
FlowEvent
23
{
24
// The id of this flow
25
QString id;
26
27
// Identified the owning NodeSaveInfo.
28
QString ownerNodeId;
29
};
30
31
struct
TransitionEvent
32
{
33
// The id of this transition
34
QString id;
35
36
// Otherwise identifies the owning FlowSaveInfo.
37
QString ownerFlowId;
38
};
39
40
struct
ParentEvent
41
{
42
};
43
44
struct
ChildEvent
45
{
46
};
47
48
struct
DocumentEvent
49
{
50
enum class
Type
51
{
52
NodeAdded,
53
NodeRemoved,
54
NodeModified,
55
FlowAdded,
56
FlowRemoved,
57
FlowModified,
58
TransitionAdded,
59
TransitionRemoved,
60
TransitionModified,
61
ParentAdded,
62
ParentRemoved,
63
ChildAdded,
64
ChildRemoved,
65
DocumentReset,
66
};
67
68
Type type;
69
std::variant<NodeEvent, FlowEvent, TransitionEvent, ParentEvent, ChildEvent> data;
70
};
71
72
namespace
maki
73
{
74
QString toString(
const
DocumentEvent::Type type);
75
}
maki
Contains UI helper widgets and layout grouping utilities used by MAKI.
Definition
macros.h:9
ChildEvent
Definition
document_event.h:45
DocumentEvent
Definition
document_event.h:49
FlowEvent
Definition
document_event.h:23
NodeEvent
Definition
document_event.h:8
ParentEvent
Definition
document_event.h:41
TransitionEvent
Definition
document_event.h:32
Generated for
MAKI
· © 2026 with
Doxygen
1.9.8
GitHub
Research