gatb.core-API-1.4.2
IMemory.hpp File Reference

Implementation of an abstraction for dynamic memory allocation. More...

#include <gatb/system/api/types.hpp>
#include <string>
Include dependency graph for IMemory.hpp:

Classes

class  IMemoryAllocator
 Interface providing methods for dynamic allocation. More...
 
class  IMemoryOperations
 Interface providing methods for manipulating memory blocks. More...
 
class  IMemory
 Interface providing methods for dynamic allocation and memory statistics. More...
 
class  IMemoryComponent
 Interface providing methods for getting memory usage by a component. More...
 

Namespaces

 gatb::core
 Core package of the GATP project.
 
 gatb::core::system
 Operating System abstraction layer.
 

Variables

const u_int64_t KBYTE = (1ULL << 10)
 
const u_int64_t MBYTE = (1ULL << 20)
 
const u_int64_t GBYTE = (1ULL << 30)
 

Detailed Description

Implementation of an abstraction for dynamic memory allocation.

Date
01/03/2013
Author
edrezen We define abstraction for malloc,realloc... functions. Note that failures during execution of the methods should throw a specific exception.