w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
RlogMsg.cpp
Go to the documentation of this file.
1// $Id: RlogMsg.cpp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2013- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4//
5// Revision History:
6// Date Rev Version Comment
7// 2013-02-22 490 1.0 Initial version
8// ---------------------------------------------------------------------------
9
14#include "RlogFile.hpp"
15
16#include "RlogMsg.hpp"
17
18using namespace std;
19
25// all method definitions in namespace Retro
26namespace Retro {
27
28//------------------------------------------+-----------------------------------
30
32 : fStream(),
33 fLfile(0),
34 fTag(tag)
35{}
36
37//------------------------------------------+-----------------------------------
39
40RlogMsg::RlogMsg(RlogFile& lfile, char tag)
41 : fStream(),
42 fLfile(&lfile),
43 fTag(tag)
44{}
45
46//------------------------------------------+-----------------------------------
48
50{
51 if (fLfile) *fLfile << *this;
52}
53
54} // end namespace Retro
FIXME_docs.
Definition: RlogFile.hpp:34
RlogFile * fLfile
Definition: RlogMsg.hpp:43
~RlogMsg()
Destructor.
Definition: RlogMsg.cpp:49
RlogMsg(char tag=0)
Default constructor.
Definition: RlogMsg.cpp:31
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47