Go to the documentation of this file. 1 #ifndef DATASTREAM_MQTT_H
2 #define DATASTREAM_MQTT_H
10 #include "ui_datastream_mqtt.h"
18 Q_PLUGIN_METADATA(IID
"facontidavide.PlotJuggler3.DataStreamer")
26 virtual bool start(QStringList*)
override;
30 virtual bool isRunning()
const override;
32 virtual const char*
name()
const override
34 return "MQTT Subscriber (Mosquitto)";
44 return { _notification_action, _failed_parsing };
49 void onComboProtocolChanged(
const QString&);
51 void onMessageReceived(
const mosquitto_message* message);
56 std::unordered_map<std::string, PJ::MessageParserPtr>
_parsers;
66 int _failed_parsing = 0;
72 #endif // DATASTREAM_MQTT_H
std::pair< QAction *, int > notificationAction() override
Gets the action to execute when clicking the 'notifications' button and the current number of outstan...
QAction * _notification_action
virtual bool isDebugPlugin() override
ParserFactoryPlugin::Ptr _current_parser_creator
The DataStreamer base classm used to read streaming of data.
ROSCONSOLE_DECL void shutdown()
std::shared_ptr< MQTTClient > Ptr
std::shared_ptr< ParserFactoryPlugin > Ptr
virtual const char * name() const override
Name of the plugin type, NOT the particular instance.
std::unordered_map< std::string, PJ::MessageParserPtr > _parsers
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:44