OnixS C++ CME MDP Conflated UDP Handler  1.1.2
API documentation
MemoryPool Class Referenceabstract

#include <OnixS/CME/ConflatedUDP/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

Memory pool abstraction.

Defines interface for memory block allocation and disposing.

Definition at line 37 of file MemoryPool.h.

Constructor & Destructor Documentation

MemoryPool ( )

Default initialization.

Instance construction is assumed through descendants.

Definition at line 58 of file MemoryPool.h.

virtual ~MemoryPool ( )

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: