|
TuttleOFX
1
|
#include <OfxhMemory.hpp>
Public Member Functions | |
| OfxhMemory () | |
| virtual | ~OfxhMemory () |
| virtual bool | alloc (size_t nBytes) |
| virtual OfxImageMemoryHandle | getHandle () |
| virtual void | freeMem () |
| virtual void * | getPtr () |
| virtual void | lock () |
| virtual void | unlock () |
| virtual bool | verifyMagic () |
Protected Attributes | |
| char * | _ptr |
| bool | _locked |
Definition at line 43 of file OfxhMemory.hpp.
| tuttle::host::ofx::OfxhMemory::OfxhMemory | ( | ) |
Definition at line 41 of file OfxhMemory.cpp.
| tuttle::host::ofx::OfxhMemory::~OfxhMemory | ( | ) | [virtual] |
Definition at line 46 of file OfxhMemory.cpp.
References _ptr.
| bool tuttle::host::ofx::OfxhMemory::alloc | ( | size_t | nBytes | ) | [virtual] |
Definition at line 51 of file OfxhMemory.cpp.
References _locked, _ptr, and freeMem().
Referenced by tuttle::host::ImageEffectNode::newMemoryInstance().

| void tuttle::host::ofx::OfxhMemory::freeMem | ( | ) | [virtual] |
| OfxImageMemoryHandle tuttle::host::ofx::OfxhMemory::getHandle | ( | void | ) | [virtual] |
Definition at line 64 of file OfxhMemory.cpp.
| void * tuttle::host::ofx::OfxhMemory::getPtr | ( | ) | [virtual] |
Definition at line 75 of file OfxhMemory.cpp.
References _ptr.
| void tuttle::host::ofx::OfxhMemory::lock | ( | void | ) | [virtual] |
Definition at line 80 of file OfxhMemory.cpp.
References _locked.
| void tuttle::host::ofx::OfxhMemory::unlock | ( | void | ) | [virtual] |
Definition at line 85 of file OfxhMemory.cpp.
References _locked.
| virtual bool tuttle::host::ofx::OfxhMemory::verifyMagic | ( | ) | [inline, virtual] |
Definition at line 56 of file OfxhMemory.hpp.
bool tuttle::host::ofx::OfxhMemory::_locked [protected] |
Definition at line 60 of file OfxhMemory.hpp.
char* tuttle::host::ofx::OfxhMemory::_ptr [protected] |
Definition at line 59 of file OfxhMemory.hpp.
Referenced by alloc(), freeMem(), getPtr(), and ~OfxhMemory().