ACF $AcfVersion:0$
IMessageContainer.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// STL includes
6#include <list>
7
8// ACF includes
10#include <istd/TIHierarchical.h>
11#include <iser/ISerializable.h>
13
14
15namespace ilog
16{
17
18
68{
69public:
71 typedef std::list<IMessageConsumer::MessagePtr> Messages;
72
85
116
145 virtual Messages GetMessages() const = 0;
146
168 virtual void ClearMessages() = 0;
169};
170
171
200
201
202} // namespace ilog
203
204
205
Common interface for a message container.
std::list< IMessageConsumer::MessagePtr > Messages
List type for storing message shared pointers.
virtual Messages GetMessages() const =0
Retrieve all messages currently in the container.
ChangeFlags
Data model change notification flags.
@ CF_MESSAGE_ADDED
A new message was added to the container.
@ CF_RESET
Container was reset/cleared of all messages.
@ CF_MESSAGE_REMOVED
A message was removed from the container.
virtual istd::IInformationProvider::InformationCategory GetWorstCategory() const =0
Get the worst (highest severity) message category in the container.
virtual void ClearMessages()=0
Remove all message items from the container.
Common class for all classes which objects can be archived or restored from archive.
InformationCategory
Category of information.
Common interface to define the hierarchical graph structures.
This namespace contains implementations for the logging functionality.
istd::TIHierarchical< ilog::IMessageContainer > IHierarchicalMessageContainer
Hierarchical message container interface.