BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
InstantExit.h
Go to the documentation of this file.
1
#ifndef BPMNOS_Execution_InstantExit_H
2
#define BPMNOS_Execution_InstantExit_H
3
4
#include <
bpmn++.h
>
5
#include "
execution/engine/src/EventDispatcher.h
"
6
7
namespace
BPMNOS::Execution
{
8
9
/**
10
* @brief Class creating an exit event for a token awaiting the exit at an activity.
11
*/
12
class
InstantExit
:
public
EventDispatcher
{
13
public
:
14
InstantExit
();
15
std::shared_ptr<Event>
dispatchEvent
(
const
SystemState
* systemState )
override
;
16
};
17
18
}
// namespace BPMNOS::Execution
19
20
#endif
// BPMNOS_Execution_InstantExit_H
21
EventDispatcher.h
bpmn++.h
BPMNOS::Execution::EventDispatcher
Definition
EventDispatcher.h:11
BPMNOS::Execution::InstantExit
Class creating an exit event for a token awaiting the exit at an activity.
Definition
InstantExit.h:12
BPMNOS::Execution::InstantExit::InstantExit
InstantExit()
Definition
InstantExit.cpp:7
BPMNOS::Execution::InstantExit::dispatchEvent
std::shared_ptr< Event > dispatchEvent(const SystemState *systemState) override
Definition
InstantExit.cpp: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
Definition
Controller.h:9