Protected Types | Protected Member Functions | Static Protected Member Functions | Friends | List of all members
MemoryPoolDynamic Class Referenceabstract
Inheritance diagram for MemoryPoolDynamic:
MemoryPoolDynamicPrealloc MemoryPoolDynamicStatic

Protected Types

enum  { INVALID_ID =0xFFFFFFFF }
 
typedef uint64_t ID
 

Protected Member Functions

virtual ID alloc (size_t p_amount, const char *p_description)=0
 
virtual void free (ID p_id)=0
 
virtual Error realloc (ID p_id, size_t p_amount)=0
 
virtual bool is_valid (ID p_id)=0
 
virtual size_t get_size (ID p_id) const =0
 
virtual const char * get_description (ID p_id) const =0
 
virtual Error lock (ID p_id)=0
 
virtual void * get (ID p_ID)=0
 
virtual Error unlock (ID p_id)=0
 
virtual bool is_locked (ID p_id) const =0
 
virtual size_t get_available_mem () const =0
 
virtual size_t get_total_usage () const =0
 

Static Protected Member Functions

static MemoryPoolDynamicget_singleton ()
 

Friends

class Memory
 
class MID
 

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