LCI v2.0.0-dev
For Asynchronous Multithreaded Communication
Loading...
Searching...
No Matches
lci::buffer_t Struct Reference

The type of a local buffer descriptor. More...

#include <lci.hpp>

Collaboration diagram for lci::buffer_t:
[legend]

Public Member Functions

 buffer_t ()
 
 buffer_t (void *base_, size_t size_)
 
 buffer_t (void *base_, size_t size_, mr_t mr_)
 

Public Attributes

void * base
 
size_t size
 
mr_t mr
 

Detailed Description

The type of a local buffer descriptor.

A buffer descriptor does not own the buffer, i.e. it will never copy or free the buffer. Users are responsible for managing the lifecycle of the memory buffer being described.

Constructor & Destructor Documentation

◆ buffer_t() [1/3]

lci::buffer_t::buffer_t ( )
inline

◆ buffer_t() [2/3]

lci::buffer_t::buffer_t ( void * base_,
size_t size_ )
inline

◆ buffer_t() [3/3]

lci::buffer_t::buffer_t ( void * base_,
size_t size_,
mr_t mr_ )
inline

Member Data Documentation

◆ base

void* lci::buffer_t::base

The base address of the buffer

◆ mr

mr_t lci::buffer_t::mr

The registered memory region of the buffer

◆ size

size_t lci::buffer_t::size

The size of the buffer


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