w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Rw11UnitTM11.cpp
Go to the documentation of this file.
1// $Id: Rw11UnitTM11.cpp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2015-2019 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// 2015-05-17 683 1.0 Initial version
9// ---------------------------------------------------------------------------
10
15#include "librtools/RosFill.hpp"
16#include "Rw11CntlTM11.hpp"
17
18#include "Rw11UnitTM11.hpp"
19
20using namespace std;
21
27// all method definitions in namespace Retro
28namespace Retro {
29
30//------------------------------------------+-----------------------------------
32
34 : Rw11UnitTapeBase<Rw11CntlTM11>(pcntl, index),
35 fTmds(0)
36{
37 // setup tape unit type: only tu10 supported !
38 fType = "tu10";
39 fEnabled = true;
40}
41
42//------------------------------------------+-----------------------------------
44
46{}
47
48//------------------------------------------+-----------------------------------
50
51void Rw11UnitTM11::Dump(std::ostream& os, int ind, const char* text,
52 int detail) const
53{
54 RosFill bl(ind);
55 os << bl << (text?text:"--") << "Rw11UnitTM11 @ " << this << endl;
56 os << bl << " fTmds: " << fTmds << endl;
57
58 Rw11UnitTapeBase<Rw11CntlTM11>::Dump(os, ind, " ^", detail);
59 return;
60}
61
62} // end namespace Retro
I/O appicator to generate fill characters.
Definition: RosFill.hpp:24
virtual void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
~Rw11UnitTM11()
Destructor.
Rw11UnitTM11(Rw11CntlTM11 *pcntl, size_t index)
Constructor.
Implemenation (inline) of Rw11UnitTapeBase.
virtual void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
bool fEnabled
unit enabled
std::string fType
drive type
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47