USRP Hardware Driver and USRP Manual Version: 4.1.0.1
UHD and USRP Manual
discoverable_feature.hpp
Go to the documentation of this file.
1//
2// Copyright 2020 Ettus Research, a National Instruments Brand
3//
4// SPDX-License-Identifier: GPL-3.0-or-later
5//
6
7#pragma once
8
9#include <stddef.h>
10#include <memory>
11#include <string>
12
13namespace uhd { namespace features {
14
25{
26public:
27 using sptr = std::shared_ptr<discoverable_feature>;
28
30 // feature, you should add an entry to this enum.
37 };
38
39 virtual ~discoverable_feature() = default;
40
42 virtual std::string get_feature_name() const = 0;
43};
44
45}} // namespace uhd::features
Definition: discoverable_feature.hpp:25
feature_id_t
An enum of all features supported by the driver. When creating a new.
Definition: discoverable_feature.hpp:31
@ REF_CLK_CALIBRATION
Definition: discoverable_feature.hpp:36
@ RESERVED0
Definition: discoverable_feature.hpp:32
@ ADC_SELF_CALIBRATION
Definition: discoverable_feature.hpp:35
@ FPGA_LOAD_NOTIFICATION
Definition: discoverable_feature.hpp:34
@ RESERVED1
Definition: discoverable_feature.hpp:33
std::shared_ptr< discoverable_feature > sptr
Definition: discoverable_feature.hpp:27
virtual ~discoverable_feature()=default
virtual std::string get_feature_name() const =0
Returns a human-readable string name of this feature.
Definition: build_info.hpp:12