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

Represents the event of a token ready to enter a node inclduing necressary new attribute data. More...

Detailed Description

Transition from State::CREATED or State::ARRIVED to State::READY

Definition at line 15 of file ReadyEvent.h.

#include <ReadyEvent.h>

Inheritance diagram for BPMNOS::Execution::ReadyEvent:

Public Member Functions

 ReadyEvent (const Token *token, BPMNOS::Values statusAttributes, BPMNOS::Values dataAttributes)
 
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

BPMNOS::Values statusAttributes
 
BPMNOS::Values dataAttributes
 
- 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

◆ ReadyEvent()

ReadyEvent::ReadyEvent ( const Token * token,
BPMNOS::Values statusAttributes,
BPMNOS::Values dataAttributes )

Definition at line 6 of file ReadyEvent.cpp.

Member Function Documentation

◆ jsonify()

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

Implements BPMNOS::Execution::Event.

Definition at line 17 of file ReadyEvent.cpp.

◆ processBy()

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

Implements BPMNOS::Execution::Event.

Definition at line 13 of file ReadyEvent.cpp.

Member Data Documentation

◆ dataAttributes

BPMNOS::Values BPMNOS::Execution::ReadyEvent::dataAttributes

Definition at line 19 of file ReadyEvent.h.

◆ statusAttributes

BPMNOS::Values BPMNOS::Execution::ReadyEvent::statusAttributes

Definition at line 18 of file ReadyEvent.h.


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