w11 - cpp
0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
RtclSetList.ipp
Go to the documentation of this file.
1
// $Id: RtclSetList.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
RtclSetList::Add
(
const
std::string& name,
25
std::function<
void
(TP)>&& set)
26
{
27
Add
(name,
set_uptr_t
(
new
RtclSet<TP>
(move(set))));
28
return
;
29
}
30
31
}
// end namespace Retro
Retro::RtclSetList::Add
void Add(const std::string &name, set_uptr_t &&upset)
FIXME_docs.
Definition:
RtclSetList.cpp:52
Retro::RtclSetList::set_uptr_t
std::unique_ptr< RtclSetBase > set_uptr_t
Definition:
RtclSetList.hpp:37
Retro::RtclSet
Implemenation (inline) of class RtclSet.
Definition:
RtclSet.hpp:31
Retro
Declaration of class ReventLoop.
Definition:
ReventLoop.cpp:47
librtcltools
RtclSetList.ipp
Generated on Thu Feb 9 2023 12:40:57 for w11 - cpp by
1.9.6