44 #include <uhd/utils/thread_priority.hpp>    45 #include <uhd/utils/safe_main.hpp>    46 #include <uhd/usrp/multi_usrp.hpp>    47 #include <uhd/usrp/dboard_base.hpp>    48 #include <uhd/types/tune_request.hpp>    49 #include <uhd/types/tune_result.hpp>    50 #include <uhd/utils/msg.hpp>    71           std::string 
unit_name = std::string(
"USRPTuner")); 
    82               double min_separation,
    83               bool force_fracN = 
false,
    84               bool force_simple = 
false);
    95     virtual bool setRXFreq(
double rx_freq, 
double avoid_freq, uhd::tune_result_t & tune_result) = 0;
   105     virtual bool setTXFreq(
double tx_freq, 
double avoid_freq, uhd::tune_result_t & tune_result) = 0;
   114     virtual bool checkLock(uhd::tune_request_t & req,
   116                uhd::tune_result_t & cur);
   119     uhd::usrp::multi_usrp::sptr 
usrp;
   136       USRPTuner(usrp, min_separation, 
std::string(
"IntNTuner")) 
   150     bool setRXFreq(
double rx_freq, 
double avoid_freq, uhd::tune_result_t & tune_result);
   161     virtual bool setTXFreq(
double tx_freq, 
double avoid_freq, uhd::tune_result_t & tune_result);
   193     bool setRXFreq(
double rx_freq, 
double avoid_freq, uhd::tune_result_t & tune_result)
   195       uhd::tune_request_t rx_req(rx_freq); 
   196       tune_result = 
usrp->set_rx_freq(rx_req); 
   210     bool setTXFreq(
double tx_freq, 
double avoid_freq, uhd::tune_result_t & tune_result)
   212       uhd::tune_request_t tx_req(tx_freq); 
   213       tune_result = 
usrp->set_tx_freq(tx_req); 
 The Baseclass for all SoDa objects, and useful commonly used classes. 
virtual bool setRXFreq(double rx_freq, double avoid_freq, uhd::tune_result_t &tune_result)=0
setRXFreq set the RX 1st LO frequency. 
virtual bool setTXFreq(double tx_freq, double avoid_freq, uhd::tune_result_t &tune_result)=0
setTXFreq set the TX 1st LO frequency. 
std::string unit_name
the name of the unit reporting status 
virtual bool checkLock(uhd::tune_request_t &req, char sel, uhd::tune_result_t &cur)
is the identified (rx or tx) front-end LO locked? If not, set the tuning frequency to "the right thin...
This is a simple front end tuner. 
A simple base class to provide debug messaging from any derived class. 
USRPTuner * makeTuner(uhd::usrp::multi_usrp::sptr usrp, double min_separation, bool force_fracN=false, bool force_simple=false)
Factory to build a particular subclass of USRPTuner based on the detected front-end module...
uhd::usrp::multi_usrp::sptr usrp
SimpleTuner(uhd::usrp::multi_usrp::sptr usrp)
Constructor –. 
bool setRXFreq(double rx_freq, double avoid_freq, uhd::tune_result_t &tune_result)
setRXFreq set the RX 1st LO frequency. 
IntNTuner(uhd::usrp::multi_usrp::sptr usrp, double min_separation)
Constructor –. 
USRPTuner(uhd::usrp::multi_usrp::sptr usrp, double min_separation, std::string unit_name=std::string("USRPTuner"))
Constructor –. 
Generic class for TX and RX tuning. 
bool setTXFreq(double tx_freq, double avoid_freq, uhd::tune_result_t &tune_result)
setTXFreq set the TX 1st LO frequency. 
This is a tuner for the UBX, WBX, or SBX module that takes advantage of the int_n_step argument in th...