23 #ifndef INCLUDED_IIO_MULTI_SOURCE_H 24 #define INCLUDED_IIO_MULTI_SOURCE_H 27 #include <gnuradio/sync_block.h> 29 #define DEFAULT_BUFFER_SIZE 0x8000 46 typedef std::shared_ptr<multi_source>
sptr;
56 static sptr make(
const std::string &uri,
const std::string &device,
57 const std::vector<std::string> &channels,
58 const std::string &device_phy1,
59 const std::vector<std::string> ¶ms1,
60 const std::string &device_phy2,
61 const std::vector<std::string> ¶ms2,
63 unsigned int decimation = 0);
65 static sptr make_from(
struct iio_context *ctx,
const std::string &device,
66 const std::vector<std::string> &channels,
67 const std::string &device_phy1,
68 const std::vector<std::string> ¶ms1,
69 const std::string &device_phy2,
70 const std::vector<std::string> ¶ms2,
72 unsigned int decimation = 0);
74 virtual void set_buffer_size(
unsigned int buffer_size) = 0;
75 virtual void set_timeout_ms(
unsigned long timeout) = 0;
#define IIO_API
Definition: api.h:19
#define DEFAULT_BUFFER_SIZE
Definition: multi_source.h:29
Definition: attr_sink.h:29
std::shared_ptr< multi_source > sptr
Definition: multi_source.h:46
<+description of block+>
Definition: multi_source.h:43