|
BPMN-OS
BPMN for optimization and simulation
|
Base class for an execution controller which dispatches events to the engine and listens to notification from the engine. More...
Definition at line 15 of file Controller.h.
#include <Controller.h>
Public Member Functions | |
| Controller () | |
| virtual | ~Controller ()=default |
| virtual void | connect (Mediator *mediator) |
| void | notice (const Observable *observable) override |
Public Member Functions inherited from BPMNOS::Execution::Observer | |
Public Member Functions inherited from BPMNOS::Execution::EventDispatcher | |
| virtual | ~EventDispatcher ()=default |
| virtual std::shared_ptr< Event > | dispatchEvent (const SystemState *systemState)=0 |
| virtual void | notice (Event *event) |
Public Member Functions inherited from BPMNOS::Execution::EventListener | |
| void | subscribe (EventDispatcher *eventDispatcher) |
Public Member Functions inherited from BPMNOS::Execution::Notifier | |
| Notifier () | |
| virtual | ~Notifier ()=default |
| template<typename... ObservableTypes> | |
| void | addSubscriber (Observer *subscriber, ObservableTypes... observableTypes) |
| void | notify (const Observable *observable) const |
| void | notify (const Observable &observable) const |
Additional Inherited Members | |
Protected Member Functions inherited from BPMNOS::Execution::EventListener | |
| std::shared_ptr< Event > | fetchEvent (SystemState *systemState) |
Protected Attributes inherited from BPMNOS::Execution::EventListener | |
| std::vector< EventDispatcher * > | eventDispatchers |
| Controller::Controller | ( | ) |
Definition at line 5 of file Controller.cpp.
|
virtualdefault |
|
virtual |
Reimplemented from BPMNOS::Execution::EventDispatcher.
Reimplemented in BPMNOS::Execution::CPController, and BPMNOS::Execution::GreedyController.
Definition at line 9 of file Controller.cpp.
|
overridevirtual |
Implements BPMNOS::Execution::Observer.
Definition at line 22 of file Controller.cpp.