11 #ifndef INCLUDED_GR_RUNTIME_BUFFER_READER_SM_H
12 #define INCLUDED_GR_RUNTIME_BUFFER_READER_SM_H
Definition: buffer_reader_sm.h:22
virtual int items_available() const
Return number of items available for reading.
virtual bool input_blkd_cb_ready(int items_required) const
Return true if thread is ready to call input_blocked_callback, false otherwise; delegate calls to buf...
friend GR_RUNTIME_API buffer_reader_sptr buffer_add_reader(buffer_sptr buf, int nzero_preload, block_sptr link, int delay)
Create a new gr::buffer_reader and attach it to buffer buf.
virtual bool 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...
How we keep track of the readers of a gr::buffer.
Definition: buffer_reader.h:49
A single mapped buffer where wrapping conditions are handled explicitly via input/output_blocked_call...
Definition: buffer_single_mapped.h:30
Single writer, multiple reader fifo.
Definition: buffer.h:67
#define GR_RUNTIME_API
Definition: gnuradio-runtime/include/gnuradio/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29