PMDK C++ bindings
1.13.0-git107.g7e59f08f
This is the C++ bindings documentation for PMDK's libpmemobj.
|
Type representing persistent data, which may be managed by mpsc_queue. More...
#include <libpmemobj++/experimental/mpsc_queue.hpp>
Public Member Functions | |
pmem_log_type (size_t size) | |
Constructs pmem_log_type object. More... | |
pmem::obj::string_view | data () |
Returns pmem::obj::string_view which allows to read-only access to the underlying buffer. More... | |
Friends | |
class | mpsc_queue |
Type representing persistent data, which may be managed by mpsc_queue.
Object of this type has to be managed by pmem::obj::pool, to be usable in mpsc_queue. Once created, pmem_log_type object cannot be resized.
size | size of the log. |
pmem::obj::experimental::mpsc_queue::pmem_log_type::pmem_log_type | ( | size_t | size | ) |
Constructs pmem_log_type object.
size | size of the log in bytes |
|
inline |
Returns pmem::obj::string_view which allows to read-only access to the underlying buffer.