documentation, IP writing service
This commit is contained in:
parent
03daabaa37
commit
afe5e9c766
22 changed files with 502 additions and 12 deletions
16
server_v2/include/Display.hpp
Normal file
16
server_v2/include/Display.hpp
Normal 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
|
16
server_v2/include/IPWritingService.hpp
Normal file
16
server_v2/include/IPWritingService.hpp
Normal 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
|
Reference in a new issue