Template used to create buffer types. Note that the factory_class parameter must contain a static function make_buffer() that matches the signature below and will be used to create instances of the corresponding buffer type. More...
#include <gnuradio/buffer_type.h>
Public Types | |
using | factory = factory_class |
Public Member Functions | |
buffer_sptr | make_buffer (int nitems, size_t sizeof_item, uint64_t downstream_lcm_nitems, uint32_t downstream_max_out_mult, block_sptr link=block_sptr(), block_sptr buf_owner=block_sptr()) const override |
Make and return a buffer subclass of the corresponding type. | |
buftype () | |
![]() | |
virtual | ~buffer_type_base () |
buffer_type_base (buffer_type_base const &other) | |
void | operator= (buffer_type_base const &)=delete |
bool | operator== (const buffer_type_base &other) const |
bool | operator!= (const buffer_type_base &other) const |
bool | operator< (const buffer_type_base &other)=delete |
bool | operator> (const buffer_type_base &other)=delete |
bool | operator<= (const buffer_type_base &other)=delete |
bool | operator>= (const buffer_type_base &other)=delete |
const std::string & | name () const |
Get the human-readable name of the type. | |
Additional Inherited Members | |
![]() | |
buffer_type_base (const std::string name) | |
![]() | |
const std::string | d_name |
Template used to create buffer types. Note that the factory_class parameter must contain a static function make_buffer() that matches the signature below and will be used to create instances of the corresponding buffer type.
using gr::buftype< classname, factory_class >::factory = factory_class |
|
inline |
|
inlineoverridevirtual |
Make and return a buffer subclass of the corresponding type.
Reimplemented from gr::buffer_type_base.