BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
DecisionRequest.h
Go to the documentation of this file.
1#ifndef BPMNOS_Execution_DecisionRequest_H
2#define BPMNOS_Execution_DecisionRequest_H
3
4#include <bpmn++.h>
7
8namespace BPMNOS::Execution {
9
10/**
11 * @brief Represents a pending decision
12 */
13struct DecisionRequest : Observable, public std::enable_shared_from_this<DecisionRequest> {
15 Type getObservableType() const override { return type; };
16 const Token* token;
18};
19
20} // namespace BPMNOS::Execution
21
22#endif // BPMNOS_Execution_DecisionRequest_H
Represents a token running through a (sub)process.
Definition Token.h:35
Represents a pending decision.
Type getObservableType() const override
DecisionRequest(const Token *token, const Observable::Type type)