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

Subversion Repositories w11

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

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

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

powered by: WebSVN 2.1.0

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