Represents a block of memory used to store a message. More...
#include <multicast_group.hpp>
Public Member Functions | |
MessageBuffer () | |
MessageBuffer (size_t size) | |
MessageBuffer (const MessageBuffer &)=delete | |
MessageBuffer (MessageBuffer &&)=default | |
MessageBuffer & | operator= (const MessageBuffer &)=delete |
MessageBuffer & | operator= (MessageBuffer &&)=default |
Public Attributes | |
std::unique_ptr< char[]> | buffer |
std::shared_ptr< rdma::memory_region > | mr |
Represents a block of memory used to store a message.
This object contains both the array of bytes in which the message is stored and the corresponding RDMA memory region (which has registered that array of bytes as its buffer). This is a move-only type, since memory regions can't be copied.
Definition at line 172 of file multicast_group.hpp.
|
inline |
Definition at line 176 of file multicast_group.hpp.
|
inline |
Definition at line 177 of file multicast_group.hpp.
|
delete |
|
default |
|
delete |
|
default |
std::unique_ptr<char[]> derecho::MessageBuffer::buffer |
Definition at line 173 of file multicast_group.hpp.
std::shared_ptr<rdma::memory_region> derecho::MessageBuffer::mr |
Definition at line 174 of file multicast_group.hpp.