fix basic example

This commit is contained in:
2018-06-09 18:56:59 +02:00
parent c51183b093
commit e9a04ac827
12 changed files with 232 additions and 38 deletions

View File

@@ -1,10 +1,20 @@
#ifndef __NETWORK_H__
#define __NETWORK_H__
#include <TaskSchedulerDeclarations.h>
class Network {
protected:
Scheduler* scheduler;
public:
Network(){}
virtual Network* connect();
virtual Network* init() { return this; };
virtual Network* connect() { return this; };
virtual void update() {};
Network* setScheduler(Scheduler* s) {
scheduler = s;
return this;
}
};
#endif