ImagingTools Core SDK
IJobExecutionLog.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// ACF includes
6#include <ilog/IMessageContainer.h>
7
8
9namespace imthype
10{
11
12
21class IJobExecutionLog: virtual public ilog::IMessageContainer
22{
23public:
28 {
33
38
43
48
53
58
63
68
73
78 };
79
80 I_DECLARE_ENUM(ExecutionEventType,
85
127 virtual void LogExecutionEvent(
128 ExecutionEventType eventType,
129 const QString& message,
130 const QDateTime& timestamp = QDateTime::currentDateTime()) = 0;
131
137 virtual ilog::IMessageContainer::Messages GetExecutionEvents(ExecutionEventType eventType) const = 0;
138};
139
140
141typedef istd::TSharedInterfacePtr<IJobExecutionLog> IJobExecutionLogSharedPtr;
142
143
144} // namespace imthype
145
146
virtual void LogExecutionEvent(ExecutionEventType eventType, const QString &message, const QDateTime &timestamp=QDateTime::currentDateTime())=0
virtual ilog::IMessageContainer::Messages GetExecutionEvents(ExecutionEventType eventType) const =0