w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Rw11UnitStreamBase.ipp
Go to the documentation of this file.
1// $Id: Rw11UnitStreamBase.ipp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2013-2017 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4//
5// Revision History:
6// Date Rev Version Comment
7// 2017-04-07 868 1.0.1 Dump(): add detail arg
8// 2013-05-04 515 1.0 Initial version
9// 2013-05-01 513 0.1 First draft
10// ---------------------------------------------------------------------------
11
17
23// all method definitions in namespace Retro
24namespace Retro {
25
26//------------------------------------------+-----------------------------------
29template <class TC>
31 : Rw11UnitStream(pcntl, index),
32 fpCntl(pcntl)
33{}
34
35//------------------------------------------+-----------------------------------
38template <class TC>
40{}
41
42//------------------------------------------+-----------------------------------
44
45template <class TC>
47{
48 return *fpCntl;
49}
50
51//------------------------------------------+-----------------------------------
53
54template <class TC>
55void Rw11UnitStreamBase<TC>::Dump(std::ostream& os, int ind, const char* text,
56 int detail) const
57{
58 RosFill bl(ind);
59 os << bl << (text?text:"--") << "Rw11UnitStreamBase @ " << this << std::endl;
60 os << bl << " fpCntl: " << fpCntl << std::endl;
61 Rw11UnitStream::Dump(os, ind, " ^", detail);
62 return;
63}
64
65//------------------------------------------+-----------------------------------
67
68template <class TC>
70{
71 Cntl().UnitSetup(Index());
72 return;
73}
74
75
76//------------------------------------------+-----------------------------------
78
79template <class TC>
81{
82 Cntl().UnitSetup(Index());
83 return;
84}
85
86} // end namespace Retro
I/O appicator to generate fill characters.
Definition: RosFill.hpp:24
TC & Cntl() const
FIXME_docs.
virtual void DetachDone()
FIXME_docs.
virtual void AttachDone()
FIXME_docs.
virtual void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
Rw11UnitStreamBase(TC *pcntl, size_t index)
Default constructor.
virtual void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47