![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
Message container displaying messages as log list. More...
#include <CConsoleLogComp.h>
Public Types | |
typedef CStreamLogCompBase | BaseClass |
![]() | |
typedef ilog::CLogCompBase | BaseClass |
![]() | |
typedef ilog::TMessageDelegatorComp< icomp::CComponentBase > | BaseClass |
typedef QObject | BaseClass2 |
Protected Member Functions | |
void | WriteText (const QString &text, istd::IInformationProvider::InformationCategory category) override |
Write a text line to the output stream. | |
![]() | |
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 |
![]() | |
![]() | |
bool | IsComponentActive () const |
Check if component is active. | |
virtual void | OnComponentCreated () |
virtual const IRealComponentStaticInfo & | GetComponentStaticInfo () const =0 |
Get access to static info of this component. | |
Additional Inherited Members | |
![]() | |
void | EmitAddMessage (const MessagePtr &messagePtr) |
![]() | |
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. | |
![]() | |
CLogCompBase () | |
void | AddMessage (const MessagePtr &messagePtr) override |
Adds a message item to the container. | |
![]() | |
CComponentBase () | |
Create component and assign it to specific context. | |
CComponentBase (const CComponentBase &)=delete | |
CComponentBase & | operator= (const CComponentBase &)=delete |
virtual const ICompositeComponent * | GetParentComponent (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 IComponentContext * | GetComponentContext () 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. | |
![]() | |
![]() | |
static const IRealComponentStaticInfo & | InitStaticInfo (IComponent *componentPtr) |
static QByteArray | GetComponentId (const IComponentContext *componentContextPtr, const QByteArray &contextId=QByteArray()) |
Message container displaying messages as log list.
Definition at line 24 of file CConsoleLogComp.h.
Definition at line 27 of file CConsoleLogComp.h.
|
overrideprotectedvirtual |
Write a text line to the output stream.
Implements ilog::CStreamLogCompBase.
© Witold Gantzke and Kirill Lepskiy