CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Types | Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ctkErrorLogAbstractMessageHandler Class Referenceabstract

#include <Libs/Core/ctkErrorLogAbstractMessageHandler.h>

Inheritance diagram for ctkErrorLogAbstractMessageHandler:
Inheritance graph
[legend]
Collaboration diagram for ctkErrorLogAbstractMessageHandler:
Collaboration graph
[legend]

Public Types

typedef QObject Superclass
 

Signals

void messageHandled (const QDateTime &currentDateTime, const QString &threadId, ctkErrorLogLevel::LogLevel logLevel, const QString &origin, const ctkErrorLogContext &logContext, const QString &text)
 

Public Member Functions

 ctkErrorLogAbstractMessageHandler ()
 Disabled by default. More...
 
bool enabled () const
 
void handleMessage (const QString &threadId, ctkErrorLogLevel::LogLevel logLevel, const QString &origin, const ctkErrorLogContext &logContext, const QString &text)
 
virtual QString handlerName () const =0
 
QString handlerPrettyName () const
 
void setEnabled (bool value)
 
void setTerminalOutput (ctkErrorLogTerminalOutput::TerminalOutput terminalOutputType, ctkErrorLogTerminalOutput *terminalOutput)
 
ctkErrorLogTerminalOutputterminalOutput (ctkErrorLogTerminalOutput::TerminalOutput terminalOutputType) const
 
virtual ~ctkErrorLogAbstractMessageHandler ()
 

Protected Member Functions

virtual void setEnabledInternal (bool value)=0
 
void setHandlerPrettyName (const QString &newHandlerPrettyName)
 

Protected Attributes

QScopedPointer< ctkErrorLogAbstractMessageHandlerPrivate > d_ptr
 

Detailed Description

Definition at line 39 of file ctkErrorLogAbstractMessageHandler.h.

Member Typedef Documentation

◆ Superclass

Definition at line 43 of file ctkErrorLogAbstractMessageHandler.h.

Constructor & Destructor Documentation

◆ ctkErrorLogAbstractMessageHandler()

ctkErrorLogAbstractMessageHandler::ctkErrorLogAbstractMessageHandler ( )

Disabled by default.

◆ ~ctkErrorLogAbstractMessageHandler()

virtual ctkErrorLogAbstractMessageHandler::~ctkErrorLogAbstractMessageHandler ( )
virtual

Member Function Documentation

◆ enabled()

bool ctkErrorLogAbstractMessageHandler::enabled ( ) const

◆ handleMessage()

void ctkErrorLogAbstractMessageHandler::handleMessage ( const QString &  threadId,
ctkErrorLogLevel::LogLevel  logLevel,
const QString &  origin,
const ctkErrorLogContext logContext,
const QString &  text 
)

◆ handlerName()

virtual QString ctkErrorLogAbstractMessageHandler::handlerName ( ) const
pure virtual

◆ handlerPrettyName()

QString ctkErrorLogAbstractMessageHandler::handlerPrettyName ( ) const

◆ messageHandled

void ctkErrorLogAbstractMessageHandler::messageHandled ( const QDateTime &  currentDateTime,
const QString &  threadId,
ctkErrorLogLevel::LogLevel  logLevel,
const QString &  origin,
const ctkErrorLogContext logContext,
const QString &  text 
)
signal

◆ setEnabled()

void ctkErrorLogAbstractMessageHandler::setEnabled ( bool  value)

◆ setEnabledInternal()

virtual void ctkErrorLogAbstractMessageHandler::setEnabledInternal ( bool  value)
protectedpure virtual

◆ setHandlerPrettyName()

void ctkErrorLogAbstractMessageHandler::setHandlerPrettyName ( const QString &  newHandlerPrettyName)
protected

◆ setTerminalOutput()

void ctkErrorLogAbstractMessageHandler::setTerminalOutput ( ctkErrorLogTerminalOutput::TerminalOutput  terminalOutputType,
ctkErrorLogTerminalOutput terminalOutput 
)

◆ terminalOutput()

ctkErrorLogTerminalOutput* ctkErrorLogAbstractMessageHandler::terminalOutput ( ctkErrorLogTerminalOutput::TerminalOutput  terminalOutputType) const

Member Data Documentation

◆ d_ptr

QScopedPointer<ctkErrorLogAbstractMessageHandlerPrivate> ctkErrorLogAbstractMessageHandler::d_ptr
protected

Definition at line 74 of file ctkErrorLogAbstractMessageHandler.h.


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