OnixS C++ CME MDP Premium Market Data Handler 5.9.0
API Documentation
Loading...
Searching...
No Matches
MboBookBase Class Reference

Protected Types

typedef MemoryPoolAllocator< OrderOrderAllocator

Protected Member Functions

 MboBookBase ()
 MboBookBase (MemoryPool &sharedPool)
 ~MboBookBase ()
OrderAllocator allocator () const

Detailed Description

Manages internals related with efficient order entry allocation.

Definition at line 32 of file MboBook.h.

Member Typedef Documentation

◆ OrderAllocator

Instantiates allocator using MemoryPool for orders.

Definition at line 36 of file MboBook.h.

Constructor & Destructor Documentation

◆ MboBookBase() [1/2]

MboBookBase ( )
inlineprotected

Initializes with privately maintained memory pool.

Definition at line 39 of file MboBook.h.

◆ MboBookBase() [2/2]

MboBookBase ( MemoryPool & sharedPool)
inlineprotected

Binds to given memory pool.

Definition at line 46 of file MboBook.h.

◆ ~MboBookBase()

~MboBookBase ( )
inlineprotected

Releases memory pool according to policy.

Definition at line 53 of file MboBook.h.

Member Function Documentation

◆ allocator()

OrderAllocator allocator ( ) const
inlineprotected

Allocator over memory pool.

Definition at line 60 of file MboBook.h.