|
USRP Hardware Driver and USRP Manual
Version: 4.4.0.HEAD-0-g5fac246b
UHD and USRP Manual
|
|
Go to the documentation of this file.
13 namespace uhd {
namespace features {
32 auto p = get_feature_ptr(T::get_feature_id());
34 auto typed_p =
dynamic_cast<T*
>(p.get());
46 return bool(get_feature_ptr(T::get_feature_id()));
53 virtual std::vector<std::string> enumerate_features() = 0;
#define UHD_ASSERT_THROW(code)
Definition: exception.hpp:321
Definition: discoverable_feature_getter_iface.hpp:17
#define UHD_API
Definition: config.h:87
T & get_feature()
Retrieves a feature of the specified type.
Definition: discoverable_feature_getter_iface.hpp:30
feature_id_t
An enum of all features supported by the driver. When creating a new.
Definition: discoverable_feature.hpp:32
Definition: build_info.hpp:12
bool has_feature()
Determines whether a given feature exists.
Definition: discoverable_feature_getter_iface.hpp:44
std::shared_ptr< discoverable_feature > sptr
Definition: discoverable_feature.hpp:28