OnixS C++ FIX Engine 4.13.0
API Documentation
Loading...
Searching...
No Matches
PoolAllocatorBase Class Referenceabstract

Public Member Functions

virtual ~PoolAllocatorBase () ONIXS_FIXENGINE_DEFAULT
virtual ItemBasealloc ()=0
virtual void free (ItemBase *element) const

Detailed Description

Definition at line 93 of file Definitions.h.

Constructor & Destructor Documentation

◆ ~PoolAllocatorBase()

virtual ~PoolAllocatorBase ( )
virtual

Destructs the instance.

Member Function Documentation

◆ alloc()

virtual ItemBase * alloc ( )
pure virtual

A strategy to create an item.

◆ free()

virtual void free ( ItemBase * element) const
inlinevirtual

A strategy to destroy an item.

Definition at line 104 of file Definitions.h.