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

Subversion Repositories w11

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 19 wfjm
// $Id: RtclRw11Unit.hpp 504 2013-04-13 15:37:24Z mueller $
2
//
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
// 2013-03-03   494   1.0    Initial version
17
// 2013-02-16   488   0.1    First draft
18
// ---------------------------------------------------------------------------
19
 
20
 
21
/*!
22
  \file
23
  \version $Id: RtclRw11Unit.hpp 504 2013-04-13 15:37:24Z mueller $
24
  \brief   Declaration of class RtclRw11Unit.
25
*/
26
 
27
#ifndef included_Retro_RtclRw11Unit
28
#define included_Retro_RtclRw11Unit 1
29
 
30
#include <cstddef>
31
#include <string>
32
 
33
#include "librtcltools/RtclProxyBase.hpp"
34
#include "librtcltools/RtclGetList.hpp"
35
#include "librtcltools/RtclSetList.hpp"
36
 
37
#include "librw11/Rw11Cpu.hpp"
38
#include "librw11/Rw11Unit.hpp"
39
 
40
namespace Retro {
41
 
42
  class RtclRw11Unit : public RtclProxyBase {
43
    public:
44
 
45
                    RtclRw11Unit(const std::string& type, Rw11Cpu* pcpu);
46
      virtual      ~RtclRw11Unit();
47
 
48
      virtual Rw11Unit&  Obj() = 0;
49
      RtclGetList&  GetList();
50
      RtclSetList&  SetList();
51
 
52
    protected:
53
      int           M_get(RtclArgs& args);
54
      int           M_set(RtclArgs& args);
55
      int           M_attach(RtclArgs& args);
56
      int           M_detach(RtclArgs& args);
57
      int           M_dump(RtclArgs& args);
58
      int           M_default(RtclArgs& args);
59
 
60
    protected:
61
      Rw11Cpu*      fpCpu;
62
      RtclGetList   fGets;
63
      RtclSetList   fSets;
64
  };
65
 
66
} // end namespace Retro
67
 
68
#include "RtclRw11Unit.ipp"
69
 
70
#endif

powered by: WebSVN 2.1.0

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