gr::buffer_double_mapped
gr::buffer
gnuradio/buffer_double_mapped.h
buffer_type buffer_type gr::buffer_double_mapped::type type gr::buffer_double_mapped::type gr::io_signature::make gr::io_signature::make gr::io_signature::make2 gr::io_signature::make3
gr::logger_ptr gr::logger_ptr gr::buffer_double_mapped::d_logger d_logger gr::buffer_double_mapped::d_logger
gr::logger_ptr gr::logger_ptr gr::buffer_double_mapped::d_debug_logger d_debug_logger gr::buffer_double_mapped::d_debug_logger
class friend class buffer_reader buffer_reader gr::buffer_double_mapped::buffer_reader buffer_reader buffer_reader buffer_reader
GR_RUNTIME_API buffer_sptr GR_RUNTIME_API buffer_sptr make_buffer (int nitems, size_t sizeof_item, uint64_t downstream_lcm_nitems, block_sptr link, block_sptr buf_owner) make_buffer gr::buffer_double_mapped::make_buffer int nitems size_t sizeof_item uint64_t downstream_lcm_nitems block_sptr link block_sptr buf_owner GR_RUNTIME_API gr::buffer::link
GR_RUNTIME_API buffer_sptr GR_RUNTIME_API buffer_sptr make_buffer_double_mapped (int nitems, size_t sizeof_item, uint64_t downstream_lcm_nitems, uint32_t downstream_max_out_mult, block_sptr link, block_sptr buf_owner) make_buffer_double_mapped gr::buffer_double_mapped::make_buffer_double_mapped int nitems size_t sizeof_item uint64_t downstream_lcm_nitems uint32_t downstream_max_out_mult block_sptr link block_sptr buf_owner gr::buffer::link
std::unique_ptr< gr::vmcircbuf > std::unique_ptr<gr::vmcircbuf> gr::buffer_double_mapped::d_vmcircbuf d_vmcircbuf gr::buffer_double_mapped::d_vmcircbuf
buffer_sptr static buffer_sptr gr::buffer_double_mapped::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()) make_buffer gr::buffer_double_mapped::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() gr::buffer::link
gr::buffer_double_mapped::~buffer_double_mapped
() override
~buffer_double_mapped
gr::buffer_double_mapped::~buffer_double_mapped
int int gr::buffer_double_mapped::space_available () override space_available gr::buffer_double_mapped::space_available space_available

return number of items worth of space available for writing

void void gr::buffer_double_mapped::post_work (int nitems) override post_work gr::buffer_double_mapped::post_work post_work int nitems

Inherited from buffer class. nitems

is the number of items produced by the general_work() function.

bool bool gr::buffer_double_mapped::allocate_buffer (int nitems) override allocate_buffer gr::buffer_double_mapped::allocate_buffer allocate_buffer int nitems

sets d_vmcircbuf, d_base, d_bufsize. returns true iff successful.

unsigned unsigned gr::buffer_double_mapped::index_add (unsigned a, unsigned b) override index_add gr::buffer_double_mapped::index_add index_add unsigned a unsigned b

Increment read or write index for this buffer.

gr::buffer::d_bufsize
unsigned unsigned gr::buffer_double_mapped::index_sub (unsigned a, unsigned b) override index_sub gr::buffer_double_mapped::index_sub index_sub unsigned a unsigned b

Decrement read or write index for this buffer.

gr::buffer::d_bufsize
gr::buffer_double_mapped::buffer_double_mapped
(int nitems, size_t sizeof_item, uint64_t downstream_lcm_nitems, uint32_t downstream_max_out_mult, block_sptr link)
buffer_double_mapped
gr::buffer_double_mapped::buffer_double_mapped
int nitems
size_t sizeof_item
uint64_t downstream_lcm_nitems
uint32_t downstream_max_out_mult
block_sptr link

constructor is private. Use gr_make_buffer to create instances.

Allocate a buffer that holds at least `nitems` of size `sizeof_item`.

nitems

is the minimum number of items the buffer will hold.

sizeof_item

is the size of an item in bytes.

downstream_lcm_nitems

is the least common multiple of the items to read by downstream blocks

downstream_max_out_mult

is the maximum output multiple of all downstream blocks

link

is the block that writes to this buffer.

The total size of the buffer will be rounded up to a system dependent boundary. This is typically the system page size, but under MS windows is 64KB.

Single writer, multiple reader fifo.

