5 #include <Poco/Logger.h>
6 #include <Poco/SharedPtr.h>
8 #include "core/Exporter.h"
9 #include "net/MqttClient.h"
10 #include "util/Loggable.h"
14 class SensorDataFormatter;
25 void setTopic(
const std::string &topic);
29 void setMqttClient(MqttClient::Ptr client);
31 void setFormatter(
const Poco::SharedPtr<SensorDataFormatter> formatter);
35 MqttMessage::QoS m_qos;
36 std::string m_clientID;
37 Poco::SharedPtr<SensorDataFormatter> m_formatter;
38 MqttClient::Ptr m_mqtt;
Definition: SensorData.h:20
Definition: Exporter.h:11
bool ship(const SensorData &data) override
Definition: MqttExporter.cpp:51
Definition: MqttExporter.h:16
Definition: Loggable.h:19