GNU Radio's HNCHIIO Package
gr::hnchiio::hnchboard2_source Class Referenceabstract

<+description of block+> More...

#include <hnchboard2_source.h>

Inheritance diagram for gr::hnchiio::hnchboard2_source:
gr::hnchiio::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 hnchiio::device.
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()

sptr gr::hnchiio::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 hnchiio::device.

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

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

◆ make_from()

sptr gr::hnchiio::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::hnchiio::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: