11#ifndef INCLUDED_IIO_DEVICE_SINK_H 
   12#define INCLUDED_IIO_DEVICE_SINK_H 
   20#define DEFAULT_BUFFER_SIZE 0x8000 
   40    typedef std::shared_ptr<device_sink> 
sptr;
 
   61                     const std::string& device,
 
   62                     const std::vector<std::string>& 
channels,
 
   63                     const std::string& device_phy,
 
   66                     unsigned int interpolation = 0,
 
   70                          const std::string& device,
 
   71                          const std::vector<std::string>& 
channels,
 
   72                          const std::string& device_phy,
 
   75                          unsigned int interpolation = 0,
 
 
Generic sink for IIO drivers with buffered input channels.
Definition device_sink.h:38
std::shared_ptr< device_sink > sptr
Definition device_sink.h:40
static sptr make_from(iio_context *ctx, const std::string &device, const std::vector< std::string > &channels, const std::string &device_phy, const iio_param_vec_t ¶ms, unsigned int buffer_size=DEFAULT_BUFFER_SIZE, unsigned int interpolation=0, bool cyclic=false)
static sptr make(const std::string &uri, const std::string &device, const std::vector< std::string > &channels, const std::string &device_phy, const iio_param_vec_t ¶ms, unsigned int buffer_size=DEFAULT_BUFFER_SIZE, unsigned int interpolation=0, bool cyclic=false)
Return a shared_ptr to a new instance of iio::device.
virtual void set_len_tag_key(const std::string &len_tag_key)=0
synchronous 1:1 input to output with history
Definition sync_block.h:26
#define DEFAULT_BUFFER_SIZE
Definition device_sink.h:20
#define IIO_API
Definition gr-iio/include/gnuradio/iio/api.h:18
Definition cfo_model.h:19
Definition attr_sink.h:19
std::vector< iio_param_t > iio_param_vec_t
Definition iio_types.h:44
GNU Radio logging wrapper.
Definition basic_block.h:29