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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [src/] [librlinktpp/] [RtclRlinkConnect.hpp] - Blame information for rev 40

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

Line No. Rev Author Line
1 19 wfjm
// $Id: RtclRlinkConnect.hpp 492 2013-02-24 22:14:47Z mueller $
2 10 wfjm
//
3 19 wfjm
// Copyright 2011-2013 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4 10 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 19 wfjm
// 2013-02-23   492   1.0.3  use RlogFile.Name(); use Context().ErrorCount()
17
// 2013-01-06   473   1.0.2  add M_rawio
18 15 wfjm
// 2011-11-28   434   1.0.1  ConfigBase(): use uint32_t for lp64 compatibility
19 10 wfjm
// 2011-03-27   374   1.0    Initial version
20
// 2011-02-11   360   0.1    First draft
21
// ---------------------------------------------------------------------------
22
 
23
/*!
24
  \file
25 19 wfjm
  \version $Id: RtclRlinkConnect.hpp 492 2013-02-24 22:14:47Z mueller $
26 10 wfjm
  \brief   Declaration of class RtclRlinkConnect.
27
*/
28
 
29
#ifndef included_Retro_RtclRlinkConnect
30
#define included_Retro_RtclRlinkConnect 1
31
 
32
#include <cstddef>
33
#include <string>
34
 
35
#include "librtcltools/RtclOPtr.hpp"
36
#include "librtcltools/RtclProxyOwned.hpp"
37
 
38
#include "librlink/RlinkConnect.hpp"
39
 
40
namespace Retro {
41
 
42
  class RtclRlinkConnect : public RtclProxyOwned<RlinkConnect> {
43
    public:
44
                    RtclRlinkConnect(Tcl_Interp* interp, const char* name);
45 19 wfjm
                   ~RtclRlinkConnect();
46 10 wfjm
 
47
    protected:
48
      int           M_open(RtclArgs& args);
49
      int           M_close(RtclArgs& args);
50
      int           M_exec(RtclArgs& args);
51
      int           M_amap(RtclArgs& args);
52
      int           M_errcnt(RtclArgs& args);
53
      int           M_wtlam(RtclArgs& args);
54
      int           M_oob(RtclArgs& args);
55 19 wfjm
      int           M_rawio(RtclArgs& args);
56 10 wfjm
      int           M_stats(RtclArgs& args);
57
      int           M_log(RtclArgs& args);
58
      int           M_print(RtclArgs& args);
59
      int           M_dump(RtclArgs& args);
60
      int           M_config(RtclArgs& args);
61
      int           M_default(RtclArgs& args);
62
 
63
      bool          GetAddr(RtclArgs& args, RlinkConnect& conn, uint16_t& addr);
64
      bool          GetVarName(RtclArgs& args, const char* argname,
65
                               size_t nind, std::vector<std::string>& varname);
66 15 wfjm
      bool          ConfigBase(RtclArgs& args, uint32_t& base);
67 10 wfjm
      bool          ClistNonEmpty(RtclArgs& args,
68
                                  const RlinkCommandList& clist);
69
 
70
    protected:
71
      RtclOPtr      fCmdnameObj[8];
72
  };
73
 
74
} // end namespace Retro
75
 
76
//#include "RtclRlinkConnect.ipp"
77
 
78
#endif

powered by: WebSVN 2.1.0

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