IMessageContainer.h
Go to the documentation of this file.
1 #ifndef ilog_IMessageContainer_included
2 #define ilog_IMessageContainer_included
3 
4 
5 // Qt includes
6 #include <QtCore/QVector>
7 
8 // ACF includes
10 #include <istd/TIHierarchical.h>
11 #include <iser/ISerializable.h>
12 #include <ilog/IMessageConsumer.h>
13 
14 
15 namespace ilog
16 {
17 
18 
25 {
26 public:
27  typedef QList<IMessageConsumer::MessagePtr> Messages;
28 
33  {
34  CF_MESSAGE_ADDED = 0x1d32820,
37  };
38 
43  virtual int GetWorstCategory() const = 0;
44 
48  virtual Messages GetMessages() const = 0;
49 
53  virtual void ClearMessages() = 0;
54 };
55 
56 
58 
59 
60 } // namespace ilog
61 
62 
63 #endif // !ilog_IMessageContainer_included
64 
virtual int GetWorstCategory() const =0
Get worst message category.
virtual void ClearMessages()=0
Remove all message items from container.
Common class for all classes which objects can be archived or restored from archive.
Definition: ISerializable.h:23
virtual Messages GetMessages() const =0
This function returns messages in the container.
ChangeFlags
Data model change notification flags.
Common interface for a message container.
istd::TIHierarchical< ilog::IMessageContainer > IHierarchicalMessageContainer
QList< IMessageConsumer::MessagePtr > Messages
Common interface to define the hierarchical graph structures.

© 2007-2017 Witold Gantzke and Kirill Lepskiy