|  | 
|  | ~buffer_double_mapped () override | 
|  | 
| int | space_available () override | 
|  | return number of items worth of space available for writing 
 | 
|  | 
| void | post_work (int nitems) override | 
|  | 
|  | ~buffer () override | 
|  | 
| buffer_mapping_type | get_mapping_type () | 
|  | return the buffer's mapping type 
 | 
|  | 
| unsigned int | bufsize () const | 
|  | return size of this buffer in items 
 | 
|  | 
| const char * | base () const | 
|  | return the base address of the buffer 
 | 
|  | 
| virtual void * | write_pointer () | 
|  | return pointer to write buffer. 
 | 
|  | 
| virtual const void * | _read_pointer (unsigned int read_index) | 
|  | return pointer to read buffer. 
 | 
|  | 
| void | update_write_pointer (int nitems) | 
|  | tell buffer that we wrote nitemsinto it
 | 
|  | 
| void | set_done (bool done) | 
|  | 
| bool | done () const | 
|  | 
| block_sptr | link () | 
|  | Return the block that writes to this buffer. 
 | 
|  | 
| size_t | nreaders () const | 
|  | 
| buffer_reader * | reader (size_t index) | 
|  | 
| gr::thread::mutex * | mutex () | 
|  | 
| uint64_t | nitems_written () | 
|  | 
| void | reset_nitem_counter () | 
|  | 
| size_t | get_sizeof_item () | 
|  | 
| uint64_t | get_downstream_lcm_nitems () | 
|  | 
| uint32_t | get_max_reader_output_multiple () | 
|  | 
| virtual void | update_reader_block_history (unsigned history, int delay) | 
|  | 
| void | add_item_tag (const tag_t &tag) | 
|  | Adds a new tag to the buffer. 
 | 
|  | 
| void | remove_item_tag (const tag_t &tag, long id) | 
|  | Removes an existing tag from the buffer. 
 | 
|  | 
| void | prune_tags (uint64_t max_time) | 
|  | Removes all tags before max_timefrom buffer.
 | 
|  | 
| std::multimap< uint64_t, tag_t >::iterator | get_tags_begin () | 
|  | 
| std::multimap< uint64_t, tag_t >::iterator | get_tags_end () | 
|  | 
| std::multimap< uint64_t, tag_t >::iterator | get_tags_lower_bound (uint64_t x) | 
|  | 
| std::multimap< uint64_t, tag_t >::iterator | get_tags_upper_bound (uint64_t x) | 
|  | 
| virtual bool | input_blkd_cb_ready (int items_required, unsigned read_index) | 
|  | Returns true when the current thread is ready to call the callback, false otherwise. Note if input_blocked_callback is overridden then this function should also be overridden. 
 | 
|  | 
| virtual bool | input_blocked_callback (int items_required, int items_avail, unsigned read_index) | 
|  | Callback function that the scheduler will call when it determines that the input is blocked. Override this function if needed. 
 | 
|  | 
| virtual bool | output_blkd_cb_ready (int output_multiple) | 
|  | Returns true if the current thread is ready to execute output_blocked_callback(), false otherwise. Note if the default output_blocked_callback is overridden this function should also be overridden. 
 | 
|  | 
| virtual bool | output_blocked_callback (int output_multiple, bool force=false) | 
|  | Callback function that the scheduler will call when it determines that the output is blocked. Override this function if needed. 
 | 
|  | 
| void | increment_active () | 
|  | Increment the number of active pointers for this buffer. 
 | 
|  | 
| void | decrement_active () | 
|  | Decrement the number of active pointers for this buffer and signal anyone waiting when the count reaches zero. 
 | 
|  | 
| void | on_lock (gr::thread::scoped_lock &lock) override | 
|  | "on_lock" function from the custom_lock_if. 
 | 
|  | 
| void | on_unlock () override | 
|  | "on_unlock" function from the custom_lock_if. 
 | 
|  | 
| void | set_transfer_type (const transfer_type &type) | 
|  | Assign buffer's transfer_type. 
 | 
|  | 
| virtual | ~custom_lock_if () | 
|  | 
|  | 
| bool | allocate_buffer (int nitems) override | 
|  | 
| unsigned | index_add (unsigned a, unsigned b) override | 
|  | Increment read or write index for this buffer. 
 | 
|  | 
| unsigned | index_sub (unsigned a, unsigned b) override | 
|  | Decrement read or write index for this buffer. 
 | 
|  | 
|  | buffer (buffer_mapping_type buftype, int nitems, size_t sizeof_item, uint64_t downstream_lcm_nitems, uint32_t downstream_max_out_mult, block_sptr link) | 
|  | constructor is private. Use gr_make_buffer to create instances. 
 | 
|  | 
| void | drop_reader (buffer_reader *reader) | 
|  | disassociate readerfrom this buffer
 | 
|  | 
Single writer, multiple reader fifo.