RENEWLab  1.1.0
RENEW project
Radio Class Reference

#include <Radio.h>

Public Member Functions

 Radio (const SoapySDR::Kwargs &args, const char soapyFmt[], const std::vector< size_t > &channels)
 
 ~Radio (void)
 
int recv (void *const *buffs, int samples, long long &frameTime)
 
int activateRecv (const long long rxTime=0, const size_t numSamps=0, int flags=0)
 
void deactivateRecv (void)
 
int xmit (const void *const *buffs, int samples, int flags, long long &frameTime)
 
void activateXmit (void)
 
void deactivateXmit (void)
 
int getTriggers (void) const
 
void drain_buffers (std::vector< void * > buffs, int symSamp)
 

Private Member Functions

void reset_DATA_clk_domain (void)
 
void dev_init (Config *_cfg, int ch, double rxgain, double txgain)
 

Private Attributes

SoapySDR::Device * dev
 
SoapySDR::Stream * rxs
 
SoapySDR::Stream * txs
 

Friends

class ClientRadioSet
 
class BaseRadioSet
 

Constructor & Destructor Documentation

◆ Radio()

Radio::Radio ( const SoapySDR::Kwargs &  args,
const char  soapyFmt[],
const std::vector< size_t > &  channels 
)
Here is the call graph for this function:

◆ ~Radio()

Radio::~Radio ( void  )
Here is the call graph for this function:

Member Function Documentation

◆ activateRecv()

int Radio::activateRecv ( const long long  rxTime = 0,
const size_t  numSamps = 0,
int  flags = 0 
)

◆ activateXmit()

void Radio::activateXmit ( void  )

◆ deactivateRecv()

void Radio::deactivateRecv ( void  )
Here is the caller graph for this function:

◆ deactivateXmit()

void Radio::deactivateXmit ( void  )
Here is the caller graph for this function:

◆ dev_init()

void Radio::dev_init ( Config _cfg,
int  ch,
double  rxgain,
double  txgain 
)
private
Here is the call graph for this function:

◆ drain_buffers()

void Radio::drain_buffers ( std::vector< void * >  buffs,
int  symSamp 
)
Here is the caller graph for this function:

◆ getTriggers()

int Radio::getTriggers ( void  ) const

◆ recv()

int Radio::recv ( void *const *  buffs,
int  samples,
long long &  frameTime 
)
Here is the call graph for this function:

◆ reset_DATA_clk_domain()

void Radio::reset_DATA_clk_domain ( void  )
private
Here is the caller graph for this function:

◆ xmit()

int Radio::xmit ( const void *const *  buffs,
int  samples,
int  flags,
long long &  frameTime 
)
Here is the call graph for this function:

Friends And Related Function Documentation

◆ BaseRadioSet

friend class BaseRadioSet
friend

◆ ClientRadioSet

friend class ClientRadioSet
friend

Member Data Documentation

◆ dev

SoapySDR::Device* Radio::dev
private

◆ rxs

SoapySDR::Stream* Radio::rxs
private

◆ txs

SoapySDR::Stream* Radio::txs
private

The documentation for this class was generated from the following files: