w11 - cpp
0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
RtclGetList.ipp
Go to the documentation of this file.
1
// $Id: RtclGetList.ipp 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-15 1083 1.1.2 Add(): use rval ref and move semantics
8
// 2018-12-14 1081 1.1.1 use std::function instead of boost
9
// 2018-12-01 1076 1.1 use unique_ptr
10
// 2013-02-12 487 1.0 Initial version
11
// ---------------------------------------------------------------------------
12
17
// all method definitions in namespace Retro
18
namespace
Retro
{
19
20
//------------------------------------------+-----------------------------------
22
23
template
<
class
TP>
24
inline
void
RtclGetList::Add
(
const
std::string& name,
25
std::function<TP()>&& get)
26
{
27
Add
(name,
get_uptr_t
(
new
RtclGet<TP>
(move(get))));
28
return
;
29
}
30
31
}
// end namespace Retro
Retro::RtclGetList::get_uptr_t
std::unique_ptr< RtclGetBase > get_uptr_t
Definition:
RtclGetList.hpp:37
Retro::RtclGetList::Add
void Add(const std::string &name, get_uptr_t &&upget)
FIXME_docs.
Definition:
RtclGetList.cpp:52
Retro::RtclGet
Implemenation (inline) of class RtclGet.
Definition:
RtclGet.hpp:30
Retro
Declaration of class ReventLoop.
Definition:
ReventLoop.cpp:47
librtcltools
RtclGetList.ipp
Generated on Thu Feb 9 2023 12:40:57 for w11 - cpp by
1.9.6