gr::buffer
gr::buffer_double_mapped
gr::custom_lock_if
gr::basic_block
d_name
d_symbol_alias
d_symbol_name
d_input_signature
d_output_signature
d_debug_logger
d_logger
msg_queue
d_rpc_vars
d_message_subscribers
gr::block
d_max_output_buffer
d_min_output_buffer
d_pmt_done
d_system_port
gr::buffer
d_debug_logger
d_logger
d_readers
d_link
d_item_tags
gr::buffer_double_mapped
type
d_debug_logger
d_logger
gr::buffer_reader
d_buffer
d_link
gr::buffer_type_base
d_name
gr::custom_lock_if
gr::messages::msg_accepter
gr::msg_accepter
gr::tag_t
key
srcid
value
marked_deleted
std::basic_string< Char >
std::enable_shared_from_this< basic_block >
std::map< pmt::pmt_t, msg_queue_t, msg_queue_comparator >
std::multimap< uint64_t, gr::tag_t >
elements
std::shared_ptr< buffer >
std::shared_ptr< io_signature >
std::shared_ptr< logger >
std::shared_ptr< pmt_base >
std::shared_ptr< rpcbasic_base >
std::string
std::vector< gr::buffer_reader * >
elements
p
std::vector< long >
std::vector< rpcbasic_sptr >
elements
p
std::weak_ptr< gr::block >
ptr
- gr::buffer_double_mapped
  _read_pointer
- gr::buffer_double_mapped
  add_item_tag
- gr::buffer_double_mapped
  allocate_buffer
- gr::buffer_double_mapped
  base
- gr::buffer_double_mapped
  buffer
- gr::buffer_double_mapped
  buffer_double_mapped
- gr::buffer_double_mapped
  buffer_reader
- gr::buffer_double_mapped
  bufsize
- gr::buffer_double_mapped
  d_abs_write_offset
- gr::buffer_double_mapped
  d_active_pointer_counter
- gr::buffer_double_mapped
  d_base
- gr::buffer_double_mapped
  d_buf_map_type
- gr::buffer_double_mapped
  d_bufsize
- gr::buffer_double_mapped
  d_callback_flag
- gr::buffer_double_mapped
  d_cv
- gr::buffer_double_mapped
  d_debug_logger
- gr::buffer_double_mapped
  d_done
- gr::buffer_double_mapped
  d_downstream_lcm_nitems
- gr::buffer_double_mapped
  d_has_history
- gr::buffer_double_mapped
  d_item_tags
- gr::buffer_double_mapped
  d_last_min_items_read
- gr::buffer_double_mapped
  d_link
- gr::buffer_double_mapped
  d_logger
- gr::buffer_double_mapped
  d_max_reader_delay
- gr::buffer_double_mapped
  d_max_reader_history
- gr::buffer_double_mapped
  d_max_reader_output_multiple
- gr::buffer_double_mapped
  d_mutex
- gr::buffer_double_mapped
  d_readers
- gr::buffer_double_mapped
  d_sizeof_item
- gr::buffer_double_mapped
  d_transfer_type
- gr::buffer_double_mapped
  d_vmcircbuf
- gr::buffer_double_mapped
  d_write_index
- gr::buffer_double_mapped
  d_write_multiple
- gr::buffer_double_mapped
  decrement_active
- gr::buffer_double_mapped
  done
- gr::buffer_double_mapped
  drop_reader
- gr::buffer_double_mapped
  get_downstream_lcm_nitems
- gr::buffer_double_mapped
  get_mapping_type
- gr::buffer_double_mapped
  get_max_reader_output_multiple
- gr::buffer_double_mapped
  get_sizeof_item
- gr::buffer_double_mapped
  get_tags_begin
- gr::buffer_double_mapped
  get_tags_end
- gr::buffer_double_mapped
  get_tags_lower_bound
- gr::buffer_double_mapped
  get_tags_upper_bound
- gr::buffer_double_mapped
  increment_active
- gr::buffer_double_mapped
  index_add
- gr::buffer_double_mapped
  index_sub
- gr::buffer_double_mapped
  input_blkd_cb_ready
- gr::buffer_double_mapped
  input_blocked_callback
- gr::buffer_double_mapped
  link
- gr::buffer_double_mapped
  make_buffer
- gr::buffer_double_mapped
  make_buffer
- gr::buffer_double_mapped
  make_buffer_double_mapped
- gr::buffer_double_mapped
  mutex
- gr::buffer_double_mapped
  nitems_written
- gr::buffer_double_mapped
  nreaders
- gr::buffer_double_mapped
  on_lock
- gr::buffer_double_mapped
  on_unlock
- gr::buffer_double_mapped
  output_blkd_cb_ready
- gr::buffer_double_mapped
  output_blocked_callback
- gr::buffer_double_mapped
  post_work
- gr::buffer_double_mapped
  prune_tags
- gr::buffer_double_mapped
  reader
- gr::buffer_double_mapped
  remove_item_tag
- gr::buffer_double_mapped
  reset_nitem_counter
- gr::buffer_double_mapped
  set_done
- gr::buffer_double_mapped
  set_transfer_type
- gr::buffer_double_mapped
  space_available
- gr::buffer_double_mapped
  type
- gr::buffer_double_mapped
  update_reader_block_history
- gr::buffer_double_mapped
  update_write_pointer
- gr::buffer_double_mapped
  write_pointer
- gr::buffer_double_mapped
  ~buffer
- gr::buffer_double_mapped
  ~buffer_double_mapped
- gr::buffer_double_mapped
  ~custom_lock_if