ACF $AcfVersion:0$
IMessageConsumer.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5#include <istd/IPolymorphic.h>
7#include <istd/TSmartPtr.h>
8
9
10namespace ilog
11{
12
13
48{
49public:
52
93 virtual bool IsMessageSupported(
94 int messageCategory = -1,
95 int messageId = -1,
96 const istd::IInformationProvider* messagePtr = NULL) const = 0;
97
138 virtual void AddMessage(const MessagePtr& messagePtr) = 0;
139};
140
141
142} // namespace ilog
143
144
145
146
Common interface for a message container consuming information objects (messages).
istd::TSharedInterfacePtr< istd::IInformationProvider > MessagePtr
Shared pointer type for message objects.
virtual void AddMessage(const MessagePtr &messagePtr)=0
Adds a message to this consumer.
virtual bool IsMessageSupported(int messageCategory=-1, int messageId=-1, const istd::IInformationProvider *messagePtr=NULL) const =0
Check if a message is supported by this consumer.
Common interface for class providing some basic information object.
Base interface for all used interfaces and implementations.
Shared ownership smart pointer for interface types.
#define NULL
Definition istd.h:74
This namespace contains implementations for the logging functionality.