Revision 35bcf1c6 host/include/uhd/simple_device.hpp
| b/host/include/uhd/simple_device.hpp | ||
|---|---|---|
| 15 | 15 |
// along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | 16 |
// |
| 17 | 17 |
|
| 18 |
#ifndef INCLUDED_UHD_SIMPLE_DEVICE_HPP |
|
| 19 |
#define INCLUDED_UHD_SIMPLE_DEVICE_HPP |
|
| 20 |
|
|
| 21 |
#include <uhd/config.hpp> |
|
| 22 |
#include <uhd/device.hpp> |
|
| 18 | 23 |
#include <boost/shared_ptr.hpp> |
| 19 | 24 |
#include <boost/utility.hpp> |
| 20 |
#include <uhd/device.hpp> |
|
| 21 | 25 |
#include <vector> |
| 22 | 26 |
|
| 23 |
#ifndef INCLUDED_UHD_SIMPLE_DEVICE_HPP |
|
| 24 |
#define INCLUDED_UHD_SIMPLE_DEVICE_HPP |
|
| 25 |
|
|
| 26 | 27 |
namespace uhd{
|
| 27 | 28 |
|
| 28 | 29 |
/*! |
| ... | ... | |
| 33 | 34 |
* the target and actual digital converter frequency. |
| 34 | 35 |
* It also tell us weather or not the spectrum is inverted. |
| 35 | 36 |
*/ |
| 36 |
struct tune_result_t{
|
|
| 37 |
struct UHD_API tune_result_t{
|
|
| 37 | 38 |
double target_inter_freq; |
| 38 | 39 |
double actual_inter_freq; |
| 39 | 40 |
double target_dxc_freq; |
| ... | ... | |
| 48 | 49 |
* The wrapper provides convenience functions to tune the devices |
| 49 | 50 |
* as well as to set the dboard gains, antennas, and other properties. |
| 50 | 51 |
*/ |
| 51 |
class simple_device : boost::noncopyable{
|
|
| 52 |
class UHD_API simple_device : boost::noncopyable{
|
|
| 52 | 53 |
public: |
| 53 | 54 |
typedef boost::shared_ptr<simple_device> sptr; |
| 54 | 55 |
static sptr make(const std::string &args); |
Also available in: Unified diff