unilink  0.4.3
A simple C++ library for unified async communication
unilink::memory::GlobalMemoryPool Class Reference

Global memory pool instance. More...

#include <memory_pool.hpp>

Public Member Functions

 GlobalMemoryPool ()=delete
 
 GlobalMemoryPool (const GlobalMemoryPool &)=delete
 
GlobalMemoryPooloperator= (const GlobalMemoryPool &)=delete
 

Static Public Member Functions

static MemoryPoolinstance ()
 
static std::unique_ptr< MemoryPoolcreate_optimized ()
 
static std::unique_ptr< MemoryPoolcreate_size_optimized ()
 

Detailed Description

Global memory pool instance.

Definition at line 123 of file memory_pool.hpp.

Constructor & Destructor Documentation

◆ GlobalMemoryPool() [1/2]

unilink::memory::GlobalMemoryPool::GlobalMemoryPool ( )
delete

◆ GlobalMemoryPool() [2/2]

unilink::memory::GlobalMemoryPool::GlobalMemoryPool ( const GlobalMemoryPool )
delete

Member Function Documentation

◆ create_optimized()

static std::unique_ptr<MemoryPool> unilink::memory::GlobalMemoryPool::create_optimized ( )
inlinestatic

Definition at line 131 of file memory_pool.hpp.

◆ create_size_optimized()

static std::unique_ptr<MemoryPool> unilink::memory::GlobalMemoryPool::create_size_optimized ( )
inlinestatic

Definition at line 136 of file memory_pool.hpp.

◆ instance()

static MemoryPool& unilink::memory::GlobalMemoryPool::instance ( )
inlinestatic

Definition at line 125 of file memory_pool.hpp.

◆ operator=()

GlobalMemoryPool& unilink::memory::GlobalMemoryPool::operator= ( const GlobalMemoryPool )
delete

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