Public Types | Public Member Functions | List of all members
ilog::IMessageConsumer Class Referenceabstract

Common interface for a message container consuming information objects (messages). More...

#include <IMessageConsumer.h>

Inheritance diagram for ilog::IMessageConsumer:
istd::IPolymorphic ilog::CMessageContainer ilog::TMessageDelegatorComp< BaseComponent > iloggui::CMessageBoxComp iqtgui::CGuiApplicationComp::TrayMessages iqtgui::CSplashScreenGuiComp ilog::TMessageDelegatorComp< icomp::CComponentBase > ilog::CLogComp iloggui::CLogGuiComp ilog::CLogCompBase ilog::CLogComp ilog::CStreamLogCompBase ifile::CTextFileLogComp ifile::CTextFileLogStreamerComp ilog::CConsoleLogComp

Public Types

typedef istd::TSmartPtr< const
istd::IInformationProvider
MessagePtr
 

Public Member Functions

virtual bool IsMessageSupported (int messageCategory=-1, int messageId=-1, const istd::IInformationProvider *messagePtr=NULL) const =0
 Check if some messge is supported. More...
 
virtual void AddMessage (const MessagePtr &messagePtr)=0
 Adds a message item to the container. More...
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Detailed Description

Common interface for a message container consuming information objects (messages).

Definition at line 19 of file IMessageConsumer.h.

Member Typedef Documentation

Definition at line 22 of file IMessageConsumer.h.

Member Function Documentation

virtual void ilog::IMessageConsumer::AddMessage ( const MessagePtr messagePtr)
pure virtual
virtual bool ilog::IMessageConsumer::IsMessageSupported ( int  messageCategory = -1,
int  messageId = -1,
const istd::IInformationProvider messagePtr = NULL 
) const
pure virtual

Check if some messge is supported.

Parameters
messageCategorycategory of message or -1 if undefined,
See Also
istd::IInformationProvider::InformationCategory.
Parameters
messageIdID of message as defined in istd::IInformationProvider or -1 if undefined.
messagePtroptional message object, or NULL if undefined. Please note, this object will not be stored by receiver.

Implemented in iloggui::CLogGuiComp, iqtgui::CGuiApplicationComp::TrayMessages, ilog::CMessageContainer, iqtgui::CSplashScreenGuiComp, iloggui::CMessageBoxComp, ilog::CStreamLogCompBase, ilog::CLogComp, ilog::TMessageDelegatorComp< BaseComponent >, and ilog::TMessageDelegatorComp< icomp::CComponentBase >.


The documentation for this class was generated from the following file:

© 2007-2017 Witold Gantzke and Kirill Lepskiy