BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
TimeWarp.h
Go to the documentation of this file.
1
#ifndef BPMNOS_Execution_TimeWarpHandler_H
2
#define BPMNOS_Execution_TimeWarpHandler_H
3
4
#include <
bpmn++.h
>
5
#include "
execution/engine/src/EventDispatcher.h
"
6
7
namespace
BPMNOS::Execution
{
8
9
/**
10
* @brief Class creating a clock tick event each time fetchEvent() is called.
11
*/
12
class
TimeWarp
:
public
EventDispatcher
{
13
public
:
14
TimeWarp
();
15
std::shared_ptr<Event>
dispatchEvent
(
const
SystemState
* systemState )
override
;
16
};
17
18
}
// namespace BPMNOS::Execution
19
20
#endif
// BPMNOS_Execution_TimeWarpHandler_H
21
EventDispatcher.h
bpmn++.h
BPMNOS::Execution::EventDispatcher
Definition
EventDispatcher.h:11
BPMNOS::Execution::SystemState
A class representing the state that the execution or simulation of a given scenario is in.
Definition
SystemState.h:21
BPMNOS::Execution::TimeWarp
Class creating a clock tick event each time fetchEvent() is called.
Definition
TimeWarp.h:12
BPMNOS::Execution::TimeWarp::dispatchEvent
std::shared_ptr< Event > dispatchEvent(const SystemState *systemState) override
Definition
TimeWarp.cpp:10
BPMNOS::Execution::TimeWarp::TimeWarp
TimeWarp()
Definition
TimeWarp.cpp:6
BPMNOS::Execution
Definition
Controller.h:9