w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
RtclRw11CntlRdmaBase.ipp
Go to the documentation of this file.
1// $Id: RtclRw11CntlRdmaBase.ipp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2017-2019 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4//
5// Revision History:
6// Date Rev Version Comment
7// 2019-02-23 1114 1.2.2 use std::bind instead of lambda
8// 2018-12-15 1082 1.2.1 use lambda instead of boost::bind
9// 2017-04-16 877 1.2 add class in ctor
10// 2017-02-04 848 1.1 add in fGets: found,pdataint,pdatarem
11// 2013-03-06 495 1.0 Initial version
12// 2013-02-08 484 0.1 First draft
13// ---------------------------------------------------------------------------
14
24#include <functional>
26#include "librtcltools/Rtcl.hpp"
28
29// all method definitions in namespace Retro
30namespace Retro {
31
32//------------------------------------------+-----------------------------------
34
35template <class TC>
37 const std::string& cclass)
38 : RtclRw11CntlBase<TC>(type,cclass)
39{
40 TC* pobj = &this->Obj();
41 RtclGetList& gets = this->fGets;
42 RtclSetList& sets = this->fSets;
43 gets.Add<size_t> ("chunksize", std::bind(&TC::ChunkSize, pobj));
44 sets.Add<size_t> ("chunksize", std::bind(&TC::SetChunkSize, pobj,
45 std::placeholders::_1));
46}
47
48//------------------------------------------+-----------------------------------
50
51template <class TC>
53{}
54
55
56} // end namespace Retro
void Add(const std::string &name, get_uptr_t &&upget)
FIXME_docs.
Definition: RtclGetList.cpp:52
Implemenation (all inline) of RtclRw11CntlBase.
virtual TC & Obj()
FIXME_docs.
RtclRw11CntlRdmaBase(const std::string &type, const std::string &cclass)
Constructor.
void Add(const std::string &name, set_uptr_t &&upset)
FIXME_docs.
Definition: RtclSetList.cpp:52
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47