Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
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,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#ifndef _mbilogBackendBase_H
18
#define _mbilogBackendBase_H
19
20
#include "
mbilogExports.h
"
21
#include "
mbilogLogMessage.h
"
22
23
namespace
mbilog
24
{
31
enum
MBILOG_EXPORT
OutputType
32
{
33
Console
= 0,
34
File
,
35
Other = 100
36
};
42
class
MBILOG_EXPORT
BackendBase
43
{
44
public
:
45
virtual
~
BackendBase
();
46
54
virtual
void
ProcessMessage(
const
mbilog::LogMessage
&logMessage) = 0;
55
59
virtual
OutputType GetOutputType()
const
= 0;
60
};
61
}
62
63
#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:39
Console
Console
Definition:
mbilogBackendBase.h:33
File
File
Definition:
mbilogBackendBase.h:33
mbilog::BackendBase
This class is an interface for logging backends that can be registered in the mbi logging mechanism...
Definition:
mbilogBackendBase.h:42
mbilog
Definition:
mbilog.cpp:25
mbilogLogMessage.h
git
MITK
Utilities
mbilog
mbilogBackendBase.h
Generated on Fri Feb 3 2017 20:51:52 for Medical Imaging Interaction Toolkit by
1.8.9.1