Mantid
Loading...
Searching...
No Matches
Framework
Kernel
src
TestChannel.cpp
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
4
// NScD Oak Ridge National Laboratory, European Spallation Source,
5
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6
// SPDX - License - Identifier: GPL - 3.0 +
7
//------------------------------------------------------------------------------
8
// Includes
9
//------------------------------------------------------------------------------
10
#include "
MantidKernel/TestChannel.h
"
11
12
namespace
Mantid
{
13
14
void
TestChannel::log
(
const
Poco::Message &msg) {
_msgList
.emplace_back(msg); }
15
16
TestChannel::MsgList
&
TestChannel::list
() {
return
_msgList
; }
17
18
void
TestChannel::clear
() {
_msgList
.clear(); }
19
}
// namespace Mantid
TestChannel.h
Mantid::TestChannel::clear
void clear()
Definition:
TestChannel.cpp:18
Mantid::TestChannel::MsgList
std::list< Poco::Message > MsgList
Definition:
TestChannel.h:46
Mantid::TestChannel::log
void log(const Poco::Message &msg) override
Definition:
TestChannel.cpp:14
Mantid::TestChannel::list
MsgList & list()
Definition:
TestChannel.cpp:16
Mantid::TestChannel::_msgList
MsgList _msgList
Definition:
TestChannel.h:52
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition:
AbsorptionCorrection.h:18
Generated on Tue Jan 3 2023 11:57:51 for Mantid by
1.9.5