#include <uhd/rfnoc/rf_control/antenna_iface.hpp>
Public Types | |
using | sptr = std::shared_ptr< antenna_iface > |
Public Member Functions | |
virtual | ~antenna_iface ()=default |
virtual std::vector< std::string > | get_antennas (const size_t chan) const =0 |
virtual void | set_antenna (const std::string &ant, const size_t chan)=0 |
virtual std::string | get_antenna (const size_t chan) const =0 |
Interface for setting and getting the current antenna.
using uhd::rfnoc::rf_control::antenna_iface::sptr = std::shared_ptr<antenna_iface> |
|
virtualdefault |
|
pure virtual |
Return the selected antenna for channel chan
.
Implemented in uhd::rfnoc::rf_control::enumerated_antenna.
|
pure virtual |
Return a list of valid antenna for channel chan
.
Implemented in uhd::rfnoc::rf_control::enumerated_antenna.
|
pure virtual |
Select antenna for
channel chan
.
uhd::value_error | if ant is not a valid value. |
Implemented in uhd::rfnoc::rf_control::enumerated_antenna.