B15F Board 15 Famulus Edition

view_monitor.h
1 #ifndef VIEW_MONITOR_H
2 #define VIEW_MONITOR_H
3
4 #include <thread>
5 #include <chrono>
6 #include <sstream>
7 #include <bitset>
8 #include "view_info.h"
9 #include "../drv/b15f.h"
10
13 class ViewMonitor : public ViewInfo
14 {
15
16 public:
17 ViewMonitor(void);
18 virtual call_t keypress(int& key) override;
19
20 private:
21 std::string fancyDigitalString(uint8_t& b);
22 std::string fancyAnalogString(uint16_t& v);
23
24 protected:
25 virtual void worker(void);
26 volatile bool run_worker = true;
27 std::thread t_worker;
28
29 };
30
31 #endif // VIEW_MONITOR_H
ViewMonitor
Definition: view_monitor.h:13
ViewInfo
Definition: view_info.h:8