BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
SequentialAdHocSubProcess.h
Go to the documentation of this file.
1#ifndef BPMNOS_Model_SequentialAdHocSubProcess_H
2#define BPMNOS_Model_SequentialAdHocSubProcess_H
3
4#include <memory>
5#include <vector>
6#include <optional>
7#include <bpmn++.h>
8
9namespace BPMNOS::Model {
10
11/**
12 * @brief Class representing adhoc subprocesses with sequential ordering.
13 *
14 * Activities within an instance of the SequentialAdHocSubProcess class
15 * must not be executed in parallel. The sequential execution of such activities
16 * is linked to a performer guaranteeing that at most one child activity of
17 * any sequential adhoc subprocess linked to this performer is executed at any
18 * point time.
19 *
20 * The performer relevant for a sequential adhoc subprocess can be specified
21 * by adding a @ref XML::bpmn::tPerformer element with `name` being "Sequential"
22 * to the adhoc subprocess or an ancestor in the XML tree (with no other sequential
23 * adhoc subprocess between). If no such performer is provided, the adhoc subprocess
24 * is assumed to have its own performer.
25 */
32
33} // namespace BPMNOS::Model
34
35#endif // BPMNOS_Model_SequentialAdHocSubProcess_H
Represents a BPMN model with all its processes.
Definition Model.h:21
Class representing adhoc subprocesses with sequential ordering.
SequentialAdHocSubProcess(XML::bpmn::tAdHocSubProcess *adHocsubProcess, BPMN::Scope *parent)
Scope * parent
Reference to the parent node.
Definition bpmn++.h:16568
Base class for all nodes in a BPMN model.
Definition bpmn++.h:16444
Base class for BPMN elements that may contain a ChildNode elements.
Definition bpmn++.h:16510