aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2016-02-26 14:36:26 -0800
committerAshish Chaudhari <ashish@ettus.com>2016-02-26 14:36:26 -0800
commit261ae74f8ecbd255417b8fcd9f2caddff7ae5977 (patch)
tree6e3095bae2e85c087de0d6563d39437dfa2968ff /host/include
parent586944ec2bc991d1b96c8698e5da8b39b3d36f9a (diff)
downloaduhd-261ae74f8ecbd255417b8fcd9f2caddff7ae5977.tar.gz
uhd-261ae74f8ecbd255417b8fcd9f2caddff7ae5977.tar.bz2
uhd-261ae74f8ecbd255417b8fcd9f2caddff7ae5977.zip
dboards: Added APIs to get RX and TX frontend names
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/usrp/dboard_manager.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/host/include/uhd/usrp/dboard_manager.hpp b/host/include/uhd/usrp/dboard_manager.hpp
index 4a5074e50..4ce943972 100644
--- a/host/include/uhd/usrp/dboard_manager.hpp
+++ b/host/include/uhd/usrp/dboard_manager.hpp
@@ -133,6 +133,20 @@ public:
dboard_iface::sptr iface,
property_tree::sptr subtree
);
+
+ virtual ~dboard_manager() {}
+
+ /*!
+ * Returns a vector of RX frontend (subdev) names
+ * \return a vector of names
+ */
+ virtual const std::vector<std::string>& get_rx_frontends() const = 0;
+
+ /*!
+ * Returns a vector of TX frontend (subdev) names
+ * \return a vector of names
+ */
+ virtual const std::vector<std::string>& get_tx_frontends() const = 0;
};
}} //namespace