|
BPMN-OS
BPMN for optimization and simulation
|
Class creating a clock tick event each time fetchEvent() after sleeping in order to synchronize with real time. More...
Definition at line 14 of file Metronome.h.
#include <Metronome.h>
Public Member Functions | |
| Metronome (unsigned int clockTickDuration=1000) | |
| std::shared_ptr< Event > | dispatchEvent (const SystemState *systemState) override |
| void | initialize (unsigned int clockTickDuration) |
| Change clockTickDuration and set timestamp to current time and. | |
Public Member Functions inherited from BPMNOS::Execution::EventDispatcher | |
| virtual | ~EventDispatcher ()=default |
| virtual void | connect (Mediator *mediator) |
| virtual void | notice (Event *event) |
| Metronome::Metronome | ( | unsigned int | clockTickDuration = 1000 | ) |
Definition at line 7 of file Metronome.cpp.
|
overridevirtual |
Implements BPMNOS::Execution::EventDispatcher.
Definition at line 17 of file Metronome.cpp.
| void Metronome::initialize | ( | unsigned int | clockTickDuration | ) |
Definition at line 12 of file Metronome.cpp.