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