From 1b502694e1ae283446c3b0bd2d9b9279b8699889 Mon Sep 17 00:00:00 2001 From: Lane Kolbly Date: Thu, 25 Jun 2020 13:31:57 -0500 Subject: fixup! uhd: Add discoverable_features API --- host/include/uhd/features/discoverable_feature.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'host') diff --git a/host/include/uhd/features/discoverable_feature.hpp b/host/include/uhd/features/discoverable_feature.hpp index dfb0ede5b..afe25cb63 100644 --- a/host/include/uhd/features/discoverable_feature.hpp +++ b/host/include/uhd/features/discoverable_feature.hpp @@ -25,6 +25,9 @@ class discoverable_feature { public: using sptr = std::shared_ptr; + + //! An enum of all features supported by the driver. When creating a new + // feature, you should add an entry to this enum. enum feature_id_t { RESERVED0, RESERVED1, @@ -32,7 +35,7 @@ public: virtual ~discoverable_feature() = default; - //! Returns a human-readonable string name of this feature. + //! Returns a human-readable string name of this feature. virtual std::string get_feature_name() const = 0; }; -- cgit v1.2.3