Mmap Class Reference

Space-ng SDK: sol3::core::impl::Mmap Class Reference
Space-ng SDK
sol3::core::impl::Mmap Class Reference

#include <sol3/core/shmem_buffer_impl.h>

Public Member Functions

 Mmap ()=default
 
 Mmap (void *addr, size_t length, int prot, int flags, int fd, off_t offset)
 
 ~Mmap ()
 
void * data () const
 
size_t size () const
 
bool valid () const
 
 Mmap (Mmap const &)=delete
 
Mmapoperator= (Mmap const &)=delete
 
 Mmap (Mmap &&other) noexcept
 
Mmapoperator= (Mmap &&other) noexcept
 

Constructor & Destructor Documentation

◆ Mmap() [1/4]

sol3::core::impl::Mmap::Mmap ( )
default

◆ Mmap() [2/4]

sol3::core::impl::Mmap::Mmap ( void *  addr,
size_t  length,
int  prot,
int  flags,
int  fd,
off_t  offset 
)

◆ ~Mmap()

sol3::core::impl::Mmap::~Mmap ( )

◆ Mmap() [3/4]

sol3::core::impl::Mmap::Mmap ( Mmap const &  )
delete

◆ Mmap() [4/4]

sol3::core::impl::Mmap::Mmap ( Mmap &&  other)
noexcept

Member Function Documentation

◆ data()

void* sol3::core::impl::Mmap::data ( ) const

◆ operator=() [1/2]

Mmap& sol3::core::impl::Mmap::operator= ( Mmap &&  other)
noexcept

◆ operator=() [2/2]

Mmap& sol3::core::impl::Mmap::operator= ( Mmap const &  )
delete

◆ size()

size_t sol3::core::impl::Mmap::size ( ) const

◆ valid()

bool sol3::core::impl::Mmap::valid ( ) const

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