NorMIT-nav
22.09
An IGT application
cxLogIOStreamRedirecter.h
Go to the documentation of this file.
1
/*=========================================================================
2
This file is part of CustusX, an Image Guided Therapy Application.
3
4
Copyright (c) SINTEF Department of Medical Technology.
5
All rights reserved.
6
7
CustusX is released under a BSD 3-Clause license.
8
9
See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10
=========================================================================*/
11
12
#ifndef CXLOGIOSTREAMREDIRECTER_H
13
#define CXLOGIOSTREAMREDIRECTER_H
14
15
#include "boost/shared_ptr.hpp"
16
#include "
cxDefinitions.h
"
17
24
namespace
cx
25
{
26
30
class
SingleStreamerImpl
31
{
32
private
:
33
boost::shared_ptr<class MyStreamBuf> StreamBuf;
34
std::streambuf *OrigBuf;
35
std::ostream& mStream;
36
public
:
37
SingleStreamerImpl
(std::ostream& str, MESSAGE_LEVEL level);
38
~SingleStreamerImpl
();
39
void
sendUnredirected
(
const
QString& sequence);
40
};
41
42
}
//namespace cx
43
48
#endif // CXLOGIOSTREAMREDIRECTER_H
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cxDefinitions.h
cx::SingleStreamerImpl::~SingleStreamerImpl
~SingleStreamerImpl()
Definition:
cxLogIOStreamRedirecter.cpp:98
cx::SingleStreamerImpl
Definition:
cxLogIOStreamRedirecter.h:30
cx::SingleStreamerImpl::sendUnredirected
void sendUnredirected(const QString &sequence)
Definition:
cxLogIOStreamRedirecter.cpp:103
cx::SingleStreamerImpl::SingleStreamerImpl
SingleStreamerImpl(std::ostream &str, MESSAGE_LEVEL level)
Definition:
cxLogIOStreamRedirecter.cpp:90
CX
source
resource
core
logger
internal
cxLogIOStreamRedirecter.h
Generated on Tue Sep 13 2022 11:06:15 for NorMIT-nav by
1.8.17