gr::buffer_reader_sm
gr::buffer_reader
gnuradio/buffer_reader_sm.h
class friend class buffer buffer gr::buffer_reader_sm::buffer buffer
class friend class buffer_single_mapped buffer_single_mapped gr::buffer_reader_sm::buffer_single_mapped buffer_single_mapped
GR_RUNTIME_API buffer_reader_sptr GR_RUNTIME_API buffer_reader_sptr buffer_add_reader (buffer_sptr buf, int nzero_preload, block_sptr link=block_sptr(), int delay=0) buffer_add_reader gr::buffer_reader_sm::buffer_add_reader buffer_sptr buf int nzero_preload block_sptr link block_sptr() int delay 0

Create a new gr::buffer_reader and attach it to buffer `buf`.

buf

is the buffer the `gr::buffer_reader` reads from.

nzero_preload

number of zero items to "preload" into buffer.

link

is the block that reads from the buffer using this gr::buffer_reader.

delay

Optional setting to declare the buffer's sample delay.

gr::buffer_reader_sm::~buffer_reader_sm
()
~buffer_reader_sm
gr::buffer_reader_sm::~buffer_reader_sm
int virtual int gr::buffer_reader_sm::items_available () const items_available gr::buffer_reader_sm::items_available items_available

Return number of items available for reading.

bool virtual bool gr::buffer_reader_sm::input_blkd_cb_ready (int items_required) const input_blkd_cb_ready gr::buffer_reader_sm::input_blkd_cb_ready input_blkd_cb_ready int items_required

Return true if thread is ready to call input_blocked_callback, false otherwise; delegate calls to buffer class's input_blkd_cb_ready()

bool virtual bool gr::buffer_reader_sm::input_blocked_callback (int items_required, int items_avail) input_blocked_callback gr::buffer_reader_sm::input_blocked_callback input_blocked_callback int items_required int items_avail

Callback function that the scheduler will call when it determines that the input is blocked; delegate calls to buffer class's input_blocked_callback()

gr::buffer_reader_sm::buffer_reader_sm
(buffer_sptr buffer, unsigned int read_index, block_sptr link)
buffer_reader_sm
gr::buffer_reader_sm::buffer_reader_sm
buffer_sptr buffer
unsigned int read_index
block_sptr link

constructor is private. Use gr::buffer::add_reader to create instances

gr::buffer_reader
gr::buffer_reader_sm
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::buffer
d_debug_logger
d_logger
d_readers
d_link
d_item_tags
gr::buffer_reader
d_buffer
d_link
gr::buffer_reader_sm
gr::custom_lock_if
gr::io_signature
gr::messages::msg_accepter
gr::msg_accepter
gr::tag_t
key
srcid
value
marked_deleted
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::multimap< uint64_t, gr::tag_t >
elements
std::shared_ptr< T >
ptr
std::shared_ptr< buffer >
ptr
std::shared_ptr< io_signature >
ptr
std::shared_ptr< logger >
std::shared_ptr< pmt_base >
std::string
std::vector< gr::buffer_reader * >
elements
p
std::vector< long >
std::vector< rpcbasic_sptr >
elements
p
std::weak_ptr< gr::block >
ptr
- gr::buffer_reader_sm
  buffer
- gr::buffer_reader_sm
  buffer
- gr::buffer_reader_sm
  buffer_add_reader
- gr::buffer_reader_sm
  buffer_reader
- gr::buffer_reader_sm
  buffer_reader_sm
- gr::buffer_reader_sm
  buffer_single_mapped
- gr::buffer_reader_sm
  d_abs_read_offset
- gr::buffer_reader_sm
  d_attr_delay
- gr::buffer_reader_sm
  d_buffer
- gr::buffer_reader_sm
  d_link
- gr::buffer_reader_sm
  d_read_index
- gr::buffer_reader_sm
  declare_sample_delay
- gr::buffer_reader_sm
  done
- gr::buffer_reader_sm
  get_abs_read_offset
- gr::buffer_reader_sm
  get_read_index
- gr::buffer_reader_sm
  get_sizeof_item
- gr::buffer_reader_sm
  get_tags_in_range
- gr::buffer_reader_sm
  input_blkd_cb_ready
- gr::buffer_reader_sm
  input_blocked_callback
- gr::buffer_reader_sm
  items_available
- gr::buffer_reader_sm
  link
- gr::buffer_reader_sm
  max_possible_items_available
- gr::buffer_reader_sm
  mutex
- gr::buffer_reader_sm
  nitems_read
- gr::buffer_reader_sm
  read_pointer
- gr::buffer_reader_sm
  reset_nitem_counter
- gr::buffer_reader_sm
  sample_delay
- gr::buffer_reader_sm
  set_done
- gr::buffer_reader_sm
  update_read_pointer
- gr::buffer_reader_sm
  ~buffer_reader
- gr::buffer_reader_sm
  ~buffer_reader_sm