Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mbilogBackendBase.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 _mbilogBackendBase_H
14
#define _mbilogBackendBase_H
15
16
#include "
mbilogExports.h
"
17
#include "
mbilogLogMessage.h
"
18
19
namespace
mbilog
20
{
27
enum
MBILOG_EXPORT
OutputType
28
{
29
Console
= 0,
30
File
,
31
Other = 100
32
};
38
class
MBILOG_EXPORT
BackendBase
39
{
40
public
:
41
virtual
~
BackendBase
();
42
50
virtual
void
ProcessMessage(
const
mbilog::LogMessage
&logMessage) = 0;
51
55
virtual
OutputType GetOutputType()
const
= 0;
56
};
57
}
58
59
#endif
MBILOG_EXPORT
#define MBILOG_EXPORT
Definition:
mbilogExports.h:15
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
Console
Console
Definition:
mbilogBackendBase.h:29
File
File
Definition:
mbilogBackendBase.h:29
mbilog::BackendBase
This class is an interface for logging backends that can be registered in the mbi logging mechanism...
Definition:
mbilogBackendBase.h:38
mbilog
Definition:
mbilog.cpp:21
mbilogLogMessage.h
Source
Utilities
mbilog
mbilogBackendBase.h
Generated on Thu Mar 12 2020 10:23:38 for Medical Imaging Interaction Toolkit by
1.8.13