1 #ifndef DATA_STREAMER_TEMPLATE_H 2 #define DATA_STREAMER_TEMPLATE_H 5 #include <unordered_set> 27 virtual bool start(QStringList*) = 0;
86 std::lock_guard<std::mutex> lock(
mutex());
89 it.second.setMaximumRangeX(range);
91 for (
auto& it :
dataMap().user_defined)
93 it.second.setMaximumRangeX(range);
103 #define DataStream_iid "facontidavide.PlotJuggler3.DataStreamer" std::map< QString, std::shared_ptr< MessageParserCreator >> MessageParserFactory
void setMaximumRange(double range)
virtual void shutdown()=0
virtual bool start(QStringList *)=0
The DataStreamer base class to create your own plugin.
MessageParserFactory * availableParsers()
void setAvailableParsers(MessageParserFactory *parsers)
virtual bool isRunning() const =0
std::shared_ptr< DataStreamer > DataStreamerPtr
const PlotDataMapRef & dataMap() const
PlotDataMapRef & dataMap()
virtual ~DataStreamer()=default
QAction * _start_streamer
MessageParserFactory * _available_parsers