BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
BPMNOS::Execution::ErrorEvent Struct Reference

Represents the event of an error being raised. More...

Detailed Description

Transition from any state to State::FAILED

Definition at line 14 of file ErrorEvent.h.

#include <ErrorEvent.h>

Inheritance diagram for BPMNOS::Execution::ErrorEvent:

Public Member Functions

 ErrorEvent (const Token *token)
 
void processBy (Engine *engine) const override
 
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 ()
 

Additional Inherited Members

- Public Types inherited from BPMNOS::Execution::Observable
enum class  Type {
  Token , Message , SequentialPerformerUpdate , Event ,
  DataUpdate , EntryRequest , ChoiceRequest , ExitRequest ,
  MessageDeliveryRequest , Count
}
 
- Public Attributes inherited from BPMNOS::Execution::Event
const Tokentoken
 

Constructor & Destructor Documentation

◆ ErrorEvent()

ErrorEvent::ErrorEvent ( const Token * token)

Definition at line 6 of file ErrorEvent.cpp.

Member Function Documentation

◆ jsonify()

nlohmann::ordered_json ErrorEvent::jsonify ( ) const
overridevirtual

Implements BPMNOS::Execution::Event.

Definition at line 15 of file ErrorEvent.cpp.

◆ processBy()

void ErrorEvent::processBy ( Engine * engine) const
overridevirtual

Implements BPMNOS::Execution::Event.

Definition at line 11 of file ErrorEvent.cpp.


The documentation for this struct was generated from the following files: