BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
ReadyEvent.h
Go to the documentation of this file.
1#ifndef BPMNOS_Execution_ReadyEvent_H
2#define BPMNOS_Execution_ReadyEvent_H
3
4#include <bpmn++.h>
7
8namespace BPMNOS::Execution {
9
10/**
11 * @brief Represents the event of a token ready to enter a node inclduing necressary new attribute data.
12 *
13 * Transition from State::CREATED or State::ARRIVED to State::READY
14 */
15struct ReadyEvent : Event {
17 void processBy(Engine* engine) const override;
20
21 nlohmann::ordered_json jsonify() const override;
22};
23
24} // namespace BPMNOS::Execution
25
26#endif // BPMNOS_Execution_ReadyEvent_H
27
Represents a token running through a (sub)process.
Definition Token.h:35
const Token * token
Definition Event.h:18
Represents the event of a token ready to enter a node inclduing necressary new attribute data.
Definition ReadyEvent.h:15
nlohmann::ordered_json jsonify() const override
BPMNOS::Values statusAttributes
Definition ReadyEvent.h:18
void processBy(Engine *engine) const override
ReadyEvent(const Token *token, BPMNOS::Values statusAttributes, BPMNOS::Values dataAttributes)
Definition ReadyEvent.cpp:6
BPMNOS::Values dataAttributes
Definition ReadyEvent.h:19