HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
oidn::BufferRef Class Reference

#include <oidn.hpp>

Public Member Functions

 BufferRef ()
 
 BufferRef (OIDNBuffer handle)
 
 BufferRef (const BufferRef &other)
 
 BufferRef (BufferRef &&other)
 
BufferRefoperator= (const BufferRef &other)
 
BufferRefoperator= (BufferRef &&other)
 
BufferRefoperator= (OIDNBuffer other)
 
 ~BufferRef ()
 
OIDNBuffer getHandle () const
 
 operator bool () const
 
voidmap (Access access=Access::ReadWrite, size_t byteOffset=0, size_t byteSize=0)
 
void unmap (void *mappedPtr)
 

Detailed Description

Definition at line 50 of file oidn.hpp.

Constructor & Destructor Documentation

oidn::BufferRef::BufferRef ( )
inline

Definition at line 56 of file oidn.hpp.

oidn::BufferRef::BufferRef ( OIDNBuffer  handle)
inline

Definition at line 57 of file oidn.hpp.

oidn::BufferRef::BufferRef ( const BufferRef other)
inline

Definition at line 59 of file oidn.hpp.

oidn::BufferRef::BufferRef ( BufferRef &&  other)
inline

Definition at line 65 of file oidn.hpp.

oidn::BufferRef::~BufferRef ( )
inline

Definition at line 99 of file oidn.hpp.

Member Function Documentation

OIDNBuffer oidn::BufferRef::getHandle ( ) const
inline

Definition at line 105 of file oidn.hpp.

void* oidn::BufferRef::map ( Access  access = Access::ReadWrite,
size_t  byteOffset = 0,
size_t  byteSize = 0 
)
inline

Definition at line 117 of file oidn.hpp.

oidn::BufferRef::operator bool ( ) const
inline

Definition at line 110 of file oidn.hpp.

BufferRef& oidn::BufferRef::operator= ( const BufferRef other)
inline

Definition at line 70 of file oidn.hpp.

BufferRef& oidn::BufferRef::operator= ( BufferRef &&  other)
inline

Definition at line 83 of file oidn.hpp.

BufferRef& oidn::BufferRef::operator= ( OIDNBuffer  other)
inline

Definition at line 89 of file oidn.hpp.

void oidn::BufferRef::unmap ( void mappedPtr)
inline

Definition at line 124 of file oidn.hpp.


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