w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Rw11UnitLP11.cpp
Go to the documentation of this file.
1// $Id: Rw11UnitLP11.cpp 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-01 513 1.0 Initial version
9// ---------------------------------------------------------------------------
10
15#include "librtools/RosFill.hpp"
16#include "Rw11CntlLP11.hpp"
17
18#include "Rw11UnitLP11.hpp"
19
20using namespace std;
21
27// all method definitions in namespace Retro
28namespace Retro {
29
30//------------------------------------------+-----------------------------------
32
34 : Rw11UnitStreamBase<Rw11CntlLP11>(pcntl, index)
35{
36 SetAttachOpts("?wonly"); // use write only (output) streams
37}
38
39//------------------------------------------+-----------------------------------
41
43{}
44
45//------------------------------------------+-----------------------------------
47
48void Rw11UnitLP11::Dump(std::ostream& os, int ind, const char* text,
49 int detail) const
50{
51 RosFill bl(ind);
52 os << bl << (text?text:"--") << "Rw11UnitLP11 @ " << this << endl;
53 Rw11UnitStreamBase<Rw11CntlLP11>::Dump(os, ind, " ^", detail);
54 return;
55}
56
57} // end namespace Retro
I/O appicator to generate fill characters.
Definition: RosFill.hpp:24
~Rw11UnitLP11()
Destructor.
Rw11UnitLP11(Rw11CntlLP11 *pcntl, size_t index)
Constructor.
virtual void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
Implemenation (inline) of Rw11UnitStreamBase.
virtual void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
void SetAttachOpts(const std::string &opts)
FIXME_docs.
Definition: Rw11Unit.ipp:39
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47