|
BPMN-OS
BPMN for optimization and simulation
|
Class representing the event of a token having completed an activity. More...
Transition from State::BUSY to State::COMPLETED
Definition at line 14 of file CompletionEvent.h.
#include <CompletionEvent.h>
Public Member Functions | |
| CompletionEvent (const Token *token, std::optional< Values > updatedStatus=std::nullopt) | |
| void | processBy (Engine *engine) const |
| nlohmann::ordered_json | jsonify () const override |
Public Member Functions inherited from BPMNOS::Execution::Event | |
| constexpr Type | getObservableType () const override |
| Event (const Token *token) | |
| virtual | ~Event ()=default |
| template<typename T > | |
| const T * | is () const |
| Returns a pointer of type T of the Event. | |
Public Member Functions inherited from BPMNOS::Execution::Observable | |
| ~Observable () | |
Public Attributes | |
| std::optional< Values > | updatedStatus |
Public Attributes inherited from BPMNOS::Execution::Event | |
| const Token * | token |
Additional Inherited Members | |
Public Types inherited from BPMNOS::Execution::Observable | |
| enum class | Type { Token , Message , SequentialPerformerUpdate , Event , DataUpdate , EntryRequest , ChoiceRequest , ExitRequest , MessageDeliveryRequest , Count } |
| CompletionEvent::CompletionEvent | ( | const Token * | token, |
| std::optional< Values > | updatedStatus = std::nullopt ) |
Definition at line 6 of file CompletionEvent.cpp.
|
overridevirtual |
Implements BPMNOS::Execution::Event.
Definition at line 16 of file CompletionEvent.cpp.
|
virtual |
Implements BPMNOS::Execution::Event.
Definition at line 12 of file CompletionEvent.cpp.
| std::optional<Values> BPMNOS::Execution::CompletionEvent::updatedStatus |
Definition at line 17 of file CompletionEvent.h.