BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
TaskCompletionHandler.h
Go to the documentation of this file.
1#ifndef BPMNOS_Execution_TaskCompletionHandler_H
2#define BPMNOS_Execution_TaskCompletionHandler_H
3
4#include <bpmn++.h>
6
7namespace BPMNOS::Execution {
8
9/**
10 * @brief EventDispatcher for task completion events.
11 *
12 * Iterates tokensAwaitingCompletionEvent and dispatches CompletionEvent
13 * with status from scenario->getTaskCompletionStatus().
14 */
16public:
17 std::shared_ptr<Event> dispatchEvent(const SystemState* systemState) override;
18};
19
20} // namespace BPMNOS::Execution
21
22#endif // BPMNOS_Execution_TaskCompletionHandler_H
A class representing the state that the execution or simulation of a given scenario is in.
Definition SystemState.h:21
EventDispatcher for task completion events.
std::shared_ptr< Event > dispatchEvent(const SystemState *systemState) override