gr::iio::device_source
gr::sync_block
gnuradio/iio/device_source.h
std::shared_ptr< device_source > typedef std::shared_ptr<device_source> gr::iio::device_source::sptr sptr gr::iio::device_source::sptr
sptr static sptr gr::iio::device_source::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 &params, unsigned int buffer_size=DEFAULT_BUFFER_SIZE, unsigned int decimation=0) make gr::iio::device_source::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 & params unsigned int buffer_size DEFAULT_BUFFER_SIZE unsigned int decimation 0

Return a shared_ptr to a new instance of iio::device.

uri

String of the context uri

device

String of device name

channels

Vector of strings of channels names

device_phy

String of phy device name where attribute updates are applied

params

Vector of strings of attributes to set in form: "<attribute name>=<value to set>,<attribute name>=<value to set>"

buffer_size

Integer number of samples to be put into each IIO buffered passed to hardware.

decimation

Integer number of sample to remove from received data buffers between successive samples

DEFAULT_BUFFER_SIZE
sptr static sptr gr::iio::device_source::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 &params, unsigned int buffer_size=DEFAULT_BUFFER_SIZE, unsigned int decimation=0) make_from gr::iio::device_source::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 & params unsigned int buffer_size DEFAULT_BUFFER_SIZE unsigned int decimation 0 DEFAULT_BUFFER_SIZE
void virtual void gr::iio::device_source::set_len_tag_key (const std::string &len_tag_key)=0 set_len_tag_key gr::iio::device_source::set_len_tag_key const std::string & len_tag_key

Key of the packet length tag. If empty no tag will be emitted.

void virtual void gr::iio::device_source::set_buffer_size (unsigned int buffer_size)=0 set_buffer_size gr::iio::device_source::set_buffer_size unsigned int buffer_size

Number of samples to be put into each IIO buffered passed to hardware.

void virtual void gr::iio::device_source::set_timeout_ms (unsigned long timeout)=0 set_timeout_ms gr::iio::device_source::set_timeout_ms unsigned long timeout

Generic source for IIO drivers with buffered output channels.

This block allows for streaming data from any IIO driver which has output scan elements or buffered channels.

gr::basic_block
gr::block
gr::iio::device_source
gr::messages::msg_accepter
gr::msg_accepter
gr::sync_block
std::enable_shared_from_this< basic_block >
gr::basic_block
d_name
d_symbol_alias
d_symbol_name
d_input_signature
d_output_signature
d_debug_logger
d_logger
msg_queue
d_rpc_vars
d_message_subscribers
gr::block
d_max_output_buffer
d_min_output_buffer
d_pmt_done
d_system_port
gr::iio::device_source
gr::messages::msg_accepter
gr::msg_accepter
gr::sync_block
std::basic_string< Char >
std::enable_shared_from_this< basic_block >
std::map< pmt::pmt_t, msg_queue_t, msg_queue_comparator >
std::shared_ptr< io_signature >
std::shared_ptr< logger >
std::shared_ptr< pmt_base >
std::shared_ptr< rpcbasic_base >
std::string
std::vector< long >
std::vector< rpcbasic_sptr >
elements
p
- gr::iio::device_source
  _post
- gr::iio::device_source
  active_thread_priority
- gr::iio::device_source
  add_item_tag
- gr::iio::device_source
  add_item_tag
- gr::iio::device_source
  alias
- gr::iio::device_source
  alias_pmt
- gr::iio::device_source
  alias_set
- gr::iio::device_source
  alignment
- gr::iio::device_source
  allocate_buffer
- gr::iio::device_source
  allocate_detail
- gr::iio::device_source
  basic_block
- gr::iio::device_source
  basic_block
- gr::iio::device_source
  BLACK
- gr::iio::device_source
  blkd_input_timer_value
- gr::iio::device_source
  block
- gr::iio::device_source
  block
- gr::iio::device_source
  check_topology
- gr::iio::device_source
  clear_finished
- gr::iio::device_source
  color
- gr::iio::device_source
  consume
- gr::iio::device_source
  consume_each
- gr::iio::device_source
  d_blkd_input_timer_value
- gr::iio::device_source
  d_color
- gr::iio::device_source
  d_debug_logger
- gr::iio::device_source
  d_input_signature
- gr::iio::device_source
  d_logger
- gr::iio::device_source
  d_max_output_buffer
- gr::iio::device_source
  d_message_subscribers
