ImagingTools Core SDK
IEventProvider.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/CMessageContainer.h>
7#include <istd/TSmartPtr.h>
8
9// ImtCore includes
10#include <imtlog/IEventFilter.h>
11
12
13namespace imtlog
14{
15
16
17class IEventProvider: virtual public istd::IPolymorphic
18{
19public:
20 enum ResultStatus
21 {
22 RS_OK = 100,
23 RS_CANCELED
24 };
25
26 typedef istd::TSmartPtr<ilog::IMessageContainer> EventContainerPtr;
27
28 virtual EventContainerPtr GetEvents(
29 const IEventFilter* filterPtr = nullptr,
30 const IMessageFilterParams* filterParamsPtr = nullptr) const = 0;
31};
32
33
34} // namespace imtlog
35