GNU Radio's IIO Package
gr::iio::hnchboard2_source Class Referenceabstract

<+description of block+> More...

#include <hnchboard2_source.h>

Inheritance diagram for gr::iio::hnchboard2_source:
gr::iio::hnchboard2_source_impl

Public Types

typedef std::shared_ptr< hnchboard2_sourcesptr
 

Public Member Functions

virtual void set_params (unsigned long samplerate, unsigned long lo_freq, double gain_value)=0
 

Static Public Member Functions

static sptr make (const std::string &uri, unsigned long samplerate, unsigned long lo_freq, double gain_value, unsigned long buffer_size)
 Return a shared_ptr to a new instance of iio::device. More...
 
static sptr make_from (struct iio_context *ctx, unsigned long samplerate, unsigned long lo_freq, double gain_value, unsigned long buffer_size)
 

Detailed Description

<+description of block+>

Member Typedef Documentation

◆ sptr

Member Function Documentation

◆ make()

static sptr gr::iio::hnchboard2_source::make ( const std::string &  uri,
unsigned long  samplerate,
unsigned long  lo_freq,
double  gain_value,
unsigned long  buffer_size 
)
static

Return a shared_ptr to a new instance of iio::device.

To avoid accidental use of raw pointers, iio::device's constructor is in a private implementation class. iio::device::make is the public interface for creating new instances.

Referenced by gr::iio::hnchboard2_source_f32c::make().

◆ make_from()

static sptr gr::iio::hnchboard2_source::make_from ( struct iio_context *  ctx,
unsigned long  samplerate,
unsigned long  lo_freq,
double  gain_value,
unsigned long  buffer_size 
)
static

◆ set_params()

virtual void gr::iio::hnchboard2_source::set_params ( unsigned long  samplerate,
unsigned long  lo_freq,
double  gain_value 
)
pure virtual

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