OpenCores
URL https://opencores.org/ocsvn/w11/w11/trunk

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.7/] [tools/] [src/] [librw11/] [Rw11UnitTapeBase.hpp] - Blame information for rev 33

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 31 wfjm
// $Id: Rw11UnitTapeBase.hpp 686 2015-06-04 21:08:08Z mueller $
2
//
3
// Copyright 2015- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4
//
5
// This program is free software; you may redistribute and/or modify it under
6
// the terms of the GNU General Public License as published by the Free
7
// Software Foundation, either version 2, or at your option any later version.
8
//
9
// This program is distributed in the hope that it will be useful, but
10
// WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
11
// or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12
// for complete details.
13
// 
14
// Revision History: 
15
// Date         Rev Version  Comment
16
// 2015-05-17   683   1.0    Initial version
17
// ---------------------------------------------------------------------------
18
 
19
 
20
/*!
21
  \file
22
  \version $Id: Rw11UnitTapeBase.hpp 686 2015-06-04 21:08:08Z mueller $
23
  \brief   Declaration of class Rw11UnitTapeBase.
24
*/
25
 
26
#ifndef included_Retro_Rw11UnitTapeBase
27
#define included_Retro_Rw11UnitTapeBase 1
28
 
29
#include "Rw11UnitTape.hpp"
30
 
31
namespace Retro {
32
 
33
  template <class TC>
34
  class Rw11UnitTapeBase : public Rw11UnitTape {
35
    public:
36
 
37
                    Rw11UnitTapeBase(TC* pcntl, size_t index);
38
                   ~Rw11UnitTapeBase();
39
 
40
      TC&           Cntl() const;
41
 
42
      virtual void  Dump(std::ostream& os, int ind=0, const char* text=0) const;
43
 
44
    protected:
45
      virtual void  AttachDone();
46
      virtual void  DetachDone();
47
 
48
    protected:
49
      TC*           fpCntl;
50
  };
51
 
52
} // end namespace Retro
53
 
54
#include "Rw11UnitTapeBase.ipp"
55
 
56
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.