1 #ifndef STATE_PUBLISHER_ZMQ_H 2 #define STATE_PUBLISHER_ZMQ_H 10 #include "ui_publisher_csv_dialog.h" 16 Q_PLUGIN_METADATA(IID
"facontidavide.PlotJuggler3.StatePublisher")
22 virtual const char*
name()
const override 24 return "CSV Exporter";
39 virtual void play(
double)
override 54 double _start_time = std::numeric_limits<double>::quiet_NaN();
55 double _end_time = std::numeric_limits<double>::quiet_NaN();
58 Ui::PublisherCSV_DIalog*
_ui;
75 #endif // STATE_PUBLISHER_ZMQ_H
virtual bool enabled() const override
True if started.
virtual const char * name() const override
Name of the plugin type, NOT the particular instance.
bool getTimeRanges(double *first, double *last)
void saveFile(QString text)
Ui::PublisherCSV_DIalog * _ui
QString generateRangeCSV(double time_start, double time_end)
virtual void play(double) override
QTimer * _notification_timer
QString generateStatisticsCSV(double time_start, double time_end)
virtual void updateState(double current_time) override
Method called when the timetracker is moved manually to a certain position.
void updateButtonsState()
const T & first(const T &value, const Tail &...)
virtual void setEnabled(bool enabled) override
void delayedClearNotification()
virtual ~StatePublisherCSV() override