aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/discoverable_feature_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* uhd: Create discoverable feature registry implementationLane Kolbly2020-06-251-34/+17
| | | | | | Classes which want to implement discoverable_feature can simply inherit from this registry and get access to an ergonomic map-backed registry of features.
* uhd: Add discoverable_features APILane Kolbly2020-06-251-0/+111
The "discoverable features" API handles how clients access the myriad features we offer, without simply adding a million has_FOO and do_FOO methods to radio_control and multi_usrp. discoverable_features allows clients to query the existance of, enumerate, and ultimately they get (by enum or by type) an object which implements their wanted feature.