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

<+description of block+> More...

#include <multi_source.h>

Inheritance diagram for gr::hnchiio::multi_source:
gr::hnchiio::multi_source_impl

Public Types

typedef std::shared_ptr< multi_sourcesptr

Public Member Functions

virtual void set_buffer_size (unsigned int buffer_size)=0
virtual void set_timeout_ms (unsigned long timeout)=0

Static Public Member Functions

static sptr make (const std::string &uri, const std::string &device, const std::vector< std::string > &channels, const std::string &device_phy1, const std::vector< std::string > &params1, const std::string &device_phy2, const std::vector< std::string > &params2, unsigned int buffer_size=DEFAULT_BUFFER_SIZE, unsigned int decimation=0)
 Return a shared_ptr to a new instance of hnchiio::device.
static sptr make_from (struct iio_context *ctx, const std::string &device, const std::vector< std::string > &channels, const std::string &device_phy1, const std::vector< std::string > &params1, const std::string &device_phy2, const std::vector< std::string > &params2, unsigned int buffer_size=DEFAULT_BUFFER_SIZE, unsigned int decimation=0)

Detailed Description

<+description of block+>

Member Typedef Documentation

◆ sptr

Member Function Documentation

◆ make()

sptr gr::hnchiio::multi_source::make ( const std::string & uri,
const std::string & device,
const std::vector< std::string > & channels,
const std::string & device_phy1,
const std::vector< std::string > & params1,
const std::string & device_phy2,
const std::vector< std::string > & params2,
unsigned int buffer_size = DEFAULT_BUFFER_SIZE,
unsigned int decimation = 0 )
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.

References DEFAULT_BUFFER_SIZE.

◆ make_from()

sptr gr::hnchiio::multi_source::make_from ( struct iio_context * ctx,
const std::string & device,
const std::vector< std::string > & channels,
const std::string & device_phy1,
const std::vector< std::string > & params1,
const std::string & device_phy2,
const std::vector< std::string > & params2,
unsigned int buffer_size = DEFAULT_BUFFER_SIZE,
unsigned int decimation = 0 )
static

References DEFAULT_BUFFER_SIZE.

◆ set_buffer_size()

virtual void gr::hnchiio::multi_source::set_buffer_size ( unsigned int buffer_size)
pure virtual

◆ set_timeout_ms()

virtual void gr::hnchiio::multi_source::set_timeout_ms ( unsigned long timeout)
pure virtual

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