Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mbilog::BackendBase Class Referenceabstract

This class is an interface for logging backends that can be registered in the mbi logging mechanism. More...

#include <mbilogBackendBase.h>

Inheritance diagram for mbilog::BackendBase:

Public Member Functions

virtual ~BackendBase ()
 
virtual void ProcessMessage (const mbilog::LogMessage &logMessage)=0
 This method is called by the mbi logging mechanism if the object is registered in the mbi logging mechanism and a logging message is emitted. More...
 
virtual OutputType GetOutputType () const =0
 

Detailed Description

This class is an interface for logging backends that can be registered in the mbi logging mechanism.

Definition at line 42 of file mbilogBackendBase.h.

Constructor & Destructor Documentation

mbilog::BackendBase::~BackendBase ( )
virtual

Definition at line 19 of file mbilogBackendBase.cpp.

Member Function Documentation

virtual OutputType mbilog::BackendBase::GetOutputType ( ) const
pure virtual
Returns
The type of this backend.

Implemented in mitk::LoggingBackend, and mbilog::BackendCout.

virtual void mbilog::BackendBase::ProcessMessage ( const mbilog::LogMessage logMessage)
pure virtual

This method is called by the mbi logging mechanism if the object is registered in the mbi logging mechanism and a logging message is emitted.

Parameters
logMessageLogging message which was emitted.

Implemented in mbilog::BackendCout, mbilog::TextBackendBase, and mitk::LoggingBackend.


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