Public Types | Public Member Functions | List of all members
ilog::TMessageDelegatorComp< BaseComponent > Class Template Reference

Delegator component for a message consumer. More...

#include <TMessageDelegatorComp.h>

Inheritance diagram for ilog::TMessageDelegatorComp< BaseComponent >:
ilog::IMessageConsumer istd::IPolymorphic

Public Types

typedef BaseComponent BaseClass
 
- Public Types inherited from ilog::IMessageConsumer
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
 Check if some messge is supported. More...
 
virtual void AddMessage (const MessagePtr &messagePtr)
 Adds a message item to the container. More...
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Detailed Description

template<class BaseComponent>
class ilog::TMessageDelegatorComp< BaseComponent >

Delegator component for a message consumer.

Definition at line 20 of file TMessageDelegatorComp.h.

Member Typedef Documentation

template<class BaseComponent>
typedef BaseComponent ilog::TMessageDelegatorComp< BaseComponent >::BaseClass

Definition at line 23 of file TMessageDelegatorComp.h.

Member Function Documentation

template<class BaseComponent >
void ilog::TMessageDelegatorComp< BaseComponent >::AddMessage ( const MessagePtr messagePtr)
virtual

Adds a message item to the container.

Implements ilog::IMessageConsumer.

Reimplemented in ilog::CLogComp, and ilog::CLogCompBase.

Definition at line 61 of file TMessageDelegatorComp.h.

template<class BaseComponent >
bool ilog::TMessageDelegatorComp< BaseComponent >::IsMessageSupported ( int  messageCategory = -1,
int  messageId = -1,
const istd::IInformationProvider messagePtr = NULL 
) const
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.

Implements ilog::IMessageConsumer.

Reimplemented in ilog::CStreamLogCompBase, and ilog::CLogComp.

Definition at line 47 of file TMessageDelegatorComp.h.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy