Medical Imaging Interaction Toolkit
2018.4.99-389bf124
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
mbilogTextBackendBase.h
MBILOG_EXPORT
#define MBILOG_EXPORT
Definition:
mbilogExports.h:15
mbilog::BackendCout
Default backend of the mbi logging mechanism. This backend is used if no other backend is registered...
Definition:
mbilogBackendCout.h:30
mbilogExports.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::TextBackendBase
This class is an abstract superclass for logging text backends. It adds string formatting methods to ...
Definition:
mbilogTextBackendBase.h:28
mbilogLoggingTypes.h
mbilog
Definition:
mbilog.cpp:21
mbilogLogMessage.h
Source
Utilities
mbilog
mbilogBackendCout.h
Generated on Thu Mar 12 2020 10:23:38 for Medical Imaging Interaction Toolkit by
1.8.13