BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
ClockTickEvent.h
Go to the documentation of this file.
1
#ifndef BPMNOS_Execution_ClockTickEvent_H
2
#define BPMNOS_Execution_ClockTickEvent_H
3
4
#include <
bpmn++.h
>
5
#include "
execution/engine/src/Event.h
"
6
7
namespace
BPMNOS::Execution
{
8
9
/**
10
* @brief Represents an event that increments the current time.
11
*
12
* This event contains a pointer to the process model and a unique instance identifier.
13
*/
14
struct
ClockTickEvent
:
Event
{
15
ClockTickEvent
();
16
void
processBy
(
Engine
* engine)
const override
;
17
18
nlohmann::ordered_json
jsonify
()
const override
;
19
};
20
21
}
// namespace BPMNOS::Execution
22
23
#endif
// BPMNOS_Execution_ClockTickEvent_H
24
Event.h
bpmn++.h
BPMNOS::Execution::Engine
Definition
Engine.h:30
BPMNOS::Execution
Definition
Controller.h:9
BPMNOS::Execution::ClockTickEvent
Represents an event that increments the current time.
Definition
ClockTickEvent.h:14
BPMNOS::Execution::ClockTickEvent::processBy
void processBy(Engine *engine) const override
Definition
ClockTickEvent.cpp:11
BPMNOS::Execution::ClockTickEvent::jsonify
nlohmann::ordered_json jsonify() const override
Definition
ClockTickEvent.cpp:15
BPMNOS::Execution::ClockTickEvent::ClockTickEvent
ClockTickEvent()
Definition
ClockTickEvent.cpp:6
BPMNOS::Execution::Event
Definition
Event.h:14