HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 >
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 334 of file oidn.hpp.

Constructor & Destructor Documentation

DeviceRef::DeviceRef ( )
inline

Definition at line 340 of file oidn.hpp.

DeviceRef::DeviceRef ( OIDNDevice  handle)
inline

Definition at line 341 of file oidn.hpp.

DeviceRef::DeviceRef ( const DeviceRef other)
inline

Definition at line 343 of file oidn.hpp.

DeviceRef::DeviceRef ( DeviceRef &&  other)
inline

Definition at line 349 of file oidn.hpp.

DeviceRef::~DeviceRef ( )
inline

Definition at line 383 of file oidn.hpp.

Member Function Documentation

void DeviceRef::commit ( )
inline

Definition at line 437 of file oidn.hpp.

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

Definition at line 463 of file oidn.hpp.

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

Definition at line 470 of file oidn.hpp.

Error DeviceRef::getError ( )
inline

Definition at line 423 of file oidn.hpp.

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

Definition at line 430 of file oidn.hpp.

OIDNDevice DeviceRef::getHandle ( ) const
inline

Definition at line 389 of file oidn.hpp.

BufferRef DeviceRef::newBuffer ( size_t  byteSize)
inline

Definition at line 443 of file oidn.hpp.

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

Definition at line 449 of file oidn.hpp.

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

Definition at line 455 of file oidn.hpp.

DeviceRef::operator bool ( ) const
inline

Definition at line 394 of file oidn.hpp.

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

Definition at line 354 of file oidn.hpp.

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

Definition at line 367 of file oidn.hpp.

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

Definition at line 373 of file oidn.hpp.

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

Definition at line 400 of file oidn.hpp.

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

Definition at line 406 of file oidn.hpp.

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

Definition at line 416 of file oidn.hpp.


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