16 lines
343 B
C++
16 lines
343 B
C++
#pragma once
|
|
|
|
#include <asio.hpp>
|
|
#include <json/json.h>
|
|
|
|
class Kirdy {
|
|
private:
|
|
asio::io_context io_context;
|
|
asio::ip::tcp::socket *socket;
|
|
Json::Value command(Json::Value &request);
|
|
public:
|
|
Kirdy(asio::string_view host, asio::string_view service);
|
|
~Kirdy();
|
|
float get_laser_temp();
|
|
};
|