7 #ifndef DATA_STREAMER_TEMPLATE_H 8 #define DATA_STREAMER_TEMPLATE_H 11 #include <unordered_set> 39 virtual bool start(QStringList* pre_selected_sources) = 0;
59 return {
nullptr, 0 };
116 #define DataStream_iid "facontidavide.PlotJuggler3.DataStreamer"
virtual void shutdown()=0
shutdown Stop streaming
virtual bool start(QStringList *pre_selected_sources)=0
start streaming.
std::map< QString, std::shared_ptr< ParserFactoryPlugin > > ParserFactories
The DataStreamer base classm used to read streaming of data.
void setParserFactories(ParserFactories *parsers)
void setMaximumRangeX(double range)
ParserFactories * _parser_factories
const ParserFactories * parserFactories() const
virtual bool isRunning() const =0
isRunning
std::shared_ptr< DataStreamer > DataStreamerPtr
PlotDataMapRef & dataMap()
virtual std::pair< QAction *, int > notificationAction()
Gets the action to execute when clicking the 'notifications' button and the current number of outstan...
virtual ~DataStreamer()=default
QAction * _start_streamer
void clearBuffers()
Request the main application to clear previous data points.
const PlotDataMapRef & dataMap() const
void removeGroup(std::string group_name)
All the series which share this group, will be deleted.
void notificationsChanged(int active_notification_count)
The PlotJugglerPlugin is the base class of all the plugins.