Go to the documentation of this file.
8 #include <unordered_map>
9 #include <unordered_set>
19 using Ptr = std::shared_ptr<MQTTClient>;
60 #endif // MQTT_CLIENT_H
void subscribe(const std::string &topic, int qos)
bool connect(const MosquittoConfig &config)
bool configureMosquitto(const MosquittoConfig &config)
void onMessageReceived(const mosquitto_message *message)
std::function< void(const mosquitto_message *)> TopicCallback
const MosquittoConfig & config() const
std::unordered_set< std::string > _topics_set
void unsubscribe(const std::string &topic)
std::unordered_map< std::string, TopicCallback > _message_callbacks
std::shared_ptr< MQTTClient > Ptr
void addMessageCallback(const std::string &topic, TopicCallback callback)
std::unordered_set< std::string > getTopicList()
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45