Public Types | Signals | Public Member Functions | Protected Member Functions | List of all members
ilog::CLogCompBase Class Referenceabstract

Basic implementation for logging using event queue for message transportation. More...

#include <CLogCompBase.h>

Inheritance diagram for ilog::CLogCompBase:
ilog::TMessageDelegatorComp< icomp::CComponentBase > icomp::CComponentBase ilog::IMessageConsumer icomp::IComponent istd::IPolymorphic istd::IPolymorphic ilog::CLogComp ilog::CStreamLogCompBase ifile::CTextFileLogComp ifile::CTextFileLogStreamerComp ilog::CConsoleLogComp

Public Types

< icomp::CComponentBase
typedef QObject BaseClass2
- Public Types inherited from ilog::TMessageDelegatorComp< icomp::CComponentBase >
typedef icomp::CComponentBase BaseClass
- Public Types inherited from ilog::IMessageConsumer
typedef istd::TSmartPtr< const


void EmitAddMessage (const MessagePtr &messagePtr)

Public Member Functions

 CLogCompBase ()
virtual void AddMessage (const MessagePtr &messagePtr)
 Adds a message item to the container. More...
- Public Member Functions inherited from ilog::TMessageDelegatorComp< icomp::CComponentBase >
virtual bool IsMessageSupported (int messageCategory=-1, int messageId=-1, const istd::IInformationProvider *messagePtr=NULL) const
 Check if some messge is supported. More...
- Public Member Functions inherited from icomp::CComponentBase
 CComponentBase ()
 Create component and assign it to specific context. More...
virtual const ICompositeComponentGetParentComponent (bool ownerOnly=false) const
 Get parent of this component. More...
virtual void * GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="")
 Get access to specified component interface. More...
virtual const IComponentContextGetComponentContext () const
 Get access to component context describing all application-specified component information loaded from components registry. More...
virtual void SetComponentContext (const icomp::IComponentContext *contextPtr, const ICompositeComponent *parentPtr, bool isParentOwner)
 Set component context of this component. More...
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()

Protected Member Functions

virtual void WriteMessageToLog (const MessagePtr &messagePtr)=0
- Protected Member Functions inherited from icomp::CComponentBase
bool IsComponentActive () const
 Check if component is active. More...
virtual void OnComponentCreated ()
virtual void OnComponentDestroyed ()
virtual const
GetComponentStaticInfo () const =0
 Get access to static info of this component. More...

Additional Inherited Members

- Static Protected Member Functions inherited from icomp::CComponentBase
static const
InitStaticInfo (IComponent *componentPtr)
static QByteArray GetComponentId (const icomp::IComponentContext *componentContextPtr, const QByteArray &contextId=QByteArray())

Detailed Description

Basic implementation for logging using event queue for message transportation.

Definition at line 21 of file CLogCompBase.h.

Member Typedef Documentation

Definition at line 27 of file CLogCompBase.h.

Definition at line 28 of file CLogCompBase.h.

Constructor & Destructor Documentation

ilog::CLogCompBase::CLogCompBase ( )

Member Function Documentation

virtual void ilog::CLogCompBase::AddMessage ( const MessagePtr messagePtr)

Adds a message item to the container.

Reimplemented from ilog::TMessageDelegatorComp< icomp::CComponentBase >.

Reimplemented in ilog::CLogComp.

void ilog::CLogCompBase::EmitAddMessage ( const MessagePtr messagePtr)
virtual void ilog::CLogCompBase::WriteMessageToLog ( const MessagePtr messagePtr)
protectedpure virtual

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy