IMemoryDealer Class Reference
[Binder]

#include <support/IMemory.h>

Inheritance diagram for IMemoryDealer:

IInterface SAtom BnInterface< IMemoryDealer > BpInterface< IMemoryDealer > BnMemoryDealer List of all members.

Detailed Description

Interface to a service that can perform shared memory allocations.

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.

Note:
This is a custom interface, it is not generated by pidgen.


Public Member Functions

virtual sptr< IMemoryAllocate (size_t size, uint32_t properties)=0
 Allocates shared memory and returns an IMemory.


Member Function Documentation

virtual sptr<IMemory> Allocate size_t  size,
uint32_t  properties
[pure virtual]
 

Allocates shared memory and returns an IMemory.


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