![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
Wrapper provider of log-functionality for component based implementations. More...
#include <TLoggerCompWrap.h>
Inherits Base, and ilog::CLoggerBase.
Inherited by iproc::TSyncProcessorCompBase< iipr::IImageToFeatureProcessor >, iproc::TSyncProcessorCompBase< IImageToFeatureProcessor >, iproc::TSyncProcessorCompBase< ILineProjectionProcessor >, iproc::TSyncProcessorCompBase< IDataSequenceCorrelationProcessor >, iproc::TSyncProcessorCompBase< IDataSequenceStatisticsProcessor >, ibase::CTranslationManagerComp, icam::CBitmapJoinerCompBase, icam::CCameraDelegatorComp, icamgui::CFileAcquisitionComp, icmpstr::CRegistryPreviewComp, icmpstr::CRegistrySerializerComp, idoc::CMultiPageDocumentFilePersistenceComp, idocgui::CClipboardSerializerComp, ifile::CAutoPersistenceCompBase, ifile::CFileListProviderComp, ifile::CFileSystemInfoProviderComp, ifile::CSettingsSerializerComp, ifilegui::CFileDialogPersistenceComp, ifileproc::CComposedCopyFilesComp, ifileproc::CCopyAppComp, ifileproc::CCopyFilesTreeComp, ifileproc::CExternalFileConverterComp, ifileproc::CFileConvertOverProcessorComp, ifileproc::CFileCopyOverPersistenceComp, ifileproc::CFileInfoCopyComp, ifileproc::CFileNamingComp, ifileproc::CProcessingResultsReviewComp, iimg::CBitmapPersistenceComp, iinsp::CInspectionTaskComp, iinsp::CSupplierCompBase, iipr::CDelegatedBitmapSupplierComp, iipr::CHoughLineFinderComp, iipr::CHoughLineFromPosFinderComp, iipr::CSelectableCalibrationProviderComp, ipackage::CPackagesLoaderComp, ipackage::CRegistriesManagerComp, ipackage::CRegistryCodeSaverComp, iproc::CIterativeProcessorComp, iproc::CModelBasedProcessingTriggerComp, iproc::TSyncProcessorCompBase< Base, Interface >, iprocgui::CDocumentProcessingManagerCompBase, and istdgui::CProcessStartCommandComp.
Public Types | |
enum | MessageId { MI_BAD_DEPENDENCY = 0x8a340 } |
typedef Base | BaseClass |
typedef ilog::CLoggerBase | BaseClass2 |
Protected Member Functions | |
virtual void | DecorateMessage (istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const override |
Decorate message parts before outputting. | |
void | OnComponentCreated () override |
void | OnComponentDestroyed () override |
![]() | |
bool | IsVerboseEnabled () const |
Check if verbose messages are enabled. | |
bool | SendVerboseMessage (const QString &message, const QString &messageSource=QString()) const |
Send verbose message. | |
bool | SendInfoMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
Send info message to log. | |
bool | SendWarningMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
Send warning message to log. | |
bool | SendErrorMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
Send error message to log. | |
bool | SendCriticalMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
Send critical message to log. | |
bool | SendInfoMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
Send once info message to log. | |
bool | SendWarningMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
Send once warning message to log. | |
bool | SendErrorMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
Send once error message to log. | |
bool | SendCriticalMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
Send once critical message to log. | |
bool | SendUserMessage (const istd::IInformationProvider *messagePtr) const |
Send message with user object. | |
bool | AllowMessageOnceAgain (int id) |
Reset message lock. | |
bool | IsLogConsumed (const istd::IInformationProvider::InformationCategory *categoryPtr=nullptr, const int *flagsPtr=nullptr) const override |
Check if any log message is consumed. | |
bool | SendLogMessage (istd::IInformationProvider::InformationCategory category, int id, const QString &message, const QString &messageSource, int flags=0) const override |
Send any message to log. | |
![]() |
Additional Inherited Members | |
![]() | |
CLoggerBase () | |
const QByteArray & | GetVerboseSenderId () const |
Get sender ID for verbose messages. | |
void | SetVerboseSenderId (const QByteArray &id) |
Set sender ID for verbose messages. | |
void | SetLogPtr (ilog::IMessageConsumer *logPtr) override |
Install log. | |
ilog::IMessageConsumer * | GetLogPtr () const override |
Get log. | |
![]() | |
![]() | |
QSet< int > | m_onceMessageIds |
Wrapper provider of log-functionality for component based implementations.
Definition at line 25 of file TLoggerCompWrap.h.
Base ilog::TLoggerCompWrap< Base >::BaseClass |
Definition at line 30 of file TLoggerCompWrap.h.
ilog::CLoggerBase ilog::TLoggerCompWrap< Base >::BaseClass2 |
Definition at line 31 of file TLoggerCompWrap.h.
enum ilog::TLoggerCompWrap::MessageId |
Enumerator | |
---|---|
MI_BAD_DEPENDENCY |
Definition at line 33 of file TLoggerCompWrap.h.
|
overrideprotectedvirtual |
Decorate message parts before outputting.
Reimplemented from ilog::CLoggerBase.
Definition at line 69 of file TLoggerCompWrap.h.
References icomp::CComponentContext::GetContextId().
|
overrideprotected |
Definition at line 95 of file TLoggerCompWrap.h.
|
overrideprotected |
Definition at line 110 of file TLoggerCompWrap.h.
© Witold Gantzke and Kirill Lepskiy