ImagingTools Core SDK
CSchedulerParams.h
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ImtCore-Commercial
2#pragma once
3
4
5// Qt includes
6#include <QtCore/QTime>
7
8// ACF includes
9#include <iser/ISerializable.h>
10
11// ImtCore includes
12#include <imtapp/ISchedulerParams.h>
13
14
15namespace imtapp
16{
17
18
19class CSchedulerParams: virtual public ISchedulerParams
20{
21public:
22 CSchedulerParams();
23
24 // reimplemented (ISchedulerParams)
25 virtual const QDateTime& GetStartTime() const override;
26 virtual void SetStartTime(const QDateTime& startTime) override;
27 virtual int GetInterval() const override;
28 virtual void SetInterval(int interval) override;
29
30 // reimplemented (iser::ISerializable)
31 virtual bool Serialize(iser::IArchive& archive) override;
32
33 // reimplemented (istd::IChangeable)
34 virtual int GetSupportedOperations() const override;
35 virtual bool CopyFrom(const IChangeable& object, CompatibilityMode mode = CM_WITHOUT_REFS) override;
36 virtual bool IsEqual(const IChangeable& object) const override;
37 virtual istd::IChangeableUniquePtr CloneMe(CompatibilityMode mode = CM_WITHOUT_REFS) const override;
38 virtual bool ResetData(CompatibilityMode mode = CM_WITHOUT_REFS) override;
39
40protected:
41 QDateTime m_startTime;
42 int m_interval;
43};
44
45
46} // namespace imtapp
47
48
Desktop Application Framework Module.