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

Subversion Repositories w11

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

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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