OnixS C++ CME MDP Premium Market Data Handler  5.8.9
API Documentation
MemoryPool Class Referenceabstract

#include <OnixS/CME/MDH/MemoryPool.h>

Public Member Functions

virtual void release ()=0
 
virtual void * allocate (size_t)=0
 
virtual void deallocate (void *)=0
 

Protected Member Functions

 MemoryPool ()
 
virtual ~MemoryPool ()
 

Detailed Description

Defines interface for memory block allocation and disposing.

Definition at line 35 of file MemoryPool.h.

Constructor & Destructor Documentation

MemoryPool ( )
inlineprotected

Default initialization.

Instance construction is assumed through descendants.

Definition at line 56 of file MemoryPool.h.

virtual ~MemoryPool ( )
inlineprotectedvirtual

Destruction is through descendants.

Definition at line 59 of file MemoryPool.h.

Member Function Documentation

virtual void* allocate ( size_t  )
pure virtual

Allocates memory block of given size.

virtual void deallocate ( void *  )
pure virtual

Releases previously allocated memory block.

virtual void release ( )
pure virtual

Releases given instance.


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