#include <uhd/features/discoverable_feature.hpp>
Public Types | |
enum | feature_id_t { RESERVED0 , RESERVED1 , FPGA_LOAD_NOTIFICATION , ADC_SELF_CALIBRATION , REF_CLK_CALIBRATION , TRIG_IO_MODE } |
An enum of all features supported by the driver. When creating a new. More... | |
using | sptr = std::shared_ptr< discoverable_feature > |
Public Member Functions | |
virtual | ~discoverable_feature ()=default |
virtual std::string | get_feature_name () const =0 |
Returns a human-readable string name of this feature. More... | |
The base class for discoverable features
All discoverable features inherit from this class, which provides some basic functionality for features.
Also note that all discoverable features must implement a static method get_feature_id() which returns a feature_id_t.
using uhd::features::discoverable_feature::sptr = std::shared_ptr<discoverable_feature> |
|
virtualdefault |
|
pure virtual |
Returns a human-readable string name of this feature.
Implemented in uhd::features::adc_self_calibration_iface, uhd::features::ref_clk_calibration_iface, and uhd::features::trig_io_mode_iface.