aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorLane Kolbly <lane.kolbly@ni.com>2020-06-22 18:19:22 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2020-06-25 13:36:08 -0500
commitd25782cf487bbed397a35c330ca0613251fd1b5d (patch)
treeb9f2571e0e952fedabf27bc64f699c88b25aac5a /host/include
parentd6cb55ef08f51c9ebef57e5bbcb95b03a65972a9 (diff)
downloaduhd-d25782cf487bbed397a35c330ca0613251fd1b5d.tar.gz
uhd-d25782cf487bbed397a35c330ca0613251fd1b5d.tar.bz2
uhd-d25782cf487bbed397a35c330ca0613251fd1b5d.zip
uhd: Implement discoverable_features for radio_control
radio_control doesn't implement any discoverable_features in particular, but this gives it the API to do so.
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/rfnoc/radio_control.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/include/uhd/rfnoc/radio_control.hpp b/host/include/uhd/rfnoc/radio_control.hpp
index 349cca536..67ddbd47d 100644
--- a/host/include/uhd/rfnoc/radio_control.hpp
+++ b/host/include/uhd/rfnoc/radio_control.hpp
@@ -7,6 +7,7 @@
#pragma once
#include <uhd/config.hpp>
+#include <uhd/features/discoverable_feature_getter_iface.hpp>
#include <uhd/rfnoc/noc_block_base.hpp>
#include <uhd/types/device_addr.hpp>
#include <uhd/types/direction.hpp>
@@ -19,7 +20,8 @@ namespace uhd { namespace rfnoc {
/*! Parent class for radio block controllers
*/
-class radio_control : public noc_block_base
+class radio_control : public noc_block_base,
+ public virtual ::uhd::features::discoverable_feature_getter_iface
{
public:
static const std::string ALL_LOS;