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

Represents the event of a token entering a node. More...

Detailed Description

Transition from State::READY to State::ENTERED

Definition at line 15 of file EntryEvent.h.

#include <EntryEvent.h>

Inheritance diagram for BPMNOS::Execution::EntryEvent:

Public Member Functions

 EntryEvent (const Token *token, std::optional< Values > entryStatus=std::nullopt)
 
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 ()
 

Public Attributes

std::optional< ValuesentryStatus
 
- Public Attributes inherited from BPMNOS::Execution::Event
const Tokentoken
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ EntryEvent()

EntryEvent::EntryEvent ( const Token * token,
std::optional< Values > entryStatus = std::nullopt )

Definition at line 6 of file EntryEvent.cpp.

Member Function Documentation

◆ jsonify()

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

Implements BPMNOS::Execution::Event.

Definition at line 16 of file EntryEvent.cpp.

◆ processBy()

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

Implements BPMNOS::Execution::Event.

Definition at line 12 of file EntryEvent.cpp.

Member Data Documentation

◆ entryStatus

std::optional<Values> BPMNOS::Execution::EntryEvent::entryStatus

Definition at line 19 of file EntryEvent.h.


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