diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2016-02-26 14:36:26 -0800 |
---|---|---|
committer | Ashish Chaudhari <ashish@ettus.com> | 2016-02-26 14:36:26 -0800 |
commit | 261ae74f8ecbd255417b8fcd9f2caddff7ae5977 (patch) | |
tree | 6e3095bae2e85c087de0d6563d39437dfa2968ff /host/include | |
parent | 586944ec2bc991d1b96c8698e5da8b39b3d36f9a (diff) | |
download | uhd-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.hpp | 14 |
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 |