7 #ifndef STATEPUBLISHER_TEMPLATE_H 8 #define STATEPUBLISHER_TEMPLATE_H 13 #include <QDomElement> 26 virtual bool enabled()
const = 0;
33 virtual void play(
double interval) = 0;
60 #define StatePublisher_iid "facontidavide.PlotJuggler3.StatePublisher" virtual bool enabled() const =0
True if started.
virtual void play(double interval)=0
const PlotDataMapRef * _datamap
virtual void setEnabled(bool enabled)=0
Method called when the checkbox "enabled" is checked in the main app.
virtual ~StatePublisher()=default
void setDataMap(const PlotDataMapRef *datamap)
virtual void updateState(double current_time)=0
Method called when the timetracker is moved manually to a certain position.
#define StatePublisher_iid
std::shared_ptr< StatePublisher > StatePublisherPtr
void closed()
signal to be emitted when the plugin disable itself.
The PlotJugglerPlugin is the base class of all the plugins.