dng_memory_allocator Class Reference

Interface for dng_memory_block allocator. More...

#include <dng_memory.h>

List of all members.


Public Member Functions

virtual dng_memory_blockAllocate (uint32 size)

Detailed Description

Interface for dng_memory_block allocator.

Member Function Documentation

dng_memory_block * dng_memory_allocator::Allocate ( uint32  size  )  [virtual]

Allocate a dng_memory block.

Parameters:
size Number of bytes in memory block.
Return values:
A dng_memory_block with at least size bytes of valid storage.
Exceptions:
dng_exception with fErrorCode equal to dng_error_memory.

References ThrowMemoryFull().

Referenced by dng_host::Allocate(), dng_stream::AsMemoryBlock(), dng_1d_table::Initialize(), and dng_filter_task::Start().


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

Copyright © 2006-2009 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google