ICF 3.0.5.47
Technical documentation of ICF Libraries
ilog::CConsoleLogComp Class Reference

Message container displaying messages as log list. More...

#include <CConsoleLogComp.h>

Inheritance diagram for ilog::CConsoleLogComp:
Collaboration diagram for ilog::CConsoleLogComp:

Public Types

typedef CStreamLogCompBase BaseClass
 
- Public Types inherited from ilog::CStreamLogCompBase
typedef ilog::CLogCompBase BaseClass
 
- Public Types inherited from ilog::CLogCompBase
typedef ilog::TMessageDelegatorComp< icomp::CComponentBaseBaseClass
 
typedef QObject BaseClass2
 
- Public Types inherited from ilog::TMessageDelegatorComp< icomp::CComponentBase >
typedef icomp::CComponentBase BaseClass
 
- Public Types inherited from ilog::IMessageConsumer
typedef std::shared_ptr< const istd::IInformationProviderMessagePtr
 

Protected Member Functions

void WriteText (const QString &text, istd::IInformationProvider::InformationCategory category) override
 Write a text line to the output stream.
 
- Protected Member Functions inherited from ilog::CStreamLogCompBase
virtual void WriteMessageToStream (const istd::IInformationProvider &message)
 Write formatted message to the output stream.
 
virtual QString GenerateMessageText (const istd::IInformationProvider &message) const
 Generate formatted message text for the output.
 
void WriteMessageToLog (const MessagePtr &messagePtr) override
 
void OnComponentDestroyed () override
 
- Protected Member Functions inherited from ilog::CLogCompBase
- Protected Member Functions inherited from icomp::CComponentBase
bool IsComponentActive () const
 Check if component is active.
 
virtual void OnComponentCreated ()
 
virtual const IRealComponentStaticInfoGetComponentStaticInfo () const =0
 Get access to static info of this component.
 

Additional Inherited Members

- Signals inherited from ilog::CLogCompBase
void EmitAddMessage (const MessagePtr &messagePtr)
 
- Public Member Functions inherited from ilog::CStreamLogCompBase
 CStreamLogCompBase ()
 
istd::IInformationProvider::InformationCategory GetWorseCategory () const
 Get worse category (highest code) of all outputed messages.
 
bool IsMessageSupported (int messageCategory=-1, int messageId=-1, const QByteArray *senderIdPtr=nullptr) const override
 Check if some messge is supported.
 
- Public Member Functions inherited from ilog::CLogCompBase
 CLogCompBase ()
 
void AddMessage (const MessagePtr &messagePtr) override
 Adds a message item to the container.
 
- Public Member Functions inherited from ilog::TMessageDelegatorComp< icomp::CComponentBase >
bool IsMessageSupported (int messageCategory=-1, int messageId=-1, const QByteArray *senderIdPtr=nullptr) const override
 Check if some messge is supported.
 
void AddMessage (const MessagePtr &messagePtr) override
 Adds a message item to the container.
 
- Public Member Functions inherited from icomp::CComponentBase
 CComponentBase ()
 Create component and assign it to specific context.
 
 CComponentBase (const CComponentBase &)=delete
 
CComponentBaseoperator= (const CComponentBase &)=delete
 
virtual const ICompositeComponentGetParentComponent (bool ownerOnly=false) const
 Get parent of this component.
 
virtual void * GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="")
 Get access to specified component interface.
 
virtual const IComponentContextGetComponentContext () const
 Get access to component context describing all application-specified component information loaded from components registry.
 
virtual void SetComponentContext (const IComponentContext *contextPtr, const ICompositeComponent *parentPtr, bool isParentOwner)
 Set component context of this component.
 
- Public Member Functions inherited from icomp::IComponent
- Public Member Functions inherited from ilog::IMessageConsumer
- Static Protected Member Functions inherited from icomp::CComponentBase
static const IRealComponentStaticInfoInitStaticInfo (IComponent *componentPtr)
 
static QByteArray GetComponentId (const IComponentContext *componentContextPtr, const QByteArray &contextId=QByteArray())
 

Detailed Description

Message container displaying messages as log list.

Definition at line 24 of file CConsoleLogComp.h.

Member Typedef Documentation

◆ BaseClass

Member Function Documentation

◆ WriteText()

void ilog::CConsoleLogComp::WriteText ( const QString & text,
istd::IInformationProvider::InformationCategory category )
overrideprotectedvirtual

Write a text line to the output stream.

Implements ilog::CStreamLogCompBase.


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

© Witold Gantzke and Kirill Lepskiy