#include <oidn.hpp>
|
| | DeviceRef () |
| |
| | DeviceRef (OIDNDevice handle) |
| |
| | DeviceRef (const DeviceRef &other) |
| |
| | DeviceRef (DeviceRef &&other) noexcept |
| |
| DeviceRef & | operator= (const DeviceRef &other) |
| |
| DeviceRef & | operator= (DeviceRef &&other) noexcept |
| |
| DeviceRef & | operator= (OIDNDevice other) |
| |
| | ~DeviceRef () |
| |
| OIDNDevice | getHandle () const |
| |
| | operator bool () const |
| |
| void | release () |
| |
| void | set (const char *name, bool value) |
| |
| void | set (const char *name, int value) |
| |
| void | set (const char *name, unsigned int value) |
| |
| template<typename T > |
| T | get (const char *name) const |
| |
| void | setErrorFunction (ErrorFunction func, void *userPtr=nullptr) |
| |
| Error | getError () |
| |
| Error | getError (const char *&outMessage) |
| |
| void | commit () |
| |
| void | sync () |
| |
| BufferRef | newBuffer (size_t byteSize) const |
| |
| BufferRef | newBuffer (size_t byteSize, Storage storage) const |
| |
| BufferRef | newBuffer (void *ptr, size_t byteSize) const |
| |
| BufferRef | newBuffer (ExternalMemoryTypeFlag fdType, int fd, size_t byteSize) const |
| |
| BufferRef | newBuffer (ExternalMemoryTypeFlag handleType, void *handle, const void *name, size_t byteSize) const |
| |
| FilterRef | newFilter (const char *type) const |
| |
| template<> |
| bool | get (const char *name) const |
| |
| template<> |
| int | get (const char *name) const |
| |
| template<> |
| unsigned int | get (const char *name) const |
| |
| template<> |
| DeviceType | get (const char *name) const |
| |
| template<> |
| ExternalMemoryTypeFlags | get (const char *name) const |
| |
Definition at line 612 of file oidn.hpp.
| DeviceRef::DeviceRef |
( |
const DeviceRef & |
other | ) |
|
|
inline |
| DeviceRef::~DeviceRef |
( |
| ) |
|
|
inline |
| void DeviceRef::commit |
( |
| ) |
|
|
inline |
template<typename T >
| T DeviceRef::get |
( |
const char * |
name | ) |
const |
template<>
| bool DeviceRef::get |
( |
const char * |
name | ) |
const |
|
inline |
template<>
| int DeviceRef::get |
( |
const char * |
name | ) |
const |
|
inline |
template<>
| unsigned int DeviceRef::get |
( |
const char * |
name | ) |
const |
|
inline |
template<>
| DeviceType DeviceRef::get |
( |
const char * |
name | ) |
const |
|
inline |
| Error DeviceRef::getError |
( |
| ) |
|
|
inline |
| Error DeviceRef::getError |
( |
const char *& |
outMessage | ) |
|
|
inline |
| BufferRef DeviceRef::newBuffer |
( |
size_t |
byteSize | ) |
const |
|
inline |
| BufferRef DeviceRef::newBuffer |
( |
void * |
ptr, |
|
|
size_t |
byteSize |
|
) |
| const |
|
inline |
| FilterRef DeviceRef::newFilter |
( |
const char * |
type | ) |
const |
|
inline |
| DeviceRef::operator bool |
( |
| ) |
const |
|
inline |
| void DeviceRef::release |
( |
| ) |
|
|
inline |
| void DeviceRef::set |
( |
const char * |
name, |
|
|
bool |
value |
|
) |
| |
|
inline |
| void DeviceRef::set |
( |
const char * |
name, |
|
|
int |
value |
|
) |
| |
|
inline |
| void DeviceRef::set |
( |
const char * |
name, |
|
|
unsigned int |
value |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: