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 | |
virtual void | WriteText (const QString &text, istd::IInformationProvider::InformationCategory category) |
Write a text line to the output stream. More... | |
![]() | |
virtual void | WriteMessageToStream (const istd::IInformationProvider &message) |
Write formatted message to the output stream. More... | |
virtual QString | GenerateMessageText (const istd::IInformationProvider &message) const |
Generate formatted message text for the output. More... | |
virtual void | WriteMessageToLog (const MessagePtr &messagePtr) |
virtual void | OnComponentDestroyed () |
![]() | |
bool | IsComponentActive () const |
Check if component is active. More... | |
virtual void | OnComponentCreated () |
virtual const icomp::IRealComponentStaticInfo & | GetComponentStaticInfo () const =0 |
Get access to static info of this component. More... | |
Additional Inherited Members | |
![]() | |
void | EmitAddMessage (const MessagePtr &messagePtr) |
![]() | |
CStreamLogCompBase () | |
istd::IInformationProvider::InformationCategory | GetWorseCategory () const |
Get worse category (highest code) of all outputed messages. More... | |
virtual bool | IsMessageSupported (int messageCategory=-1, int messageId=-1, const istd::IInformationProvider *messagePtr=NULL) const |
Check if some messge is supported. More... | |
![]() | |
CLogCompBase () | |
virtual void | AddMessage (const MessagePtr &messagePtr) |
Adds a message item to the container. More... | |
![]() | |
CComponentBase () | |
Create component and assign it to specific context. More... | |
virtual const ICompositeComponent * | GetParentComponent (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 IComponentContext * | GetComponentContext () 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... | |
![]() | |
virtual | ~IPolymorphic () |
![]() | |
static const icomp::IRealComponentStaticInfo & | InitStaticInfo (IComponent *componentPtr) |
static QByteArray | GetComponentId (const icomp::IComponentContext *componentContextPtr, const QByteArray &contextId=QByteArray()) |
Message container displaying messages as log list.
Definition at line 19 of file CConsoleLogComp.h.
Definition at line 22 of file CConsoleLogComp.h.
|
protectedvirtual |
Write a text line to the output stream.
Implements ilog::CStreamLogCompBase.
© 2007-2017 Witold Gantzke and Kirill Lepskiy