#include <device_source_impl.h>
|
| static void | set_params (struct iio_device *phy, const std::vector< std::string > ¶ms) |
| |
| static void | remove_ctx_history (struct iio_context *ctx, bool destroy_ctx) |
| |
| static struct iio_context * | get_context (const std::string &uri) |
| |
| static bool | load_fir_filter (std::string &filter, struct iio_device *phy) |
| |
| static sptr | make (const std::string &uri, const std::string &device, const std::vector< std::string > &channels, const std::string &device_phy, const std::vector< std::string > ¶ms, unsigned int buffer_size=DEFAULT_BUFFER_SIZE, unsigned int decimation=0) |
| | Return a shared_ptr to a new instance of iio::device. More...
|
| |
| static sptr | make_from (struct iio_context *ctx, const std::string &device, const std::vector< std::string > &channels, const std::string &device_phy, const std::vector< std::string > ¶ms, unsigned int buffer_size=DEFAULT_BUFFER_SIZE, unsigned int decimation=0) |
| |
◆ device_source_impl()
| gr::iio::device_source_impl::device_source_impl |
( |
struct iio_context * |
ctx, |
|
|
bool |
destroy_ctx, |
|
|
const std::string & |
device, |
|
|
const std::vector< std::string > & |
channels, |
|
|
const std::string & |
device_phy, |
|
|
const std::vector< std::string > & |
params, |
|
|
unsigned int |
buffer_size = DEFAULT_BUFFER_SIZE, |
|
|
unsigned int |
decimation = 0 |
|
) |
| |
◆ ~device_source_impl()
| gr::iio::device_source_impl::~device_source_impl |
( |
| ) |
|
◆ get_context()
| static struct iio_context* gr::iio::device_source_impl::get_context |
( |
const std::string & |
uri | ) |
|
|
static |
◆ load_fir_filter()
| static bool gr::iio::device_source_impl::load_fir_filter |
( |
std::string & |
filter, |
|
|
struct iio_device * |
phy |
|
) |
| |
|
static |
◆ remove_ctx_history()
| static void gr::iio::device_source_impl::remove_ctx_history |
( |
struct iio_context * |
ctx, |
|
|
bool |
destroy_ctx |
|
) |
| |
|
static |
◆ set_buffer_size()
| void gr::iio::device_source_impl::set_buffer_size |
( |
unsigned int |
buffer_size | ) |
|
|
virtual |
◆ set_params() [1/2]
| static void gr::iio::device_source_impl::set_params |
( |
struct iio_device * |
phy, |
|
|
const std::vector< std::string > & |
params |
|
) |
| |
|
static |
◆ set_params() [2/2]
| void gr::iio::device_source_impl::set_params |
( |
const std::vector< std::string > & |
params | ) |
|
◆ set_timeout_ms()
| void gr::iio::device_source_impl::set_timeout_ms |
( |
unsigned long |
timeout | ) |
|
|
virtual |
◆ start()
| bool gr::iio::device_source_impl::start |
( |
| ) |
|
◆ stop()
| bool gr::iio::device_source_impl::stop |
( |
| ) |
|
◆ work()
| int gr::iio::device_source_impl::work |
( |
int |
noutput_items, |
|
|
gr_vector_const_void_star & |
input_items, |
|
|
gr_vector_void_star & |
output_items |
|
) |
| |
◆ buf
| struct iio_buffer* gr::iio::device_source_impl::buf |
|
protected |
◆ buffer_size
| unsigned int gr::iio::device_source_impl::buffer_size |
|
protected |
◆ channel_list
| std::vector<struct iio_channel *> gr::iio::device_source_impl::channel_list |
|
protected |
◆ ctx
| struct iio_context* gr::iio::device_source_impl::ctx |
|
protected |
◆ decimation
| unsigned int gr::iio::device_source_impl::decimation |
|
protected |
◆ destroy_ctx
| bool gr::iio::device_source_impl::destroy_ctx |
|
protected |
◆ dev
| struct iio_device* gr::iio::device_source_impl::dev |
|
protected |
◆ phy
| struct iio_device * gr::iio::device_source_impl::phy |
|
protected |
The documentation for this class was generated from the following file: