11 #ifndef INCLUDED_IIO_ATTR_SOURCE_H
12 #define INCLUDED_IIO_ATTR_SOURCE_H
33 typedef std::shared_ptr<attr_source>
sptr;
61 const std::string& device,
62 const std::string& channel,
63 const std::string& attribute,
64 int update_interval_ms,
65 int samples_per_update,
Generic reader for attributes of IIO devices.
Definition: attr_source.h:31
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, data_type_t data_type, attr_type_t attr_type, bool output, uint32_t address)
Return a shared_ptr to a new instance of iio::attr_source.
std::shared_ptr< attr_source > sptr
Definition: attr_source.h:33
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define IIO_API
Definition: gr-iio/include/gnuradio/iio/api.h:18
data_type_t
Definition: iio_types.h:21
attr_type_t
Definition: iio_types.h:23
GNU Radio logging wrapper.
Definition: basic_block.h:29