lintel 0.2.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lintel::ShmSegmentAccessor::Allocator Class Referenceabstract

#include <ShmSegmentAccessor.h>

Inheritance diagram for lintel::ShmSegmentAccessor::Allocator:
lintel::BoostSegmentAllocator

Public Member Functions

virtual ~Allocator ()=default
 
virtual void * allocate (std::size_t bytes)=0
 
virtual void deallocate (void *pointer)=0
 

Detailed Description

Process local allocator an accessor forwards to.

Constructor & Destructor Documentation

◆ ~Allocator()

virtual lintel::ShmSegmentAccessor::Allocator::~Allocator ( )
virtualdefault

Member Function Documentation

◆ allocate()

virtual void * lintel::ShmSegmentAccessor::Allocator::allocate ( std::size_t  bytes)
pure virtual
Parameters
bytesto allocate
Returns
pointer to the allocated block

Implemented in lintel::BoostSegmentAllocator.

◆ deallocate()

virtual void lintel::ShmSegmentAccessor::Allocator::deallocate ( void *  pointer)
pure virtual
Parameters
pointerblock previously returned by allocate

Implemented in lintel::BoostSegmentAllocator.


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