libkvikio  23.12.00
Classes | Public Member Functions | List of all members
kvikio::detail::AllocRetain Class Reference

Class to retain host memory allocations. More...

#include <posix_io.hpp>

Classes

class  Alloc
 

Public Member Functions

Alloc get ()
 
void put (void *alloc)
 
void clear ()
 
 AllocRetain (const AllocRetain &)=delete
 
AllocRetainoperator= (AllocRetain const &)=delete
 
 AllocRetain (AllocRetain &&o)=delete
 
AllocRetainoperator= (AllocRetain &&o)=delete
 

Detailed Description

Class to retain host memory allocations.

Call AllocRetain::get to get an allocation that will be retained when it goes out of scope (RAII). The size of all allocations are posix_bounce_buffer_size.

Definition at line 41 of file posix_io.hpp.


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