11#ifndef INCLUDED_GR_RUNTIME_CUSTOM_BUFFER_TYPE_H 
   12#define INCLUDED_GR_RUNTIME_CUSTOM_BUFFER_TYPE_H 
   67                [[maybe_unused]] 
size_t sizeof_item,
 
   68                [[maybe_unused]] uint64_t downstream_lcm_nitems,
 
   69                [[maybe_unused]] uint32_t downstream_max_out_mult,
 
   70                [[maybe_unused]] block_sptr link = block_sptr(),
 
   71                [[maybe_unused]] block_sptr buf_owner = block_sptr())
 const 
 
 
   93template <
typename classname, 
typename factory_
class>
 
   99                            uint64_t downstream_lcm_nitems,
 
  100                            uint32_t downstream_max_out_mult,
 
  101                            block_sptr link = block_sptr(),
 
  102                            block_sptr buf_owner = block_sptr())
 const override 
  104        return factory::make_buffer(nitems,
 
  106                                    downstream_lcm_nitems,
 
  107                                    downstream_max_out_mult,
 
 
 
Base class for describing a buffer's type.
Definition buffer_type.h:28
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.
Definition buffer_type.h:66
const std::string d_name
Definition buffer_type.h:80
bool operator>=(const buffer_type_base &other)=delete
bool operator<=(const buffer_type_base &other)=delete
bool operator!=(const buffer_type_base &other) const
Definition buffer_type.h:47
buffer_type_base(const std::string name)
Definition buffer_type.h:82
const std::string & name() const
Get the human-readable name of the type.
Definition buffer_type.h:60
bool operator<(const buffer_type_base &other)=delete
buffer_type_base(buffer_type_base const &other)
Definition buffer_type.h:37
virtual ~buffer_type_base()
Definition buffer_type.h:30
bool operator>(const buffer_type_base &other)=delete
void operator=(buffer_type_base const &)=delete
bool operator==(const buffer_type_base &other) const
Definition buffer_type.h:42
#define GR_RUNTIME_API
Definition gnuradio-runtime/include/gnuradio/api.h:18
GNU Radio logging wrapper.
Definition basic_block.h:29
const buffer_type_base & buffer_type
Definition buffer_type.h:85
std::vector< std::reference_wrapper< const buffer_type_base > > gr_vector_buffer_type
Definition buffer_type.h:86
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.
Definition buffer_type.h:97
buftype()
Definition buffer_type.h:112
factory_class factory
Definition buffer_type.h:96