#include <attr_source_impl.h>
|
| | attr_source_impl (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) |
| |
| | ~attr_source_impl () |
| |
| int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
| |
| size_t | type_sizeof (int data_type, int attr_type) |
| |
| void | get_attribute_data (const std::string &attribute, double *value) |
| |
| void | get_attribute_data (const std::string &attribute, float *value) |
| |
| void | get_attribute_data (const std::string &attribute, long long *value) |
| |
| void | get_attribute_data (const std::string &attribute, int *value) |
| |
| void | get_attribute_data (const std::string &attribute, uint8_t *value) |
| |
| void | get_register_data (uint32_t address, int *value) |
| |
| void | check (int ret) |
| |
|
| struct iio_context * | ctx |
| |
| struct iio_device * | dev |
| |
| struct iio_channel * | chan |
| |
|
| typedef std::shared_ptr< attr_source > | sptr |
| |
| 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. More...
|
| |
◆ attr_source_impl()
| gr::iio::attr_source_impl::attr_source_impl |
( |
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 |
|
) |
| |
◆ ~attr_source_impl()
| gr::iio::attr_source_impl::~attr_source_impl |
( |
| ) |
|
◆ check()
| void gr::iio::attr_source_impl::check |
( |
int |
ret | ) |
|
◆ get_attribute_data() [1/5]
| void gr::iio::attr_source_impl::get_attribute_data |
( |
const std::string & |
attribute, |
|
|
double * |
value |
|
) |
| |
◆ get_attribute_data() [2/5]
| void gr::iio::attr_source_impl::get_attribute_data |
( |
const std::string & |
attribute, |
|
|
float * |
value |
|
) |
| |
◆ get_attribute_data() [3/5]
| void gr::iio::attr_source_impl::get_attribute_data |
( |
const std::string & |
attribute, |
|
|
long long * |
value |
|
) |
| |
◆ get_attribute_data() [4/5]
| void gr::iio::attr_source_impl::get_attribute_data |
( |
const std::string & |
attribute, |
|
|
int * |
value |
|
) |
| |
◆ get_attribute_data() [5/5]
| void gr::iio::attr_source_impl::get_attribute_data |
( |
const std::string & |
attribute, |
|
|
uint8_t * |
value |
|
) |
| |
◆ get_register_data()
| void gr::iio::attr_source_impl::get_register_data |
( |
uint32_t |
address, |
|
|
int * |
value |
|
) |
| |
◆ type_sizeof()
| size_t gr::iio::attr_source_impl::type_sizeof |
( |
int |
data_type, |
|
|
int |
attr_type |
|
) |
| |
◆ work()
| int gr::iio::attr_source_impl::work |
( |
int |
noutput_items, |
|
|
gr_vector_const_void_star & |
input_items, |
|
|
gr_vector_void_star & |
output_items |
|
) |
| |
◆ chan
| struct iio_channel* gr::iio::attr_source_impl::chan |
|
protected |
◆ ctx
| struct iio_context* gr::iio::attr_source_impl::ctx |
|
protected |
◆ dev
| struct iio_device* gr::iio::attr_source_impl::dev |
|
protected |
The documentation for this class was generated from the following file: