BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
TimerEvent.h
Go to the documentation of this file.
1#ifndef BPMNOS_Execution_TimerEvent_H
2#define BPMNOS_Execution_TimerEvent_H
3
4#include <bpmn++.h>
7
8namespace BPMNOS::Execution {
9
10/**
11 * @brief Represents the event that a timer is triggered.
12 *
13 * Transition from State::BUSY to State::COMPLETED
14 */
15struct TimerEvent : virtual Event {
16 TimerEvent(const Token* token);
17 void processBy(Engine* engine) const;
18
19 nlohmann::ordered_json jsonify() const override;
20};
21
22} // namespace BPMNOS::Execution
23
24#endif // BPMNOS_Execution_TimerEvent_H
Represents a token running through a (sub)process.
Definition Token.h:35
const Token * token
Definition Event.h:18
Represents the event that a timer is triggered.
Definition TimerEvent.h:15
TimerEvent(const Token *token)
Definition TimerEvent.cpp:6
void processBy(Engine *engine) const
nlohmann::ordered_json jsonify() const override