mmap-based allocator.
More...
#include <MMAP_Allocator.h>
List of all members.
Public Member Functions |
| TAO_MMAP_Allocator (void) |
| Constructor.
|
virtual | ~TAO_MMAP_Allocator (void) |
| Destructor.
|
ACE_HANDLE | handle (void) |
| Return backing store handle.
|
off_t | offset (void *p) |
| ACE_Allocator_Adapter (const char *pool_name=0) |
| ACE_Allocator_Adapter (const char *pool_name, const char *lock_name, MEMORY_POOL_OPTIONS options=0) |
| ACE_Allocator_Adapter (const wchar_t *pool_name) |
| ACE_Allocator_Adapter (const wchar_t *pool_name, const wchar_t *lock_name, MEMORY_POOL_OPTIONS options=0) |
virtual | ~ACE_Allocator_Adapter (void) |
virtual void * | malloc (size_t nbytes) |
virtual void * | calloc (size_t nbytes, char initial_value= '\0') |
virtual void * | calloc (size_t n_elem, size_t elem_size, char initial_value= '\0') |
virtual void | free (void *ptr) |
virtual int | remove (void) |
virtual int | bind (const char *name, void *pointer, int duplicates=0) |
virtual int | trybind (const char *name, void *&pointer) |
virtual int | find (const char *name, void *&pointer) |
virtual int | find (const char *name) |
virtual int | unbind (const char *name) |
virtual int | unbind (const char *name, void *&pointer) |
virtual int | sync (ssize_t len=-1, int flags=MS_SYNC) |
virtual int | sync (void *addr, size_t len, int flags=MS_SYNC) |
virtual int | protect (ssize_t len=-1, int prot=PROT_RDWR) |
virtual int | protect (void *addr, size_t len, int prot=PROT_RDWR) |
ALLOCATOR & | alloc (void) |
virtual void | dump (void) const |
| ACE_Allocator (void) |
virtual | ~ACE_Allocator (void) |
Detailed Description
mmap-based allocator.
This class utilizes and
Constructor & Destructor Documentation
TAO_MMAP_Allocator::TAO_MMAP_Allocator |
( |
void |
| ) |
|
TAO_MMAP_Allocator::~TAO_MMAP_Allocator |
( |
void |
| ) |
|
|
virtual |
Member Function Documentation
ACE_HANDLE TAO_MMAP_Allocator::handle |
( |
void |
| ) |
|
Return backing store handle.
off_t TAO_MMAP_Allocator::offset |
( |
void * |
p | ) |
|
Return offset in backing store file for memory address p. If p is not coming from this allocator -1 is returned.
The documentation for this class was generated from the following files: