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 {
21 static constexpr
int INITIAL_INTERVAL = 1000;
29 Q_PROPERTY(
int interval READ interval WRITE setInterval NOTIFY intervalChanged)
35 void setInterval(
int interval);
60 void intervalChanged();
62 CUTEHMI_PROTECTED_SIGNALS:
63 void updateTimerStarted();
65 void updateTimerStopped();
70 void onSchemaChanged();
72 void startUpdateTimer();
74 void stopUpdateTimer();
86 interval(INITIAL_INTERVAL)