demo version
This commit is contained in:
parent
fbb282a801
commit
672d6daa8e
125 changed files with 17918 additions and 1481 deletions
|
@ -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_;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue