w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
RtclRw11Cntl.hpp
Go to the documentation of this file.
1// $Id: RtclRw11Cntl.hpp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2013-2017 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4//
5// Revision History:
6// Date Rev Version Comment
7// 2017-04-16 878 1.1.2 add UnitCommands(); add Class(); M_default virtual
8// 2015-03-27 660 1.1.1 add M_start
9// 2015-01-03 627 1.1 M_stats now virtual
10// 2013-03-06 495 1.0 Initial version
11// 2013-02-08 484 0.1 First draft
12// ---------------------------------------------------------------------------
13
14
19#ifndef included_Retro_RtclRw11Cntl
20#define included_Retro_RtclRw11Cntl 1
21
22#include <cstddef>
23#include <string>
24
28
29#include "librw11/Rw11Cntl.hpp"
30#include "RtclRw11Cpu.hpp"
31
32namespace Retro {
33
34 class RtclRw11Cntl : public RtclProxyBase {
35 public:
36
37 RtclRw11Cntl(const std::string& type,
38 const std::string& cclass);
39 virtual ~RtclRw11Cntl();
40
41 virtual Rw11Cntl& Obj() = 0;
42 virtual int FactoryCmdConfig(RtclArgs& args, RtclRw11Cpu& cpu) = 0;
43
44 protected:
45 int M_get(RtclArgs& args);
46 int M_set(RtclArgs& args);
47 int M_probe(RtclArgs& args);
48 int M_start(RtclArgs& args);
49 virtual int M_stats(RtclArgs& args);
50 int M_dump(RtclArgs& args);
51 virtual int M_default(RtclArgs& args);
52
53 Tcl_Obj* UnitCommands();
54 const std::string& Class() const;
55
56 protected:
57 std::string fClass;
60 };
61
62} // end namespace Retro
63
64//#include "RtclRw11Cntl.ipp"
65
66#endif
FIXME_docs.
Definition: RtclArgs.hpp:41
virtual int FactoryCmdConfig(RtclArgs &args, RtclRw11Cpu &cpu)=0
int M_dump(RtclArgs &args)
FIXME_docs.
virtual int M_default(RtclArgs &args)
FIXME_docs.
Tcl_Obj * UnitCommands()
FIXME_docs.
int M_start(RtclArgs &args)
FIXME_docs.
const std::string & Class() const
FIXME_docs.
int M_get(RtclArgs &args)
FIXME_docs.
virtual Rw11Cntl & Obj()=0
virtual int M_stats(RtclArgs &args)
FIXME_docs.
int M_probe(RtclArgs &args)
FIXME_docs.
int M_set(RtclArgs &args)
FIXME_docs.
virtual ~RtclRw11Cntl()
Destructor.
FIXME_docs.
Definition: Rw11Cntl.hpp:42
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47