Medical Imaging Interaction Toolkit  2021.02.99-121d8b57
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 37 of file mbilogBackendBase.h.

Constructor & Destructor Documentation

◆ ~BackendBase()

virtual mbilog::BackendBase::~BackendBase ( )
virtual

Member Function Documentation

◆ GetOutputType()

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

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

◆ ProcessMessage()

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 file: