Loading [MathJax]/extensions/tex2jax.js
 |
USRP Hardware Driver and USRP Manual
Version: 4.8.0.0
UHD and USRP Manual
|
|
Go to the documentation of this file.
13 namespace uhd {
namespace utils {
26 using uptr = std::unique_ptr<scope_exit>;
43 scope_exit(std::function<
void(
void)>&& exit_cb)
44 : _exit_cb(std::forward<std::function<void(void)>>(exit_cb))
49 std::function<void(
void)> _exit_cb;
std::unique_ptr< scope_exit > uptr
Definition: scope_exit.hpp:26
Definition: build_info.hpp:12
std::function< void(void)> exit_cb_t
Definition: scope_exit.hpp:27
static uptr make(exit_cb_t &&exit_cb)
Definition: scope_exit.hpp:31
Definition: scope_exit.hpp:23
~scope_exit()
Definition: scope_exit.hpp:37