demo version

This commit is contained in:
Josip Milovac 2023-07-13 11:32:02 +10:00
parent fbb282a801
commit 672d6daa8e
125 changed files with 17918 additions and 1481 deletions

View file

@ -0,0 +1,22 @@
#include <string>
#include <memory>
namespace senshamart {
class Client final {
public:
Client(std::string broker_endpoint, std::string sensor_name);
Client(Client const&) = delete;
Client(Client&&) = default;
Client& operator=(Client const&) = delete;
Client& operator=(Client&&) = default;
void send(std::string);
private:
struct Pimpl_deleter_ {
void operator()(void*) const noexcept;
};
std::unique_ptr<void, Pimpl_deleter_> pimpl_;
};
}