w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
RtclRlinkConnect.hpp
Go to the documentation of this file.
1// $Id: RtclRlinkConnect.hpp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2011-2017 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4//
5// Revision History:
6// Date Rev Version Comment
7// 2017-04-29 888 1.1 drop M_rawio; add M_rawread,M_rawrblk,M_rawwblk
8// 2015-04-12 666 1.0.5 add M_init
9// 2015-01-06 631 1.0.4 add M_get, M_set, remove M_config
10// 2013-02-23 492 1.0.3 use RlogFile.Name(); use Context().ErrorCount()
11// 2013-01-06 473 1.0.2 add M_rawio
12// 2011-11-28 434 1.0.1 ConfigBase(): use uint32_t for lp64 compatibility
13// 2011-03-27 374 1.0 Initial version
14// 2011-02-11 360 0.1 First draft
15// ---------------------------------------------------------------------------
16
21#ifndef included_Retro_RtclRlinkConnect
22#define included_Retro_RtclRlinkConnect 1
23
24#include <cstddef>
25#include <string>
26
31
33
34namespace Retro {
35
36 class RtclRlinkConnect : public RtclProxyOwned<RlinkConnect> {
37 public:
38 RtclRlinkConnect(Tcl_Interp* interp, const char* name);
40
41 protected:
42 int M_open(RtclArgs& args);
43 int M_close(RtclArgs& args);
44 int M_init(RtclArgs& args);
45 int M_exec(RtclArgs& args);
46 int M_amap(RtclArgs& args);
47 int M_errcnt(RtclArgs& args);
48 int M_wtlam(RtclArgs& args);
49 int M_oob(RtclArgs& args);
50 int M_rawread(RtclArgs& args);
51 int M_rawrblk(RtclArgs& args);
52 int M_rawwblk(RtclArgs& args);
53 int M_stats(RtclArgs& args);
54 int M_log(RtclArgs& args);
55 int M_print(RtclArgs& args);
56 int M_dump(RtclArgs& args);
57 int M_get(RtclArgs& args);
58 int M_set(RtclArgs& args);
59 int M_default(RtclArgs& args);
60
61 bool GetAddr(RtclArgs& args, uint16_t& addr);
62 bool GetVarName(RtclArgs& args, const char* argname,
63 size_t nind, std::vector<std::string>& varname);
64 bool ConfigBase(RtclArgs& args, uint32_t& base);
65 bool ClistNonEmpty(RtclArgs& args,
66 const RlinkCommandList& clist);
67
68 protected:
72 };
73
74} // end namespace Retro
75
76//#include "RtclRlinkConnect.ipp"
77
78#endif
FIXME_docs.
Definition: RtclArgs.hpp:41
Implemenation (inline) of RtclOPtr.
Definition: RtclOPtr.hpp:23
Implemenation (all inline) of class RtclProxyOwned.
int M_set(RtclArgs &args)
FIXME_docs.
int M_print(RtclArgs &args)
FIXME_docs.
int M_wtlam(RtclArgs &args)
FIXME_docs.
bool GetAddr(RtclArgs &args, uint16_t &addr)
FIXME_docs.
int M_close(RtclArgs &args)
FIXME_docs.
int M_open(RtclArgs &args)
FIXME_docs.
int M_rawrblk(RtclArgs &args)
FIXME_docs.
int M_exec(RtclArgs &args)
FIXME_docs.
bool ConfigBase(RtclArgs &args, uint32_t &base)
FIXME_docs.
int M_dump(RtclArgs &args)
FIXME_docs.
int M_oob(RtclArgs &args)
FIXME_docs.
bool ClistNonEmpty(RtclArgs &args, const RlinkCommandList &clist)
FIXME_docs.
int M_log(RtclArgs &args)
FIXME_docs.
bool GetVarName(RtclArgs &args, const char *argname, size_t nind, std::vector< std::string > &varname)
FIXME_docs.
int M_get(RtclArgs &args)
FIXME_docs.
int M_rawwblk(RtclArgs &args)
FIXME_docs.
int M_init(RtclArgs &args)
FIXME_docs.
int M_default(RtclArgs &args)
FIXME_docs.
int M_stats(RtclArgs &args)
FIXME_docs.
int M_rawread(RtclArgs &args)
FIXME_docs.
int M_errcnt(RtclArgs &args)
FIXME_docs.
int M_amap(RtclArgs &args)
FIXME_docs.
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47