- gr::iio::device_source
  d_min_output_buffer
- gr::iio::device_source
  d_name
- gr::iio::device_source
  d_output_signature
- gr::iio::device_source
  d_pmt_done
- gr::iio::device_source
  d_rpc_set
- gr::iio::device_source
  d_rpc_vars
- gr::iio::device_source
  d_setlock
- gr::iio::device_source
  d_symbol_alias
- gr::iio::device_source
  d_symbol_name
- gr::iio::device_source
  d_symbolic_id
- gr::iio::device_source
  d_system_port
- gr::iio::device_source
  d_unique_id
- gr::iio::device_source
  declare_sample_delay
- gr::iio::device_source
  declare_sample_delay
- gr::iio::device_source
  delete_head_nowait
- gr::iio::device_source
  detail
- gr::iio::device_source
  dispatch_msg
- gr::iio::device_source
  empty_handled_p
- gr::iio::device_source
  empty_handled_p
- gr::iio::device_source
  empty_p
- gr::iio::device_source
  empty_p
- gr::iio::device_source
  enable_update_rate
- gr::iio::device_source
  erase_msg
- gr::iio::device_source
  expand_minmax_buffer
- gr::iio::device_source
  finished
- gr::iio::device_source
  fixed_rate
- gr::iio::device_source
  fixed_rate_ninput_to_noutput
- gr::iio::device_source
  fixed_rate_noutput_to_ninput
- gr::iio::device_source
  forecast
- gr::iio::device_source
  general_work
- gr::iio::device_source
  get_iterator
- gr::iio::device_source
  get_msg_map
- gr::iio::device_source
  get_tags_in_range
- gr::iio::device_source
  get_tags_in_range
- gr::iio::device_source
  get_tags_in_window
- gr::iio::device_source
  get_tags_in_window
- gr::iio::device_source
  GREY
- gr::iio::device_source
  has_msg_handler
- gr::iio::device_source
  has_msg_port
- gr::iio::device_source
  history
- gr::iio::device_source
  identifier
- gr::iio::device_source
  input_signature
- gr::iio::device_source
  insert_tail
- gr::iio::device_source
  is_pc_rpc_set
- gr::iio::device_source
  is_rpc_set
- gr::iio::device_source
  is_set_max_noutput_items
- gr::iio::device_source
  is_unaligned
- gr::iio::device_source
  log_level
- gr::iio::device_source
  make
- gr::iio::device_source
  make_from
- gr::iio::device_source
  max_noutput_items
- gr::iio::device_source
  max_output_buffer
- gr::iio::device_source
  message_port_is_hier
- gr::iio::device_source
  message_port_is_hier_in
- gr::iio::device_source
  message_port_is_hier_out
- gr::iio::device_source
  message_port_pub
- gr::iio::device_source
  message_port_register_in
- gr::iio::device_source
  message_port_register_out
- gr::iio::device_source
  message_port_sub
- gr::iio::device_source
  message_port_unsub
- gr::iio::device_source
  message_ports_in
- gr::iio::device_source
  message_ports_out
- gr::iio::device_source
  message_subscribers
- gr::iio::device_source
  min_noutput_items
- gr::iio::device_source
  min_output_buffer
- gr::iio::device_source
  mp_relative_rate
- gr::iio::device_source
  msg_accepter
- gr::iio::device_source
  msg_queue
- gr::iio::device_source
  name
- gr::iio::device_source
  nitems_read
- gr::iio::device_source
  nitems_written
- gr::iio::device_source
  nmsgs
- gr::iio::device_source
  no_pc_rpc
- gr::iio::device_source
  notify_msg_neighbors
- gr::iio::device_source
  output_multiple
- gr::iio::device_source
  output_multiple_set
- gr::iio::device_source
  output_signature
- gr::iio::device_source
  pc_input_buffers_full
- gr::iio::device_source
  pc_input_buffers_full
- gr::iio::device_source
  pc_input_buffers_full_avg
- gr::iio::device_source
  pc_input_buffers_full_avg
- gr::iio::device_source
  pc_input_buffers_full_var
- gr::iio::device_source
  pc_input_buffers_full_var
- gr::iio::device_source
  pc_noutput_items
- gr::iio::device_source
  pc_noutput_items_avg
- gr::iio::device_source
  pc_noutput_items_var
- gr::iio::device_source
  pc_nproduced
- gr::iio::device_source
  pc_nproduced_avg
- gr::iio::device_source
  pc_nproduced_var
- gr::iio::device_source
  pc_output_buffers_full
- gr::iio::device_source
  pc_output_buffers_full
- gr::iio::device_source
  pc_output_buffers_full_avg
- gr::iio::device_source
  pc_output_buffers_full_avg
- gr::iio::device_source
  pc_output_buffers_full_var
- gr::iio::device_source
  pc_output_buffers_full_var
- gr::iio::device_source
  pc_throughput_avg
- gr::iio::device_source
  pc_work_time
- gr::iio::device_source
  pc_work_time_avg
- gr::iio::device_source
  pc_work_time_total
- gr::iio::device_source
  pc_work_time_var
- gr::iio::device_source
  post
- gr::iio::device_source
  processor_affinity
- gr::iio::device_source
  produce
- gr::iio::device_source
  relative_rate
- gr::iio::device_source
  relative_rate_d
- gr::iio::device_source
  relative_rate_i
- gr::iio::device_source
  remove_item_tag
- gr::iio::device_source
  remove_item_tag
- gr::iio::device_source
  replace_buffer
- gr::iio::device_source
  reset_perf_counters
- gr::iio::device_source
  rpc_set
- gr::iio::device_source
  sample_delay
- gr::iio::device_source
  set_alignment
- gr::iio::device_source
  set_blkd_input_timer_value
- gr::iio::device_source
  set_block_alias
- gr::iio::device_source
  set_buffer_size
- gr::iio::device_source
  set_color
- gr::iio::device_source
  set_detail
- gr::iio::device_source
  set_fixed_rate
- gr::iio::device_source
  set_history
- gr::iio::device_source
  set_input_signature
- gr::iio::device_source
  set_inverse_relative_rate
- gr::iio::device_source
  set_is_unaligned
- gr::iio::device_source
  set_len_tag_key
- gr::iio::device_source
  set_log_level
- gr::iio::device_source
  set_max_noutput_items
- gr::iio::device_source
  set_max_output_buffer
- gr::iio::device_source
  set_max_output_buffer
- gr::iio::device_source
  set_min_noutput_items
- gr::iio::device_source
  set_min_output_buffer
- gr::iio::device_source
  set_min_output_buffer
- gr::iio::device_source
  set_msg_handler
- gr::iio::device_source
  set_output_multiple
- gr::iio::device_source
  set_output_signature
- gr::iio::device_source
  set_processor_affinity
- gr::iio::device_source
  set_relative_rate
- gr::iio::device_source
  set_relative_rate
- gr::iio::device_source
  set_tag_propagation_policy
- gr::iio::device_source
  set_thread_priority
- gr::iio::device_source
  set_timeout_ms
- gr::iio::device_source
  set_unaligned
- gr::iio::device_source
  setup_pc_rpc
- gr::iio::device_source
  setup_rpc
- gr::iio::device_source
  shared_from_base
- gr::iio::device_source
  sptr
- gr::iio::device_source
  start
- gr::iio::device_source
  stop
- gr::iio::device_source
  symbol_name
- gr::iio::device_source
  symbolic_id
- gr::iio::device_source
  sync_block
- gr::iio::device_source
  sync_block
- gr::iio::device_source
  system_handler
- gr::iio::device_source
  tag_propagation_policy
- gr::iio::device_source
  tag_propagation_policy_t
- gr::iio::device_source
  thread_priority
- gr::iio::device_source
  to_basic_block
- gr::iio::device_source
  TPP_ALL_TO_ALL
- gr::iio::device_source
  TPP_CUSTOM
- gr::iio::device_source
  TPP_DONT
- gr::iio::device_source
  TPP_ONE_TO_ONE
- gr::iio::device_source
  unaligned
- gr::iio::device_source
  unique_id
- gr::iio::device_source
  unset_max_noutput_items
- gr::iio::device_source
  unset_processor_affinity
- gr::iio::device_source
  update_rate
- gr::iio::device_source
  vcolor
- gr::iio::device_source
  WHITE
- gr::iio::device_source
  work
- gr::iio::device_source
  WORK_CALLED_PRODUCE
- gr::iio::device_source
  WORK_DONE
- gr::iio::device_source
  work_return_t
- gr::iio::device_source
  ~basic_block
- gr::iio::device_source
  ~block
- gr::iio::device_source
  ~msg_accepter