PMDK C++ bindings  1.13.0-git107.g7e59f08f
This is the C++ bindings documentation for PMDK's libpmemobj.
pmem::obj::experimental::mpsc_queue::batch_type Class Reference

Type representing the range of the mpsc_queue elements. More...

#include <libpmemobj++/experimental/mpsc_queue.hpp>

Public Member Functions

 batch_type (iterator begin, iterator end)
 Constructs batch_type object. More...
 
iterator begin () const
 Returns an iterator to the beginning of the accessed range of the mpsc_queue. More...
 
iterator end () const
 Returns an iterator to the end of the accessed range of the mpsc_queue. More...
 

Detailed Description

Type representing the range of the mpsc_queue elements.

May be used in the range-based loops over accessed elements.

Constructor & Destructor Documentation

◆ batch_type()

pmem::obj::experimental::mpsc_queue::batch_type::batch_type ( iterator  begin_,
iterator  end_ 
)
inline

Constructs batch_type object.

Represents the range (from

Parameters
begin_to
end_)of the mpsc_queue elements.

Member Function Documentation

◆ begin()

mpsc_queue::iterator pmem::obj::experimental::mpsc_queue::batch_type::begin ( ) const
inline

Returns an iterator to the beginning of the accessed range of the mpsc_queue.

Returns
Iterator to the first element.

◆ end()

mpsc_queue::iterator pmem::obj::experimental::mpsc_queue::batch_type::end ( ) const
inline

Returns an iterator to the end of the accessed range of the mpsc_queue.

Returns
Iterator to the last element.

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