Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
mbilogBackendCout.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef _mbilogBackendCout_H
14
#define _mbilogBackendCout_H
15
16
#include <iostream>
17
18
#include "
mbilogExports.h
"
19
#include "
mbilogLogMessage.h
"
20
#include "
mbilogLoggingTypes.h
"
21
#include "
mbilogTextBackendBase.h
"
22
23
namespace
mbilog
24
{
30
class
MBILOG_EXPORT
BackendCout
:
public
TextBackendBase
31
{
32
public
:
33
BackendCout
();
34
~
BackendCout
()
override
;
35
42
void
ProcessMessage(
const
mbilog::LogMessage
&l)
override
;
43
48
void
SetFull(
bool
full);
49
50
OutputType
GetOutputType()
const override
;
51
52
private
:
56
bool
m_useFullOutput;
57
};
58
}
59
60
#endif
MBILOG_EXPORT
#define MBILOG_EXPORT
Definition:
mbilogExports.h:15
mbilogLoggingTypes.h
mbilog::LogMessage
An object of this class represents a single logging message (logging event) of the mbi logging mechan...
Definition:
mbilogLogMessage.h:30
mbilog
Definition:
mbilog.h:25
mbilogExports.h
mbilog::TextBackendBase
This class is an abstract superclass for logging text backends. It adds string formatting methods to ...
Definition:
mbilogTextBackendBase.h:28
mbilog::BackendCout
Default backend of the mbi logging mechanism. This backend is used if no other backend is registered....
Definition:
mbilogBackendCout.h:30
mbilog::OutputType
OutputType
Definition:
mbilogBackendBase.h:26
mbilogTextBackendBase.h
mbilogLogMessage.h
src
MITK
Utilities
mbilog
mbilogBackendCout.h
Generated on Wed May 17 2023 16:26:03 for Medical Imaging Interaction Toolkit by
1.8.17