#include <RadioModels.hxx>
|
| static void | init () |
| | this initializes the model map.
|
Definition at line 49 of file RadioModels.hxx.
◆ RadioModels()
| SoDa::RadioModels::RadioModels |
( |
| ) |
|
|
private |
◆ getModels()
| std::vector< std::string > SoDa::RadioModels::getModels |
( |
| ) |
|
|
static |
◆ init()
| void SoDa::RadioModels::init |
( |
| ) |
|
|
staticprivate |
this initializes the model map.
When a new model is written, add the model name and a pointer to the model's static RadioPtr make method to the model map.
◆ make()
| RadioPtr SoDa::RadioModels::make |
( |
const std::string & | hardware_name, |
|
|
ParamsPtr | params ) |
|
static |
create a Radio unit.
- Parameters
-
| hardware_name | the name of the radio type (e.g. USRP, Pluto, RTLSDR) |
| params | initialization parameters |
- Returns
- a pointer to a Radio model, or nullptr if there is no model registered with
hardware_name.
◆ init_complete
| bool SoDa::RadioModels::init_complete |
|
staticprivate |
◆ model_map
| std::map<std::string, std::function<RadioPtr(ParamsPtr params)> > SoDa::RadioModels::model_map |
|
staticprivate |
The documentation for this class was generated from the following file: