QuantumLibrary
Bloomberg::quantum::CoroutinePoolAllocatorProxy< STACK_TRAITS > Struct Template Reference

#include <quantum_coroutine_pool_allocator.h>

Public Types

typedef std::false_type default_constructor
 

Public Member Functions

 CoroutinePoolAllocatorProxy (uint16_t size)
 
boost::context::stack_context allocate ()
 
void deallocate (const boost::context::stack_context &ctx)
 
size_t allocatedBlocks () const
 
size_t allocatedHeapBlocks () const
 
bool isFull () const
 
bool isEmpty () const
 

Member Typedef Documentation

◆ default_constructor

template<typename STACK_TRAITS >
typedef std::false_type Bloomberg::quantum::CoroutinePoolAllocatorProxy< STACK_TRAITS >::default_constructor

Constructor & Destructor Documentation

◆ CoroutinePoolAllocatorProxy()

template<typename STACK_TRAITS >
Bloomberg::quantum::CoroutinePoolAllocatorProxy< STACK_TRAITS >::CoroutinePoolAllocatorProxy ( uint16_t  size)
inline

Member Function Documentation

◆ allocate()

template<typename STACK_TRAITS >
boost::context::stack_context Bloomberg::quantum::CoroutinePoolAllocatorProxy< STACK_TRAITS >::allocate ( )
inline

◆ allocatedBlocks()

template<typename STACK_TRAITS >
size_t Bloomberg::quantum::CoroutinePoolAllocatorProxy< STACK_TRAITS >::allocatedBlocks ( ) const
inline

◆ allocatedHeapBlocks()

template<typename STACK_TRAITS >
size_t Bloomberg::quantum::CoroutinePoolAllocatorProxy< STACK_TRAITS >::allocatedHeapBlocks ( ) const
inline

◆ deallocate()

template<typename STACK_TRAITS >
void Bloomberg::quantum::CoroutinePoolAllocatorProxy< STACK_TRAITS >::deallocate ( const boost::context::stack_context &  ctx)
inline

◆ isEmpty()

template<typename STACK_TRAITS >
bool Bloomberg::quantum::CoroutinePoolAllocatorProxy< STACK_TRAITS >::isEmpty ( ) const
inline

◆ isFull()

template<typename STACK_TRAITS >
bool Bloomberg::quantum::CoroutinePoolAllocatorProxy< STACK_TRAITS >::isFull ( ) const
inline