Public Types | Public Member Functions | Protected Member Functions | List of all members
ifile::CTextFileLogComp Class Reference

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

#include <CTextFileLogComp.h>

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

Public Types

typedef ilog::CStreamLogCompBase BaseClass
- Public Types inherited from ilog::CStreamLogCompBase
typedef ilog::CLogCompBase BaseClass
- Public Types inherited from ilog::CLogCompBase
< 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

Public Member Functions

 CTextFileLogComp ()
- Public Member Functions inherited from ilog::CStreamLogCompBase
 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...
- Public Member Functions inherited from ilog::CLogCompBase
 CLogCompBase ()
virtual void AddMessage (const MessagePtr &messagePtr)
 Adds a message item to the container. 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 WriteText (const QString &text, istd::IInformationProvider::InformationCategory category)
 Write a text line to the output stream. More...
virtual void OnComponentCreated ()
virtual void OnComponentDestroyed ()
- Protected Member Functions inherited from ilog::CStreamLogCompBase
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)
- Protected Member Functions inherited from icomp::CComponentBase
bool IsComponentActive () const
 Check if component is active. More...
virtual const
GetComponentStaticInfo () const =0
 Get access to static info of this component. More...

Additional Inherited Members

- Signals inherited from ilog::CLogCompBase
void EmitAddMessage (const MessagePtr &messagePtr)
- 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

Message container displaying messages as log list.

Definition at line 25 of file CTextFileLogComp.h.

Member Typedef Documentation

Definition at line 28 of file CTextFileLogComp.h.

Constructor & Destructor Documentation

ifile::CTextFileLogComp::CTextFileLogComp ( )

Member Function Documentation

virtual void ifile::CTextFileLogComp::OnComponentCreated ( )

Reimplemented from icomp::CComponentBase.

virtual void ifile::CTextFileLogComp::OnComponentDestroyed ( )

Reimplemented from ilog::CStreamLogCompBase.

virtual void ifile::CTextFileLogComp::WriteText ( const QString &  text,
istd::IInformationProvider::InformationCategory  category 

Write a text line to the output stream.

Implements ilog::CStreamLogCompBase.

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy