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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [src/] [librw11/] [Rw11UnitDiskBase.hpp] - Blame information for rev 24

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 21 wfjm
// $Id: Rw11UnitDiskBase.hpp 515 2013-05-04 17:28:59Z mueller $
2 20 wfjm
//
3
// Copyright 2013- 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 21 wfjm
// 2013-05-03   515   1.1    use AttachDone(),DetachCleanup(),DetachDone()
17 20 wfjm
// 2013-04-14   506   1.0    Initial version
18
// 2013-02-22   490   0.1    First draft
19
// ---------------------------------------------------------------------------
20
 
21
 
22
/*!
23
  \file
24 21 wfjm
  \version $Id: Rw11UnitDiskBase.hpp 515 2013-05-04 17:28:59Z mueller $
25 20 wfjm
  \brief   Declaration of class Rw11UnitDiskBase.
26
*/
27
 
28
#ifndef included_Retro_Rw11UnitDiskBase
29
#define included_Retro_Rw11UnitDiskBase 1
30
 
31
#include "Rw11UnitDisk.hpp"
32
 
33
namespace Retro {
34
 
35
  template <class TC>
36
  class Rw11UnitDiskBase : public Rw11UnitDisk {
37
    public:
38
 
39
                    Rw11UnitDiskBase(TC* pcntl, size_t index);
40
                   ~Rw11UnitDiskBase();
41
 
42
      TC&           Cntl() const;
43
 
44
      virtual void  Dump(std::ostream& os, int ind=0, const char* text=0) const;
45
 
46
    protected:
47 21 wfjm
      virtual void  AttachDone();
48
      virtual void  DetachDone();
49 20 wfjm
 
50
    protected:
51
      TC*           fpCntl;
52
  };
53
 
54
} // end namespace Retro
55
 
56
#include "Rw11UnitDiskBase.ipp"
57
 
58
#endif

powered by: WebSVN 2.1.0

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