#include <protocols.h>
Inheritance diagram for ucommon::MemoryRedirect:
Public Member Functions | |
virtual void * | _alloc (size_t size) |
Protocol to allocate memory from the pager heap. | |
MemoryRedirect (MemoryProtocol *protocol) |
This is used because sometimes we choose a common memory pool to manage different objects.
Definition at line 103 of file protocols.h.
virtual void* ucommon::MemoryRedirect::_alloc | ( | size_t | size | ) | [virtual] |
Protocol to allocate memory from the pager heap.
The size of the request must be less than the size of the memory page used. The actual method is in a derived or stacked object.
size | of memory request. |
Implements ucommon::MemoryProtocol.