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>
|
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 |
|
| 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. More...
|
|
virtual buffer_sptr | make_buffer ([[maybe_unused]] int nitems, [[maybe_unused]] size_t sizeof_item, [[maybe_unused]] uint64_t downstream_lcm_nitems, [[maybe_unused]] uint32_t downstream_max_out_mult, [[maybe_unused]] block_sptr link=block_sptr(), [[maybe_unused]] block_sptr buf_owner=block_sptr()) const |
| Make and return a buffer subclass of the corresponding type. More...
|
|
template<typename classname, typename factory_class>
struct gr::buftype< classname, factory_class >
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.
◆ factory
template<typename classname , typename factory_class >
◆ buftype()
template<typename classname , typename factory_class >
◆ make_buffer()
template<typename classname , typename factory_class >
buffer_sptr gr::buftype< classname, factory_class >::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 |
|
inlineoverride |
The documentation for this struct was generated from the following file: