1#ifndef H_EXTENSIONS_CUTEHMI_DATAACQUISITION_1_INCLUDE_CUTEHMI_DATAACQUISITION_RECENCYWRITER_HPP
2#define H_EXTENSIONS_CUTEHMI_DATAACQUISITION_1_INCLUDE_CUTEHMI_DATAACQUISITION_RECENCYWRITER_HPP
4#include "internal/RecencyCollective.hpp"
5#include "internal/DbServiceableMixin.hpp"
6#include "AbstractWriter.hpp"
8#include <cutehmi/services/Serviceable.hpp>
13namespace dataacquisition {
25 static constexpr int INITIAL_INTERVAL = 1000;
33 Q_PROPERTY(
int interval READ interval WRITE setInterval NOTIFY intervalChanged)
39 void setInterval(
int interval);
73 void onValueAppend(
TagValue * tagValue)
override;
75 void onValueRemove(
TagValue * tagValue)
override;
80 void onSchemaChanged();
82 void startUpdateTimer();
84 void stopUpdateTimer();
86 void confirmCollectiveFinished();
98 interval(INITIAL_INTERVAL)
Abstract database writer.
Definition: AbstractWriter.hpp:28
Definition: RecencyWriter.hpp:18
Q_SIGNAL void updateTimerStarted()
Q_SIGNAL void collectiveFinished()
Q_SIGNAL void updateTimerStopped()
Tag value.
Definition: TagValue.hpp:19
Definition: DbServiceableMixin.hpp:17
Definition: RecencyCollective.hpp:16