GNU Radio 3.7.2 C++ API
buffer.h File Reference
#include <gnuradio/api.h>
#include <gnuradio/runtime_types.h>
#include <gnuradio/tags.h>
#include <boost/weak_ptr.hpp>
#include <gnuradio/thread/thread.h>
#include <deque>
Include dependency graph for buffer.h:

Go to the source code of this file.

Classes

class  gr::buffer
 Single writer, multiple reader fifo. More...
 
class  gr::buffer_reader
 How we keep track of the readers of a gr::buffer. More...
 

Namespaces

 gr
 Include this header to use the message passing features.
 

Functions

GR_RUNTIME_API buffer_sptr gr::make_buffer (int nitems, size_t sizeof_item, block_sptr link=block_sptr())
 Allocate a buffer that holds at least nitems of size sizeof_item. More...
 
GR_RUNTIME_API buffer_reader_sptr gr::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. More...
 
GR_RUNTIME_API long gr::buffer_ncurrently_allocated ()
 returns # of buffers currently allocated More...
 
GR_RUNTIME_API long gr::buffer_reader_ncurrently_allocated ()
 returns # of buffer_readers currently allocated More...