w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
RtclRlinkServer.hpp
Go to the documentation of this file.
1// $Id: RtclRlinkServer.hpp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2013-2018 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4//
5// Revision History:
6// Date Rev Version Comment
7// 2018-12-07 1078 1.2.1 use std::shared_ptr instead of boost
8// 2018-12-01 1076 1.2 use unique_ptr
9// 2015-04-04 662 1.1 add M_get, M_set; remove 'server -trace'
10// 2013-02-05 482 1.0.1 add shared_ptr to RlinkConnect object
11// 2013-01-12 474 1.0 Initial version
12// ---------------------------------------------------------------------------
13
18#ifndef included_Retro_RtclRlinkServer
19#define included_Retro_RtclRlinkServer 1
20
21#include <cstddef>
22#include <list>
23#include <memory>
24
29#include "RtclAttnShuttle.hpp"
30
32
33namespace Retro {
34
35 class RlinkConnect;
36
37 class RtclRlinkServer : public RtclProxyOwned<RlinkServer> {
38 public:
39 RtclRlinkServer(Tcl_Interp* interp, const char* name);
41
42 virtual int ClassCmdConfig(RtclArgs& args);
43
44 protected:
45 int M_server(RtclArgs& args);
46 int M_attn(RtclArgs& args);
47 int M_stats(RtclArgs& args);
48 int M_print(RtclArgs& args);
49 int M_dump(RtclArgs& args);
50 int M_get(RtclArgs& args);
51 int M_set(RtclArgs& args);
52 int M_default(RtclArgs& args);
53
54 protected:
55 typedef std::unique_ptr<RtclAttnShuttle> ahdl_uptr_t;
56 typedef std::list<ahdl_uptr_t> alist_t;
57
58 std::shared_ptr<RlinkConnect> fspConn;
62 };
63
64} // end namespace Retro
65
66//#include "RtclRlinkServer.ipp"
67
68#endif
FIXME_docs.
Definition: RtclArgs.hpp:41
Implemenation (all inline) of class RtclProxyOwned.
int M_server(RtclArgs &args)
FIXME_docs.
int M_default(RtclArgs &args)
FIXME_docs.
std::unique_ptr< RtclAttnShuttle > ahdl_uptr_t
std::shared_ptr< RlinkConnect > fspConn
int M_dump(RtclArgs &args)
FIXME_docs.
int M_set(RtclArgs &args)
FIXME_docs.
int M_get(RtclArgs &args)
FIXME_docs.
alist_t fAttnHdl
list of attn handlers
int M_print(RtclArgs &args)
FIXME_docs.
int M_attn(RtclArgs &args)
FIXME_docs.
std::list< ahdl_uptr_t > alist_t
int M_stats(RtclArgs &args)
FIXME_docs.
virtual int ClassCmdConfig(RtclArgs &args)
FIXME_docs.
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47