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

#include <oidn.hpp>

Public Member Functions

 DeviceRef ()
 
 DeviceRef (OIDNDevice handle)
 
 DeviceRef (const DeviceRef &other)
 
 DeviceRef (DeviceRef &&other)
 
DeviceRefoperator= (const DeviceRef &other)
 
DeviceRefoperator= (DeviceRef &&other)
 
DeviceRefoperator= (OIDNDevice other)
 
 ~DeviceRef ()
 
OIDNDevice getHandle () const
 
 operator bool () const
 
void set (const char *name, bool value)
 
void set (const char *name, int value)
 
template<typename T >
get (const char *name)
 
void setErrorFunction (ErrorFunction func, void *userPtr=nullptr)
 
Error getError ()
 
Error getError (const char *&outMessage)
 
void commit ()
 
BufferRef newBuffer (size_t byteSize)
 
BufferRef newBuffer (void *ptr, size_t byteSize)
 
FilterRef newFilter (const char *type)
 
template<>
bool get (const char *name)
 
template<>
int get (const char *name)
 

Detailed Description

Definition at line 321 of file oidn.hpp.

Constructor & Destructor Documentation

oidn::DeviceRef::DeviceRef ( )
inline

Definition at line 327 of file oidn.hpp.

oidn::DeviceRef::DeviceRef ( OIDNDevice  handle)
inline

Definition at line 328 of file oidn.hpp.

oidn::DeviceRef::DeviceRef ( const DeviceRef other)
inline

Definition at line 330 of file oidn.hpp.

oidn::DeviceRef::DeviceRef ( DeviceRef &&  other)
inline

Definition at line 336 of file oidn.hpp.

oidn::DeviceRef::~DeviceRef ( )
inline

Definition at line 370 of file oidn.hpp.

Member Function Documentation

void oidn::DeviceRef::commit ( )
inline

Definition at line 424 of file oidn.hpp.

template<typename T >
T oidn::DeviceRef::get ( const char *  name)
template<>
bool oidn::DeviceRef::get ( const char *  name)
inline

Definition at line 450 of file oidn.hpp.

template<>
int oidn::DeviceRef::get ( const char *  name)
inline

Definition at line 457 of file oidn.hpp.

Error oidn::DeviceRef::getError ( )
inline

Definition at line 410 of file oidn.hpp.

Error oidn::DeviceRef::getError ( const char *&  outMessage)
inline

Definition at line 417 of file oidn.hpp.

OIDNDevice oidn::DeviceRef::getHandle ( ) const
inline

Definition at line 376 of file oidn.hpp.

BufferRef oidn::DeviceRef::newBuffer ( size_t  byteSize)
inline

Definition at line 430 of file oidn.hpp.

BufferRef oidn::DeviceRef::newBuffer ( void ptr,
size_t  byteSize 
)
inline

Definition at line 436 of file oidn.hpp.

FilterRef oidn::DeviceRef::newFilter ( const char *  type)
inline

Definition at line 442 of file oidn.hpp.

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

Definition at line 381 of file oidn.hpp.

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

Definition at line 341 of file oidn.hpp.

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

Definition at line 354 of file oidn.hpp.

DeviceRef& oidn::DeviceRef::operator= ( OIDNDevice  other)
inline

Definition at line 360 of file oidn.hpp.

void oidn::DeviceRef::set ( const char *  name,
bool  value 
)
inline

Definition at line 387 of file oidn.hpp.

void oidn::DeviceRef::set ( const char *  name,
int  value 
)
inline

Definition at line 393 of file oidn.hpp.

void oidn::DeviceRef::setErrorFunction ( ErrorFunction  func,
void userPtr = nullptr 
)
inline

Definition at line 403 of file oidn.hpp.


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