Agora
1.2.0
Agora project
|
Go to the documentation of this file.
5 #ifndef RADIO_DATA_PLANE_SOAPY_H_
6 #define RADIO_DATA_PLANE_SOAPY_H_
21 long long act_time_ns = 0,
size_t samples = 0)
final;
25 int Rx(std::vector<std::vector<std::complex<int16_t>>>&
rx_data,
27 long long& rx_time_ns)
final;
29 int Rx(std::vector<std::vector<std::complex<int16_t>>*>& rx_buffs,
31 long long& rx_time_ns)
final;
33 int Rx(std::vector<void*>& rx_locations,
size_t rx_size,
40 #endif // RADIO_DATA_PLANE_SOAPY_H_
const Config * Configuration() const
Definition: radio_data_plane.h:50
Radio * radio_
Definition: radio_data_plane.h:54
size_t Id() const
Definition: radio.h:27
virtual void Activate(Radio::ActivationTypes type=Radio::ActivationTypes::kActivate, long long act_time_ns=0, size_t samples=0)=0
Definition: radio_data_plane.cc:57
ActivationTypes
Definition: radio.h:23
virtual void Deactivate()=0
Definition: radio_data_plane.cc:91
SoapySDR::Stream * remote_stream_
Definition: radio_data_plane.h:55
#define AGORA_LOG_TRACE(...)
Definition: logger.h:92
const std::string & SerialNumber() const
Definition: radio.h:28
void Setup() final
Definition: radio_data_plane_soapy.cc:33
static constexpr bool kDebugPrintRx
Definition: radio_data_plane_soapy.cc:12
Defination file for the RadioSoapySdr class.
void Flush() final
Definition: radio_data_plane_soapy.cc:195
static constexpr size_t kMaxChannels
Definition: symbols.h:292
RxFlags
Definition: radio.h:19
void Close() final
Definition: radio_data_plane_soapy.cc:31
Definition: radio_data_plane.h:16
#define AGORA_LOG_INFO(...)
Definition: logger.h:62
void Init(Radio *radio, const Config *cfg, bool hw_framer) final
Definition: radio_data_plane_soapy.cc:16
void Activate(Radio::ActivationTypes type=Radio::ActivationTypes::kActivate, long long act_time_ns=0, size_t samples=0) final
Definition: radio_data_plane_soapy.cc:21
int Rx(std::vector< std::vector< std::complex< int16_t >>> &rx_data, size_t rx_size, Radio::RxFlags &out_flags, long long &rx_time_ns) final
Definition: radio_data_plane_soapy.cc:40
virtual void Close()=0
Definition: radio_data_plane.cc:113
~RadioDataPlaneSoapy() final=default
#define AGORA_LOG_WARN(...)
Definition: logger.h:53
static constexpr bool kDebugRadioRX
Definition: symbols.h:209
virtual void Init(Radio *radio, const Config *cfg, bool hw_framer)=0
Definition: radio_data_plane.cc:36
Declaration file for the RadioDataPlaneSoapy Class.
case QPSK rx_data
Definition: generate_data.m:160
virtual void Setup()=0
Definition: radio_data_plane.cc:153
void Deactivate() final
Definition: radio_data_plane_soapy.cc:27
Definition: radio_data_plane_soapy.h:10
Definition: radio_soapysdr.h:16
Declaration file for the RadioDataPlane Class.
type
Definition: core.h:1131
const bool & HwFramer() const
Definition: radio_data_plane.h:52