GNU Radio's IIO Package
gr::iio::attr_source Class Reference

<+description of block+> More...

#include <attr_source.h>

Inheritance diagram for gr::iio::attr_source:
gr::iio::attr_source_impl

Public Types

typedef std::shared_ptr< attr_sourcesptr

Static Public Member Functions

static sptr make (const std::string &uri, const std::string &device, const std::string &channel, const std::string &attribute, int update_interval_ms, int samples_per_update, int data_type, int attr_type, bool output, uint32_t address, bool required_enable)
 Return a shared_ptr to a new instance of iio::attr_source.

Detailed Description

<+description of block+>

Member Typedef Documentation

◆ sptr

typedef std::shared_ptr<attr_source> gr::iio::attr_source::sptr

Member Function Documentation

◆ make()

sptr gr::iio::attr_source::make ( const std::string & uri,
const std::string & device,
const std::string & channel,
const std::string & attribute,
int update_interval_ms,
int samples_per_update,
int data_type,
int attr_type,
bool output,
uint32_t address,
bool required_enable )
static

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

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


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