BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
MyopicDecisionTaskTerminator.h
Go to the documentation of this file.
1#ifndef BPMNOS_Execution_MyopicDecisionTaskTerminator_H
2#define BPMNOS_Execution_MyopicDecisionTaskTerminator_H
3
4#include <bpmn++.h>
6
7namespace BPMNOS::Execution {
8
9/**
10 * @brief Class creating an error event for a token at a decision task if no choice has been made.
11 *
12 * The MyopicDecisionTaskTerminator terminates a @ref BPMNOS:Model::DecisionTask with an error if
13 * no choice has been made previously. It assumes that a handler making potential choices has been called before.
14 * The handler is myopic and does not consider that an increase in the timestamp may affect possible choices.
15 */
17public:
19 std::shared_ptr<Event> dispatchEvent( const SystemState* systemState ) override;
20};
21
22} // namespace BPMNOS::Execution
23
24#endif // BPMNOS_Execution_MyopicDecisionTaskTerminator_H
25
Class creating an error event for a token at a decision task if no choice has been made.
std::shared_ptr< Event > dispatchEvent(const SystemState *systemState) override
A class representing the state that the execution or simulation of a given scenario is in.
Definition SystemState.h:21