#include <Based_Pointer_Repository.h>
Collaboration diagram for ACE_Based_Pointer_Repository:
Public Methods | |
ACE_Based_Pointer_Repository (void) | |
~ACE_Based_Pointer_Repository (void) | |
int | find (void *addr, void *&base_addr) |
int | bind (void *addr, size_t size) |
int | unbind (void *addr) |
Private Attributes | |
ACE_Based_Pointer_Repository_Rep * | rep_ |
|
|
|
|
|
Bind a new entry to the repository or update the size of an existing entry. Returns 0 on success and -1 on failure. |
|
Return the appropriate <base_addr> region that contains <addr>. Returns 1 on success and 0 if the <addr> isn't contained in any <base_addr> region. |
|
Unbind from the repository the <base_addr> that <addr> is contained within. |
|
Use the "Cheshire-Cat" technique to hide the implementation in order to avoid circular include dependencies. |