1 #ifndef H_EXTENSIONS_CUTEHMI_DATAACQUISITION_0_INCLUDE_CUTEHMI_DATAACQUISITION_RECENCYWRITER_HPP
2 #define H_EXTENSIONS_CUTEHMI_DATAACQUISITION_0_INCLUDE_CUTEHMI_DATAACQUISITION_RECENCYWRITER_HPP
4 #include "internal/common.hpp"
5 #include "internal/RecencyCollective.hpp"
6 #include "AbstractWriter.hpp"
8 #include <cutehmi/services/Serviceable.hpp>
13 namespace dataacquisition {
24 static constexpr
int INITIAL_INTERVAL = 1000;
32 Q_PROPERTY(
int interval READ interval WRITE setInterval NOTIFY intervalChanged)
38 void setInterval(
int interval);
63 void intervalChanged();
65 CUTEHMI_PROTECTED_SIGNALS:
66 void updateTimerStarted();
68 void updateTimerStopped();
70 void collectiveFinished();
75 void onSchemaChanged();
77 void startUpdateTimer();
79 void stopUpdateTimer();
81 void confirmCollectiveFinished();
93 interval(INITIAL_INTERVAL)