#include <support/IMemory.h>
Inheritance diagram for IMemoryDealer:
The single API, Allocate(), performs in allocation a shared memory heap and returns an IMemory handle to that allocation, and transfers access to the shared memory back to the calling process.
There is no explicit API to free the memory. Instead, it will be freed automatically when all references to the returned IMemory object go away and the object is destroyed.
Public Member Functions | |
virtual sptr< IMemory > | Allocate (size_t size, uint32_t properties)=0 |
Allocates shared memory and returns an IMemory. |
|
Allocates shared memory and returns an IMemory.
|