BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
Controller.h
Go to the documentation of this file.
1#ifndef BPMNOS_Execution_Controller_H
2#define BPMNOS_Execution_Controller_H
3
4#include <bpmn++.h>
8
10
11/**
12 * @brief Base class for an execution controller which dispatches events
13 * to the engine and listens to notification from the engine.
14 */
15class Controller : public Observer, public EventDispatcher, public Mediator {
16public:
17 Controller();
18 virtual ~Controller() = default;
19 virtual void connect(Mediator* mediator);
20 void notice(const Observable* observable) override;
21};
22
23} // namespace BPMNOS::Execution
24
25#endif // BPMNOS_Execution_Controller_H
26
Base class for an execution controller which dispatches events to the engine and listens to notificat...
Definition Controller.h:15
void notice(const Observable *observable) override
virtual void connect(Mediator *mediator)
Definition Controller.cpp:9
virtual ~Controller()=default
Represents an abstract base class for a class that is an event listener and notifier.
Definition Mediator.h:13