Belle II Software
development
LogListener.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
#ifndef _Belle2_LogListener_hh
9
#define _Belle2_LogListener_hh
10
11
namespace
Belle2
{
17
class
ProcessController;
18
19
class
LogListener
{
20
21
public
:
22
LogListener
(
ProcessController
* con,
int
pipe[2],
bool
enableUnescapeNewlines =
true
)
23
: m_con(con), m_enableUnescapeNewlines(enableUnescapeNewlines)
24
{
25
m_pipe[0] = pipe[0];
26
m_pipe[1] = pipe[1];
27
}
28
~LogListener
() {}
29
30
public
:
31
void
run();
32
33
private
:
34
ProcessController
* m_con;
35
int
m_pipe[2];
36
37
bool
m_enableUnescapeNewlines;
38
39
};
40
42
}
43
44
#endif
45
Belle2::LogListener
Definition:
LogListener.h:19
Belle2::ProcessController
Definition:
ProcessController.h:28
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
daq
slc
readout
include
LogListener.h
Generated on Fri Nov 8 2024 02:35:44 for Belle II Software by
1.9.6