BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
EventDispatcher.cpp
Go to the documentation of this file.
1#include "EventDispatcher.h"
2#include "Mediator.h"
3
4using namespace BPMNOS::Execution;
5
7 mediator->subscribe(this);
8}
9
10void EventDispatcher::notice([[maybe_unused]] Event* event) {
11//std::cerr << "Notice pending event for token at node " << event->token->node->id << std::endl;
12};
13
virtual void notice(Event *event)
virtual void connect(Mediator *mediator)
void subscribe(EventDispatcher *eventDispatcher)
Represents an abstract base class for a class that is an event listener and notifier.
Definition Mediator.h:13