1#ifndef BPMNOS_Execution_Event_H
2#define BPMNOS_Execution_Event_H
23 template<
typename T>
const T*
is()
const {
24 return dynamic_cast<const T*
>(
this);
27 virtual nlohmann::ordered_json
jsonify()
const = 0;
Represents a token running through a (sub)process.
virtual void processBy(Engine *engine) const =0
virtual nlohmann::ordered_json jsonify() const =0
constexpr Type getObservableType() const override
const T * is() const
Returns a pointer of type T of the Event.