OnixS C++ CME MDP Streamlined Market Data Handler  1.2.0
API Documentation
MemoryPool Class Referenceabstract

#include <OnixS/CME/Streamlined/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 37 of file MemoryPool.h.

Constructor & Destructor Documentation

MemoryPool ( )
inlineprotected

Default initialization.

Instance construction is assumed through descendants.

Definition at line 58 of file MemoryPool.h.

virtual ~MemoryPool ( )
inlineprotectedvirtual

Destruction is through descendants.

Definition at line 63 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: