GNU Radio Manual and C++ API Reference  3.8.1.0
The Free & Open Software Radio Ecosystem
buffer.h File Reference
#include <gnuradio/api.h>
#include <gnuradio/runtime_types.h>
#include <gnuradio/tags.h>
#include <gnuradio/thread/thread.h>
#include <boost/weak_ptr.hpp>
#include <map>

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
 GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
 

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...