GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
gr::buffer_type_base Class Reference

Base class for describing a buffer's type. More...

#include <gnuradio/buffer_type.h>

Public Member Functions

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

Protected Member Functions

 buffer_type_base (const std::string name)
 

Protected Attributes

const std::string d_name
 

Detailed Description

Base class for describing a buffer's type.

Constructor & Destructor Documentation

◆ ~buffer_type_base()

virtual gr::buffer_type_base::~buffer_type_base ( )
inlinevirtual

◆ buffer_type_base() [1/2]

gr::buffer_type_base::buffer_type_base ( buffer_type_base const &  other)
inline

◆ buffer_type_base() [2/2]

gr::buffer_type_base::buffer_type_base ( const std::string  name)
inlineprotected

Member Function Documentation

◆ make_buffer()

virtual buffer_sptr gr::buffer_type_base::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
inlinevirtual

Make and return a buffer subclass of the corresponding type.

◆ name()

const std::string& gr::buffer_type_base::name ( ) const
inline

Get the human-readable name of the type.

◆ operator!=()

bool gr::buffer_type_base::operator!= ( const buffer_type_base other) const
inline

References d_name.

◆ operator<()

bool gr::buffer_type_base::operator< ( const buffer_type_base other)
delete

◆ operator<=()

bool gr::buffer_type_base::operator<= ( const buffer_type_base other)
delete

◆ operator=()

void gr::buffer_type_base::operator= ( buffer_type_base const &  )
delete

◆ operator==()

bool gr::buffer_type_base::operator== ( const buffer_type_base other) const
inline

References d_name.

◆ operator>()

bool gr::buffer_type_base::operator> ( const buffer_type_base other)
delete

◆ operator>=()

bool gr::buffer_type_base::operator>= ( const buffer_type_base other)
delete

Member Data Documentation

◆ d_name

const std::string gr::buffer_type_base::d_name
protected

Referenced by operator!=(), and operator==().


The documentation for this class was generated from the following file: