2019-12-02 17:25:22 +01:00
|
|
|
#pragma once
|
2019-12-02 14:50:59 +01:00
|
|
|
#include "data_source.h"
|
|
|
|
#include "vars.h"
|
|
|
|
#include <Arduino.h>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
class DataSourceController {
|
|
|
|
|
|
|
|
public:
|
|
|
|
DataSourceController();
|
|
|
|
DataSourceController(vector<DataSource*>);
|
|
|
|
|
|
|
|
public:
|
|
|
|
void update();
|
|
|
|
void test();
|
|
|
|
void postProcess();
|
|
|
|
void readSensor();
|
|
|
|
void getValue();
|
|
|
|
|
|
|
|
vector<DataSource*> ds;
|
|
|
|
|
|
|
|
};
|