use mediator for internal messaging

This commit is contained in:
2018-09-10 01:46:32 +02:00
parent 622074df2c
commit ec6c41f4a1
8 changed files with 60 additions and 57 deletions

View File

@@ -18,7 +18,7 @@ using namespace std::placeholders;
// FIXME move to some global fnc lib
#define ARRAY_LENGTH(array) sizeof(array)/sizeof(array[0])
class Sprocket {
class Sprocket : public Mediator {
protected:
Scheduler scheduler;
public: