gr::qtgui::number_sink
gr::sync_block
gnuradio/qtgui/number_sink.h
std::shared_ptr< number_sink > typedef std::shared_ptr<number_sink> gr::qtgui::number_sink::sptr sptr gr::qtgui::number_sink::sptr
QApplication * QApplication* gr::qtgui::number_sink::d_qApplication d_qApplication gr::qtgui::number_sink::d_qApplication
sptr static sptr gr::qtgui::number_sink::make (size_t itemsize, float average=0, graph_t graph_type=NUM_GRAPH_HORIZ, int nconnections=1, QWidget *parent=NULL) make gr::qtgui::number_sink::make size_t itemsize float average 0 graph_t graph_type NUM_GRAPH_HORIZ int nconnections 1 QWidget * parent NULL

Build a number sink.

itemsize

Size of input item stream

average

Averaging coefficient (0 - 1)

graph_type

Type of graph to use (number_sink::graph_t)

nconnections

number of signals connected to sink

parent

a QWidget parent object, if any

average
graph_type
gr::qtgui::NUM_GRAPH_HORIZ
void virtual void gr::qtgui::number_sink::exec_ ()=0 exec_ gr::qtgui::number_sink::exec_
QWidget * virtual QWidget * gr::qtgui::number_sink::qwidget ()=0 qwidget gr::qtgui::number_sink::qwidget
void virtual void gr::qtgui::number_sink::set_update_time (double t)=0 set_update_time gr::qtgui::number_sink::set_update_time double t
void virtual void gr::qtgui::number_sink::set_average (const float avg)=0 set_average gr::qtgui::number_sink::set_average const float avg
void virtual void gr::qtgui::number_sink::set_graph_type (const graph_t type)=0 set_graph_type gr::qtgui::number_sink::set_graph_type const graph_t type
void virtual void gr::qtgui::number_sink::set_color (unsigned int which, const std::string &min, const std::string &max)=0 set_color gr::qtgui::number_sink::set_color unsigned int which const std::string & min const std::string & max max min
void virtual void gr::qtgui::number_sink::set_color (unsigned int which, int min, int max)=0 set_color gr::qtgui::number_sink::set_color unsigned int which int min int max max min
void virtual void gr::qtgui::number_sink::set_label (unsigned int which, const std::string &label)=0 set_label gr::qtgui::number_sink::set_label unsigned int which const std::string & label label
void virtual void gr::qtgui::number_sink::set_min (unsigned int which, float min)=0 set_min gr::qtgui::number_sink::set_min unsigned int which float min min
void virtual void gr::qtgui::number_sink::set_max (unsigned int which, float max)=0 set_max gr::qtgui::number_sink::set_max unsigned int which float max max
void virtual void gr::qtgui::number_sink::set_title (const std::string &title)=0 set_title gr::qtgui::number_sink::set_title const std::string & title title
void virtual void gr::qtgui::number_sink::set_unit (unsigned int which, const std::string &unit)=0 set_unit gr::qtgui::number_sink::set_unit unsigned int which const std::string & unit unit
void virtual void gr::qtgui::number_sink::set_factor (unsigned int which, float factor)=0 set_factor gr::qtgui::number_sink::set_factor unsigned int which float factor factor
float virtual float gr::qtgui::number_sink::average () const =0 average gr::qtgui::number_sink::average make
graph_t virtual graph_t gr::qtgui::number_sink::graph_type () const =0 graph_type gr::qtgui::number_sink::graph_type make
std::string virtual std::string gr::qtgui::number_sink::color_min (unsigned int which) const =0 color_min gr::qtgui::number_sink::color_min unsigned int which
std::string virtual std::string gr::qtgui::number_sink::color_max (unsigned int which) const =0 color_max gr::qtgui::number_sink::color_max unsigned int which
std::string virtual std::string gr::qtgui::number_sink::label (unsigned int which) const =0 label gr::qtgui::number_sink::label unsigned int which set_label
float virtual float gr::qtgui::number_sink::min (unsigned int which) const =0 min gr::qtgui::number_sink::min unsigned int which set_color set_color set_min
float virtual float gr::qtgui::number_sink::max (unsigned int which) const =0 max gr::qtgui::number_sink::max unsigned int which set_color set_color set_max
std::string virtual std::string gr::qtgui::number_sink::title () const =0 title gr::qtgui::number_sink::title set_title
std::string virtual std::string gr::qtgui::number_sink::unit (unsigned int which) const =0 unit gr::qtgui::number_sink::unit unsigned int which set_unit
float virtual float gr::qtgui::number_sink::factor (unsigned int which) const =0 factor gr::qtgui::number_sink::factor unsigned int which set_factor
void virtual void gr::qtgui::number_sink::enable_menu (bool en=true)=0 enable_menu gr::qtgui::number_sink::enable_menu bool en true
void virtual void gr::qtgui::number_sink::enable_autoscale (bool en=true)=0 enable_autoscale gr::qtgui::number_sink::enable_autoscale bool en true
void virtual void gr::qtgui::number_sink::reset ()=0 reset gr::qtgui::number_sink::reset

A graphical sink to display numerical values of input streams.

Displays the data stream in as a number in a simple text box GUI along with an optional bar graph. The bar graph can be set to horizontal (NUM_GRAPH_HORIZ), vertical (NUM_GRAPH_VERT), or no graph (NUM_GRAPH_NONE).

The displayed value can be the average of the input stream, in which case all items received are averaged. If not averaging, the display simply samples a value in the data stream based on the update time of this block.

Note that due to a flaw in the implementation, this block cannot receive integer value inputs. It will take chars, shorts, and floats and properly convert them by setting itemsize of the constructor to one of these three values (sizeof_char, sizeof_short, and sizeof_float, respectively). If using integers, the block treats these as floats. Instead, put the integer input stream through an gr::blocks::int_to_float converter block.

gr::basic_block
gr::block
gr::messages::msg_accepter
gr::msg_accepter
gr::qtgui::number_sink
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::messages::msg_accepter
gr::msg_accepter
gr::qtgui::number_sink
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::qtgui::number_sink
  _post
- gr::qtgui::number_sink
  active_thread_priority
- gr::qtgui::number_sink
  add_item_tag
- gr::qtgui::number_sink
  add_item_tag
- gr::qtgui::number_sink
  alias
- gr::qtgui::number_sink
  alias_pmt
- gr::qtgui::number_sink
  alias_set
- gr::qtgui::number_sink
  alignment
- gr::qtgui::number_sink
  allocate_buffer
- gr::qtgui::number_sink
  allocate_detail
- gr::qtgui::number_sink
  average
- gr::qtgui::number_sink
  basic_block
- gr::qtgui::number_sink
  basic_block
- gr::qtgui::number_sink
  BLACK
- gr::qtgui::number_sink
  blkd_input_timer_value
- gr::qtgui::number_sink
  block
- gr::qtgui::number_sink
  block
- gr::qtgui::number_sink
  check_topology
- gr::qtgui::number_sink
  clear_finished
- gr::qtgui::number_sink
  color
- gr::qtgui::number_sink
  color_max
- gr::qtgui::number_sink
  color_min
- gr::qtgui::number_sink
  consume
- gr::qtgui::number_sink
  consume_each
- gr::qtgui::number_sink
  d_blkd_input_timer_value
- gr::qtgui::number_sink
  d_color
- gr::qtgui::number_sink
  d_debug_logger
- gr::qtgui::number_sink
  d_input_signature
- gr::qtgui::number_sink
  d_logger
- gr::qtgui::number_sink
  d_max_output_buffer
- gr::qtgui::number_sink
  d_message_subscribers
- gr::qtgui::number_sink
  d_min_output_buffer
- gr::qtgui::number_sink
  d_name
- gr::qtgui::number_sink
  d_output_signature
- gr::qtgui::number_sink
  d_pmt_done
- gr::qtgui::number_sink
  d_qApplication
- gr::qtgui::number_sink
  d_rpc_set
- gr::qtgui::number_sink
  d_rpc_vars
- gr::qtgui::number_sink
  d_setlock
- gr::qtgui::number_sink
  d_symbol_alias
- gr::qtgui::number_sink
  d_symbol_name
- gr::qtgui::number_sink
  d_symbolic_id
- gr::qtgui::number_sink
  d_system_port
- gr::qtgui::number_sink
  d_unique_id
- gr::qtgui::number_sink
  declare_sample_delay
- gr::qtgui::number_sink
  declare_sample_delay
- gr::qtgui::number_sink
  delete_head_nowait
- gr::qtgui::number_sink
  detail
- gr::qtgui::number_sink
  dispatch_msg
- gr::qtgui::number_sink
  empty_handled_p
- gr::qtgui::number_sink
  empty_handled_p
- gr::qtgui::number_sink
  empty_p
- gr::qtgui::number_sink
  empty_p
- gr::qtgui::number_sink
  enable_autoscale
- gr::qtgui::number_sink
  enable_menu
- gr::qtgui::number_sink
  enable_update_rate
- gr::qtgui::number_sink
  erase_msg
- gr::qtgui::number_sink
  exec_
- gr::qtgui::number_sink
  expand_minmax_buffer
- gr::qtgui::number_sink
  factor
- gr::qtgui::number_sink
  finished
- gr::qtgui::number_sink
  fixed_rate
- gr::qtgui::number_sink
  fixed_rate_ninput_to_noutput
- gr::qtgui::number_sink
  fixed_rate_noutput_to_ninput
- gr::qtgui::number_sink
  forecast
- gr::qtgui::number_sink
  general_work
- gr::qtgui::number_sink
  get_iterator
- gr::qtgui::number_sink
  get_msg_map
- gr::qtgui::number_sink
  get_tags_in_range
- gr::qtgui::number_sink
  get_tags_in_range
- gr::qtgui::number_sink
  get_tags_in_window
- gr::qtgui::number_sink
  get_tags_in_window
- gr::qtgui::number_sink
  graph_type
- gr::qtgui::number_sink
  GREY
- gr::qtgui::number_sink
  has_msg_handler
- gr::qtgui::number_sink
  has_msg_port
- gr::qtgui::number_sink
  history
- gr::qtgui::number_sink
  identifier
- gr::qtgui::number_sink
  input_signature
- gr::qtgui::number_sink
  insert_tail
- gr::qtgui::number_sink
  is_pc_rpc_set
- gr::qtgui::number_sink
  is_rpc_set
- gr::qtgui::number_sink
  is_set_max_noutput_items
- gr::qtgui::number_sink
  is_unaligned
- gr::qtgui::number_sink
  label
- gr::qtgui::number_sink
  log_level
- gr::qtgui::number_sink
  make
- gr::qtgui::number_sink
  max
- gr::qtgui::number_sink
  max_noutput_items
- gr::qtgui::number_sink
  max_output_buffer
- gr::qtgui::number_sink
  message_port_is_hier
- gr::qtgui::number_sink
  message_port_is_hier_in
- gr::qtgui::number_sink
  message_port_is_hier_out
- gr::qtgui::number_sink
  message_port_pub
- gr::qtgui::number_sink
  message_port_register_in
- gr::qtgui::number_sink
  message_port_register_out
- gr::qtgui::number_sink
  message_port_sub
- gr::qtgui::number_sink
  message_port_unsub
- gr::qtgui::number_sink
  message_ports_in
- gr::qtgui::number_sink
  message_ports_out
- gr::qtgui::number_sink
  message_subscribers
- gr::qtgui::number_sink
  min
- gr::qtgui::number_sink
  min_noutput_items
- gr::qtgui::number_sink
  min_output_buffer
- gr::qtgui::number_sink
  mp_relative_rate
- gr::qtgui::number_sink
  msg_accepter
- gr::qtgui::number_sink
  msg_queue
- gr::qtgui::number_sink
  name
- gr::qtgui::number_sink
  nitems_read
- gr::qtgui::number_sink
  nitems_written
- gr::qtgui::number_sink
  nmsgs
- gr::qtgui::number_sink
  no_pc_rpc
- gr::qtgui::number_sink
  notify_msg_neighbors
- gr::qtgui::number_sink
  output_multiple
- gr::qtgui::number_sink
  output_multiple_set
- gr::qtgui::number_sink
  output_signature
- gr::qtgui::number_sink
  pc_input_buffers_full
- gr::qtgui::number_sink
  pc_input_buffers_full
- gr::qtgui::number_sink
  pc_input_buffers_full_avg
- gr::qtgui::number_sink
  pc_input_buffers_full_avg
- gr::qtgui::number_sink
  pc_input_buffers_full_var
- gr::qtgui::number_sink
  pc_input_buffers_full_var
- gr::qtgui::number_sink
  pc_noutput_items
- gr::qtgui::number_sink
  pc_noutput_items_avg
- gr::qtgui::number_sink
  pc_noutput_items_var
- gr::qtgui::number_sink
  pc_nproduced
- gr::qtgui::number_sink
  pc_nproduced_avg
- gr::qtgui::number_sink
  pc_nproduced_var
- gr::qtgui::number_sink
  pc_output_buffers_full
- gr::qtgui::number_sink
  pc_output_buffers_full
- gr::qtgui::number_sink
  pc_output_buffers_full_avg
- gr::qtgui::number_sink
  pc_output_buffers_full_avg
- gr::qtgui::number_sink
  pc_output_buffers_full_var
- gr::qtgui::number_sink
  pc_output_buffers_full_var
- gr::qtgui::number_sink
  pc_throughput_avg
- gr::qtgui::number_sink
  pc_work_time
- gr::qtgui::number_sink
  pc_work_time_avg
- gr::qtgui::number_sink
  pc_work_time_total
- gr::qtgui::number_sink
  pc_work_time_var
- gr::qtgui::number_sink
  post
- gr::qtgui::number_sink
  processor_affinity
