#include <Params.hxx>
|
| | Params (int argc, char *argv[]) |
| | Constructor.
|
Definition at line 45 of file Params.hxx.
◆ Params()
| SoDa::Params::Params |
( |
int | argc, |
|
|
char * | argv[] ) |
|
protected |
Constructor.
- Parameters
-
| argc | count of command line arguments |
| argv | pointer to list of parameter strings |
Referenced by make().
◆ forceFracN()
| bool SoDa::Params::forceFracN |
( |
| ) |
|
|
inline |
◆ forceIntN()
| bool SoDa::Params::forceIntN |
( |
| ) |
|
|
inline |
◆ getAFBufferSize()
| unsigned int SoDa::Params::getAFBufferSize |
( |
| ) |
const |
|
inline |
◆ getAudioPortName()
| std::string SoDa::Params::getAudioPortName |
( |
| ) |
const |
|
inline |
◆ getAudioSampleRate()
| double SoDa::Params::getAudioSampleRate |
( |
| ) |
const |
|
inline |
◆ getClockSource()
| int SoDa::Params::getClockSource |
( |
| ) |
const |
|
inline |
◆ getDebugLevel()
| unsigned int SoDa::Params::getDebugLevel |
( |
| ) |
const |
|
inline |
◆ getHWSampleRate()
| double SoDa::Params::getHWSampleRate |
( |
| ) |
const |
|
inline |
◆ getLibs()
| const std::vector< std::string > & SoDa::Params::getLibs |
( |
| ) |
|
◆ getLockFileName()
| std::string SoDa::Params::getLockFileName |
( |
| ) |
const |
|
inline |
◆ getRadioArgs()
| std::string SoDa::Params::getRadioArgs |
( |
| ) |
const |
|
inline |
return args that point to a particular USRP unit
- Returns
- string identifying which USRP we are selecting
Definition at line 65 of file Params.hxx.
References radio_args.
◆ getRadioType()
| std::string SoDa::Params::getRadioType |
( |
| ) |
const |
|
inline |
what radio are we trying to configure
- Returns
- string identifying which radio type (USRP, Pluto, RTLSDR, ...)
Definition at line 71 of file Params.hxx.
References radio_type.
◆ getRFBufferSize()
| unsigned int SoDa::Params::getRFBufferSize |
( |
| ) |
const |
|
inline |
◆ getRXAnt()
| std::string SoDa::Params::getRXAnt |
( |
| ) |
const |
|
inline |
which port is the RX channel?
- Returns
- string RX2 or TX/RX
Definition at line 86 of file Params.hxx.
References rx_ant.
◆ getRXRate()
| double SoDa::Params::getRXRate |
( |
| ) |
const |
|
inline |
Sample rates and all that other stuff are fixed.
we do this because downsampling the RX can take a lot of time (in general) unless we focus on the simple common case. Here we're going to use a 625000 S/s IF rate from the USRP and down sample with an FFT based decimator to 48KS/s . This 625/48 ratio is easiest to achieve with an IF buffer size of 30000 samples 30,000 * 48 / 625 = 2304 – the size of the RX buffer
Definition at line 104 of file Params.hxx.
◆ getServerSocketBasename()
| std::string SoDa::Params::getServerSocketBasename |
( |
| ) |
const |
|
inline |
◆ getTXAnt()
| std::string SoDa::Params::getTXAnt |
( |
| ) |
const |
|
inline |
which port is the TX channel?
- Returns
- string TX
Definition at line 91 of file Params.hxx.
References tx_ant.
◆ getTXRate()
| double SoDa::Params::getTXRate |
( |
| ) |
const |
|
inline |
TX rate will always be 625K.
Definition at line 108 of file Params.hxx.
◆ isRadioType()
| bool SoDa::Params::isRadioType |
( |
const std::string & | rtype | ) |
|
|
inline |
◆ make()
| ParamsPtr SoDa::Params::make |
( |
int | argc, |
|
|
char * | argv[] ) |
|
inlinestatic |
◆ setHWSampleRate()
| void SoDa::Params::setHWSampleRate |
( |
double | r | ) |
|
|
inline |
◆ audio_portname
| std::string SoDa::Params::audio_portname |
|
private |
◆ clock_source_internal
| bool SoDa::Params::clock_source_internal |
|
private |
◆ cmd
| SoDa::Options SoDa::Params::cmd |
|
private |
◆ config_filename
| std::string SoDa::Params::config_filename |
|
private |
◆ debug_level
| unsigned int SoDa::Params::debug_level |
|
private |
◆ force_frac_N_mode
| bool SoDa::Params::force_frac_N_mode |
|
private |
◆ force_integer_N_mode
| bool SoDa::Params::force_integer_N_mode |
|
private |
◆ hw_sample_rate
| double SoDa::Params::hw_sample_rate |
|
private |
◆ load_list
| std::vector<std::string> SoDa::Params::load_list |
|
private |
◆ load_list_env_appended
| bool SoDa::Params::load_list_env_appended |
|
private |
◆ lock_file_name
| std::string SoDa::Params::lock_file_name |
|
private |
◆ radio_args
| std::string SoDa::Params::radio_args |
|
private |
◆ radio_type
| std::string SoDa::Params::radio_type |
|
private |
◆ rx_ant
| std::string SoDa::Params::rx_ant |
|
private |
◆ rx_rate
| double SoDa::Params::rx_rate |
|
private |
◆ server_sock_basename
| std::string SoDa::Params::server_sock_basename |
|
private |
◆ tx_ant
| std::string SoDa::Params::tx_ant |
|
private |
◆ tx_rate
| double SoDa::Params::tx_rate |
|
private |
The documentation for this class was generated from the following file: