diff options
author | Josh Blum <josh@joshknows.com> | 2010-08-04 12:28:58 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-08-04 12:28:58 -0700 |
commit | fc66ef454c1b79cceb2b161c669bcf6fdfe87ee7 (patch) | |
tree | 8fc4168da2288c52bbf22da109855ec81bf00d76 /host/include | |
parent | 6b98159fb5f7af754a4e3f7e1d594cbc1a3b519f (diff) | |
download | uhd-fc66ef454c1b79cceb2b161c669bcf6fdfe87ee7.tar.gz uhd-fc66ef454c1b79cceb2b161c669bcf6fdfe87ee7.tar.bz2 uhd-fc66ef454c1b79cceb2b161c669bcf6fdfe87ee7.zip |
usrp2: added mboard name call to dboard iface
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/usrp/dboard_iface.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/host/include/uhd/usrp/dboard_iface.hpp b/host/include/uhd/usrp/dboard_iface.hpp index caf1e6ee6..fc7ea3052 100644 --- a/host/include/uhd/usrp/dboard_iface.hpp +++ b/host/include/uhd/usrp/dboard_iface.hpp @@ -22,6 +22,7 @@ #include <uhd/types/serial.hpp> #include <boost/shared_ptr.hpp> #include <boost/cstdint.hpp> +#include <string> #include <vector> namespace uhd{ namespace usrp{ @@ -65,6 +66,12 @@ public: }; /*! + * Get the motherboard name of the form: usrp1, usrp2... + * \return string representing the motherboard name + */ + virtual std::string get_mboard_name(void) = 0; + + /*! * Write to an aux dac. * * \param unit which unit rx or tx |