- gr::qtgui::number_sink
  produce
- gr::qtgui::number_sink
  qwidget
- gr::qtgui::number_sink
  relative_rate
- gr::qtgui::number_sink
  relative_rate_d
- gr::qtgui::number_sink
  relative_rate_i
- gr::qtgui::number_sink
  remove_item_tag
- gr::qtgui::number_sink
  remove_item_tag
- gr::qtgui::number_sink
  replace_buffer
- gr::qtgui::number_sink
  reset
- gr::qtgui::number_sink
  reset_perf_counters
- gr::qtgui::number_sink
  rpc_set
- gr::qtgui::number_sink
  sample_delay
- gr::qtgui::number_sink
  set_alignment
- gr::qtgui::number_sink
  set_average
- gr::qtgui::number_sink
  set_blkd_input_timer_value
- gr::qtgui::number_sink
  set_block_alias
- gr::qtgui::number_sink
  set_color
- gr::qtgui::number_sink
  set_color
- gr::qtgui::number_sink
  set_color
- gr::qtgui::number_sink
  set_detail
- gr::qtgui::number_sink
  set_factor
- gr::qtgui::number_sink
  set_fixed_rate
- gr::qtgui::number_sink
  set_graph_type
- gr::qtgui::number_sink
  set_history
- gr::qtgui::number_sink
  set_input_signature
- gr::qtgui::number_sink
  set_inverse_relative_rate
- gr::qtgui::number_sink
  set_is_unaligned
- gr::qtgui::number_sink
  set_label
- gr::qtgui::number_sink
  set_log_level
- gr::qtgui::number_sink
  set_max
- gr::qtgui::number_sink
  set_max_noutput_items
- gr::qtgui::number_sink
  set_max_output_buffer
- gr::qtgui::number_sink
  set_max_output_buffer
- gr::qtgui::number_sink
  set_min
- gr::qtgui::number_sink
  set_min_noutput_items
- gr::qtgui::number_sink
  set_min_output_buffer
- gr::qtgui::number_sink
  set_min_output_buffer
- gr::qtgui::number_sink
  set_msg_handler
- gr::qtgui::number_sink
  set_output_multiple
- gr::qtgui::number_sink
  set_output_signature
- gr::qtgui::number_sink
  set_processor_affinity
- gr::qtgui::number_sink
  set_relative_rate
- gr::qtgui::number_sink
  set_relative_rate
- gr::qtgui::number_sink
  set_tag_propagation_policy
- gr::qtgui::number_sink
  set_thread_priority
- gr::qtgui::number_sink
  set_title
- gr::qtgui::number_sink
  set_unaligned
- gr::qtgui::number_sink
  set_unit
- gr::qtgui::number_sink
  set_update_time
- gr::qtgui::number_sink
  setup_pc_rpc
- gr::qtgui::number_sink
  setup_rpc
- gr::qtgui::number_sink
  shared_from_base
- gr::qtgui::number_sink
  sptr
- gr::qtgui::number_sink
  start
- gr::qtgui::number_sink
  stop
- gr::qtgui::number_sink
  symbol_name
- gr::qtgui::number_sink
  symbolic_id
- gr::qtgui::number_sink
  sync_block
- gr::qtgui::number_sink
  sync_block
- gr::qtgui::number_sink
  system_handler
- gr::qtgui::number_sink
  tag_propagation_policy
- gr::qtgui::number_sink
  tag_propagation_policy_t
- gr::qtgui::number_sink
  thread_priority
- gr::qtgui::number_sink
  title
- gr::qtgui::number_sink
  to_basic_block
- gr::qtgui::number_sink
  TPP_ALL_TO_ALL
- gr::qtgui::number_sink
  TPP_CUSTOM
- gr::qtgui::number_sink
  TPP_DONT
- gr::qtgui::number_sink
  TPP_ONE_TO_ONE
- gr::qtgui::number_sink
  unaligned
- gr::qtgui::number_sink
  unique_id
- gr::qtgui::number_sink
  unit
- gr::qtgui::number_sink
  unset_max_noutput_items
- gr::qtgui::number_sink
  unset_processor_affinity
- gr::qtgui::number_sink
  update_rate
- gr::qtgui::number_sink
  vcolor
- gr::qtgui::number_sink
  WHITE
- gr::qtgui::number_sink
  work
- gr::qtgui::number_sink
  WORK_CALLED_PRODUCE
- gr::qtgui::number_sink
  WORK_DONE
- gr::qtgui::number_sink
  work_return_t
- gr::qtgui::number_sink
  ~basic_block
- gr::qtgui::number_sink
  ~block
- gr::qtgui::number_sink
  ~msg_accepter