Public Member Functions | |
| virtual void | release ()=0 | 
| virtual void * | allocate (size_t)=0 | 
| virtual void | deallocate (void *)=0 | 
Protected Member Functions | |
| MemoryPool () | |
| virtual | ~MemoryPool () | 
Memory pool abstraction.
Defines interface for memory block allocation and disposing.
Definition at line 37 of file MemoryPool.h.
      
  | 
  inlineprotected | 
Default initialization.
Instance construction is assumed through descendants.
Definition at line 58 of file MemoryPool.h.
      
  | 
  inlineprotectedvirtual | 
Destruction is through descendants.
Definition at line 63 of file MemoryPool.h.
      
  | 
  pure virtual | 
Allocates memory block of given size.
      
  | 
  pure virtual | 
Releases previously allocated memory block.
      
  | 
  pure virtual | 
Releases given instance.