<+description of block+>
More...
#include <multi_source.h>
|
| 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 > ¶ms1, const std::string &device_phy2, const std::vector< std::string > ¶ms2, 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 > ¶ms1, const std::string &device_phy2, const std::vector< std::string > ¶ms2, unsigned int buffer_size=DEFAULT_BUFFER_SIZE, unsigned int decimation=0) |
◆ sptr
◆ 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 |
◆ 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: