gr::iio::attr_source
gr::sync_block
gnuradio/iio/attr_source.h
std::shared_ptr< attr_source > std::shared_ptr<attr_source> gr::iio::attr_source::sptr sptr gr::iio::attr_source::sptr
sptr static sptr gr::iio::attr_source::make (const std::string &uri, const std::string &device, const std::string &channel, const std::string &attribute, int update_interval_ms, int samples_per_update, data_type_t data_type, attr_type_t attr_type, bool output, uint32_t address) make gr::iio::attr_source::make const std::string & uri const std::string & device const std::string & channel const std::string & attribute int update_interval_ms int samples_per_update data_type_t data_type attr_type_t attr_type bool output uint32_t address

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

uri

String of the context uri

device

String of device name

channel

String of device name

attribute

String of attribute name

update_interval_ms

Integer number of milliseconds between attribute reads

samples_per_update

Integer number of samples to collect before block returns

data_type

Enum which selects what data type to output for received data: 0: double 1: float 2: long long 3: int 4: uint8

attr_type

Enum determining attribute type: 0: Channel attribute 1: Device attribute 2: Device debug attribute

output

Boolean when True if channel attribute is an output

address

uint32 register address of register to be read

Generic reader for attributes of IIO devices.

This block allow for reading of any IIO attribute that is readable. This includes channel, device, device buffer, device debug, and direct register attributes.

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