QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Tiny smart-pointer-like wrapper around CPLMalloc and CPLFree: this is needed because OpenCL C++ API may throw exceptions. More...
#include <qgsopenclutils.h>
Public Member Functions | |
CPLAllocator (unsigned long size) | |
~CPLAllocator () | |
T * | get () |
T & | operator* () |
T & | operator[] (const int index) |
T * | release () |
void | reset (T *newData) |
void | reset (unsigned long size) |
Tiny smart-pointer-like wrapper around CPLMalloc and CPLFree: this is needed because OpenCL C++ API may throw exceptions.
Definition at line 237 of file qgsopenclutils.h.
|
inlineexplicit |
Definition at line 242 of file qgsopenclutils.h.
|
inline |
Definition at line 244 of file qgsopenclutils.h.
|
inline |
Definition at line 278 of file qgsopenclutils.h.
|
inline |
Definition at line 261 of file qgsopenclutils.h.
|
inline |
Definition at line 273 of file qgsopenclutils.h.
|
inline |
Definition at line 266 of file qgsopenclutils.h.
|
inline |
Definition at line 249 of file qgsopenclutils.h.
|
inline |
Definition at line 256 of file qgsopenclutils.h.