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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.7/] [tools/] [src/] [librwxxtpp/] [RtclRw11Cntl.hpp] - Blame information for rev 36

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 wfjm
// $Id: RtclRw11Cntl.hpp 660 2015-03-29 22:10:16Z mueller $
2 19 wfjm
//
3 28 wfjm
// Copyright 2013-2015 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4 19 wfjm
//
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 30 wfjm
// 2015-03-27   660   1.1.1  add M_start
17 28 wfjm
// 2015-01-03   627   1.1    M_stats now virtual
18 19 wfjm
// 2013-03-06   495   1.0    Initial version
19
// 2013-02-08   484   0.1    First draft
20
// ---------------------------------------------------------------------------
21
 
22
 
23
/*!
24
  \file
25 30 wfjm
  \version $Id: RtclRw11Cntl.hpp 660 2015-03-29 22:10:16Z mueller $
26 19 wfjm
  \brief   Declaration of class RtclRw11Cntl.
27
*/
28
 
29
#ifndef included_Retro_RtclRw11Cntl
30
#define included_Retro_RtclRw11Cntl 1
31
 
32
#include <cstddef>
33
#include <string>
34
 
35
#include "librtcltools/RtclProxyBase.hpp"
36
#include "librtcltools/RtclGetList.hpp"
37
#include "librtcltools/RtclSetList.hpp"
38
 
39
#include "librw11/Rw11Cntl.hpp"
40
#include "RtclRw11Cpu.hpp"
41
 
42
namespace Retro {
43
 
44
  class RtclRw11Cntl : public RtclProxyBase {
45
    public:
46
 
47
      explicit      RtclRw11Cntl(const std::string& type);
48
      virtual      ~RtclRw11Cntl();
49
 
50
      virtual Rw11Cntl&  Obj() = 0;
51
      virtual int   FactoryCmdConfig(RtclArgs& args, RtclRw11Cpu& cpu) = 0;
52
 
53
    protected:
54
      int           M_get(RtclArgs& args);
55
      int           M_set(RtclArgs& args);
56
      int           M_probe(RtclArgs& args);
57 30 wfjm
      int           M_start(RtclArgs& args);
58 28 wfjm
      virtual int   M_stats(RtclArgs& args);
59 19 wfjm
      int           M_dump(RtclArgs& args);
60
      int           M_default(RtclArgs& args);
61
 
62
    protected:
63
      RtclGetList   fGets;
64
      RtclSetList   fSets;
65
  };
66
 
67
} // end namespace Retro
68
 
69
//#include "RtclRw11Cntl.ipp"
70
 
71
#endif

powered by: WebSVN 2.1.0

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