|
BPMN-OS
BPMN for optimization and simulation
|
Class recording all token changes. More...
Definition at line 50 of file Recorder.h.
#include <Recorder.h>
Public Member Functions | |
| Recorder (size_t maxSize=std::numeric_limits< size_t >::max()) | |
| Recorder (std::ostream &os, size_t maxSize=std::numeric_limits< size_t >::max()) | |
| ~Recorder () | |
| void | subscribe (Engine *engine) |
| void | notice (const Observable *observable) override |
| nlohmann::ordered_json | find (nlohmann::json include, nlohmann::json exclude=nlohmann::json()) const |
| Returns a json array containing all log entries matching the include object and not matching the exclude object. | |
Public Member Functions inherited from BPMNOS::Execution::Observer | |
Public Attributes | |
| BPMNOS::number | objective |
| The global objective. | |
| nlohmann::ordered_json | log |
| A json object of the entire log. | |
| Recorder::Recorder | ( | size_t | maxSize = std::numeric_limits<size_t>::max() | ) |
Definition at line 7 of file Recorder.cpp.
| Recorder::Recorder | ( | std::ostream & | os, |
| size_t | maxSize = std::numeric_limits<size_t>::max() ) |
Definition at line 12 of file Recorder.cpp.
| Recorder::~Recorder | ( | ) |
Definition at line 21 of file Recorder.cpp.
| nlohmann::ordered_json Recorder::find | ( | nlohmann::json | include, |
| nlohmann::json | exclude = nlohmann::json() ) const |
Definition at line 97 of file Recorder.cpp.
|
overridevirtual |
Implements BPMNOS::Execution::Observer.
Definition at line 38 of file Recorder.cpp.
| void Recorder::subscribe | ( | Engine * | engine | ) |
Definition at line 30 of file Recorder.cpp.
| nlohmann::ordered_json BPMNOS::Execution::Recorder::log |
Definition at line 60 of file Recorder.h.
| BPMNOS::number BPMNOS::Execution::Recorder::objective |
Definition at line 59 of file Recorder.h.