by::allocator Class Referenceabstract

Abstract allocator interface for memory management. More...

#include <allocator.hpp>

Inheritance diagram for by::allocator:
by::memoryHaver by::chunk by::chunks by::watcher

Public Member Functions

 allocator (ncnt blksize=1)
 
virtual void * new1 ()=0
 
virtual nbool del (void *used, ncnt sz)=0
 
ncnt getBlkSize () const
 
- Public Member Functions inherited from by::memoryHaver
virtual nbool has (const instance &it) const =0
 
nbool has (const instance *it) const BY_SIDE_FUNC(has)
 
virtual ncnt len () const =0
 
virtual ncnt size () const =0
 
virtual nbool rel ()=0
 
nbool isFull () const
 
nbool isCapable () const
 

Additional Inherited Members

- Protected Member Functions inherited from by::memoryHaver
virtual void * _get (nidx n)=0
 

Detailed Description

Abstract allocator interface for memory management.

Provides block-based allocation and deallocation interface. Base class for various allocation strategies in the memory pool system.


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