ACF $AcfVersion:0$
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
 Base class typedef.
 
- Public Types inherited from ilog::CLogCompBase
typedef ilog::TMessageDelegatorComp< icomp::CComponentBaseBaseClass
 Base class typedef for component functionality.
 
typedef QObject BaseClass2
 Base class typedef for QObject functionality.
 
- Public Types inherited from ilog::TMessageDelegatorComp< icomp::CComponentBase >
typedef icomp::CComponentBase BaseClass
 Base class typedef.
 
- Public Types inherited from ilog::IMessageConsumer
typedef istd::TSharedInterfacePtr< istd::IInformationProviderMessagePtr
 Shared pointer type for message objects.
 

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.
 
virtual bool IsMessageSupported (int messageCategory=-1, int messageId=-1, const istd::IInformationProvider *messagePtr=NULL) const override
 Check if a message is supported.
 
- Public Member Functions inherited from ilog::CLogCompBase
 CLogCompBase ()
 Default constructor.
 
virtual void AddMessage (const MessagePtr &messagePtr) override
 Add a message to this log component.
 
- Public Member Functions inherited from icomp::CComponentBase
 CComponentBase ()
 Create component and assign it to specific context.
 
virtual const icomp::IComponentGetParentComponent (bool ownerOnly=false) const override
 Get parent of this component.
 
virtual void * GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="") override
 Get access to specified component interface.
 
virtual IComponentContextSharedPtr GetComponentContext () const override
 Get access to component context describing all application-specified component information loaded from components registry.
 
virtual void SetComponentContext (const IComponentContextSharedPtr &contextPtr, const icomp::IComponent *parentPtr, bool isParentOwner) override
 Set component context of this component.
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Protected Member Functions

virtual void WriteText (const QString &text, istd::IInformationProvider::InformationCategory category) override
 Write a text line to the output stream.
 
virtual void OnComponentCreated () override
 
virtual void OnComponentDestroyed () override
 
- 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.
 
virtual void WriteMessageToLog (const MessagePtr &messagePtr) override
 Abstract method called to process a message.
 
- Protected Member Functions inherited from icomp::CComponentBase
bool IsComponentActive () const
 Check if component is active.
 
virtual const icomp::IRealComponentStaticInfoGetComponentStaticInfo () const =0
 Get access to static info of this component.
 

Additional Inherited Members

- Signals inherited from ilog::CLogCompBase
void EmitAddMessage (const MessagePtr &messagePtr)
 Signal emitted when a message is added.
 
- Static Protected Member Functions inherited from icomp::CComponentBase
static const icomp::IRealComponentStaticInfoInitStaticInfo (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 27 of file CTextFileLogComp.h.

Member Typedef Documentation

◆ BaseClass

Definition at line 31 of file CTextFileLogComp.h.

Constructor & Destructor Documentation

◆ CTextFileLogComp()

ifile::CTextFileLogComp::CTextFileLogComp ( )

Member Function Documentation

◆ OnComponentCreated()

virtual void ifile::CTextFileLogComp::OnComponentCreated ( )
overrideprotectedvirtual

Reimplemented from icomp::CComponentBase.

◆ OnComponentDestroyed()

virtual void ifile::CTextFileLogComp::OnComponentDestroyed ( )
overrideprotectedvirtual

Reimplemented from ilog::CStreamLogCompBase.

◆ WriteText()

virtual void ifile::CTextFileLogComp::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: