blob: 1f5f0f2f7f6aab30c9e8568bd08313d722654829 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
//
// Copyright 2019 Ettus Research, a National Instruments Brand
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
#include <uhd/rfnoc/actions.hpp>
#include <atomic>
using namespace uhd::rfnoc;
namespace {
// A static counter, which we use to uniquely label actions
std::atomic<size_t> action_counter{0};
}
action_info::action_info(const std::string& key_) : id(action_counter++), key(key_)
{
// nop
}
|