#include <radio.h>
|
virtual | ~Radio () |
|
size_t | Id () const |
|
const std::string & | SerialNumber () const |
|
bool | HwFramer () const |
|
virtual void | Init (const Config *cfg, size_t id, const std::string &serial, const std::vector< size_t > &enabled_channels, bool hw_framer)=0 |
|
virtual void | Setup (const std::vector< double > &tx_gains, const std::vector< double > &rx_gains)=0 |
|
virtual void | Activate (Radio::ActivationTypes type=Radio::ActivationTypes::kActivate, long long act_time_ns=0, size_t samples=0)=0 |
|
virtual void | Deactivate ()=0 |
|
virtual void | Close ()=0 |
|
virtual void | Flush ()=0 |
|
virtual int | Tx (const void *const *tx_buffs, size_t tx_size, TxFlags tx_flags, long long &tx_time_ns)=0 |
|
virtual int | Rx (std::vector< std::vector< std::complex< int16_t >>> &rx_data, size_t rx_size, RxFlags &out_flags, long long &rx_time_ns)=0 |
|
virtual int | Rx (std::vector< std::vector< std::complex< int16_t >> * > &rx_buffs, size_t rx_size, RxFlags &out_flags, long long &rx_time_ns)=0 |
|
virtual int | Rx (std::vector< void * > &rx_locs, size_t rx_size, RxFlags &out_flags, long long &rx_time_ns)=0 |
|
virtual void | ConfigureTddModeBs ([[maybe_unused]] bool is_ref_radio) |
|
virtual void | ConfigureTddModeUe () |
|
virtual void | ClearSyncDelay () |
|
virtual void | PrintSettings () const |
|
virtual void | Trigger () |
|
virtual void | ReadSensor () const |
|
virtual void | SetTimeAtTrigger (long long time_ns=0) |
|
virtual long long | GetTimeNs () |
|
virtual void | AdjustDelay ([[maybe_unused]] const std::string &delay) |
|
const std::vector< size_t > & | EnabledChannels () const |
|
◆ ActivationTypes
Enumerator |
---|
kActivate | |
kActivateWaitTrigger | |
◆ RadioType
Enumerator |
---|
kSoapySdrStream | |
kSoapySdrSocket | |
◆ RxFlags
Enumerator |
---|
kRxFlagNone | |
kEndReceive | |
◆ TxFlags
Enumerator |
---|
kTxFlagNone | |
kEndTransmit | |
kTxWaitTrigger | |
◆ ~Radio()
◆ Radio()
◆ Activate()
void Radio::Activate |
( |
Radio::ActivationTypes |
type = Radio::ActivationTypes::kActivate , |
|
|
long long |
act_time_ns = 0 , |
|
|
size_t |
samples = 0 |
|
) |
| |
|
pure virtual |
◆ AdjustDelay()
virtual void Radio::AdjustDelay |
( |
[[maybe_unused] ] const std::string & |
delay | ) |
|
|
inlinevirtual |
◆ ClearSyncDelay()
virtual void Radio::ClearSyncDelay |
( |
| ) |
|
|
inlinevirtual |
◆ Close()
◆ ConfigureTddModeBs()
virtual void Radio::ConfigureTddModeBs |
( |
[[maybe_unused] ] bool |
is_ref_radio | ) |
|
|
inlinevirtual |
◆ ConfigureTddModeUe()
virtual void Radio::ConfigureTddModeUe |
( |
| ) |
|
|
inlinevirtual |
◆ Create()
◆ Deactivate()
void Radio::Deactivate |
( |
| ) |
|
|
pure virtual |
◆ EnabledChannels()
const std::vector<size_t>& Radio::EnabledChannels |
( |
| ) |
const |
|
inline |
◆ Flush()
virtual void Radio::Flush |
( |
| ) |
|
|
pure virtual |
◆ GetTimeNs()
virtual long long Radio::GetTimeNs |
( |
| ) |
|
|
inlinevirtual |
◆ HwFramer()
bool Radio::HwFramer |
( |
| ) |
const |
|
inline |
◆ Id()
size_t Radio::Id |
( |
| ) |
const |
|
inline |
◆ Init()
void Radio::Init |
( |
const Config * |
cfg, |
|
|
size_t |
id, |
|
|
const std::string & |
serial, |
|
|
const std::vector< size_t > & |
enabled_channels, |
|
|
bool |
hw_framer |
|
) |
| |
|
pure virtual |
◆ PrintSettings()
virtual void Radio::PrintSettings |
( |
| ) |
const |
|
inlinevirtual |
◆ ReadSensor()
virtual void Radio::ReadSensor |
( |
| ) |
const |
|
inlinevirtual |
◆ Rx() [1/3]
virtual int Radio::Rx |
( |
std::vector< std::vector< std::complex< int16_t >> * > & |
rx_buffs, |
|
|
size_t |
rx_size, |
|
|
RxFlags & |
out_flags, |
|
|
long long & |
rx_time_ns |
|
) |
| |
|
pure virtual |
◆ Rx() [2/3]
virtual int Radio::Rx |
( |
std::vector< std::vector< std::complex< int16_t >>> & |
rx_data, |
|
|
size_t |
rx_size, |
|
|
RxFlags & |
out_flags, |
|
|
long long & |
rx_time_ns |
|
) |
| |
|
pure virtual |
◆ Rx() [3/3]
virtual int Radio::Rx |
( |
std::vector< void * > & |
rx_locs, |
|
|
size_t |
rx_size, |
|
|
RxFlags & |
out_flags, |
|
|
long long & |
rx_time_ns |
|
) |
| |
|
pure virtual |
◆ SerialNumber()
const std::string& Radio::SerialNumber |
( |
| ) |
const |
|
inline |
◆ SetTimeAtTrigger()
virtual void Radio::SetTimeAtTrigger |
( |
long long |
time_ns = 0 | ) |
|
|
inlinevirtual |
◆ Setup()
void Radio::Setup |
( |
const std::vector< double > & |
tx_gains, |
|
|
const std::vector< double > & |
rx_gains |
|
) |
| |
|
pure virtual |
◆ Trigger()
virtual void Radio::Trigger |
( |
| ) |
|
|
inlinevirtual |
◆ Tx()
virtual int Radio::Tx |
( |
const void *const * |
tx_buffs, |
|
|
size_t |
tx_size, |
|
|
TxFlags |
tx_flags, |
|
|
long long & |
tx_time_ns |
|
) |
| |
|
pure virtual |
◆ cfg_
const Config* Radio::cfg_ {nullptr} |
|
protected |
◆ enabled_channels_
std::vector<size_t> Radio::enabled_channels_ |
|
private |
◆ hw_framer_
bool Radio::hw_framer_ {false} |
|
private |
◆ id_
◆ serial_number_
std::string Radio::serial_number_ |
|
private |
The documentation for this class was generated from the following files: