documentation, IP writing service

This commit is contained in:
Konstantin Lampalzer 2022-10-07 01:22:27 +02:00
parent 03daabaa37
commit afe5e9c766
22 changed files with 502 additions and 12 deletions

View file

@ -0,0 +1,16 @@
#ifndef COMPLIB_SERVER_DISPLAY_HPP
#define COMPLIB_SERVER_DISPLAY_HPP
#include <cstdint>
#include <string>
class Display {
public:
static void write(uint8_t line, std::string text);
private:
Display() = default;
};
#endif //COMPLIB_SERVER_DISPLAY_HPP

View file

@ -0,0 +1,16 @@
#ifndef COMPLIB_SERVER_IPWRITINGSERVICE_HPP
#define COMPLIB_SERVER_IPWRITINGSERVICE_HPP
#include <thread>
class IPWritingService {
public:
IPWritingService();
private:
[[noreturn]] void writing_loop();
std::thread writing_thread;
};
#endif //COMPLIB_SERVER_IPWRITINGSERVICE_HPP