Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
HostAllocator Class Reference

#include <Allocators.h>

Inheritance diagram for HostAllocator:
Inheritance graph
Collaboration diagram for HostAllocator:
Collaboration graph

Public Member Functions

 HostAllocator ()
 
virtual ~HostAllocator ()
 
virtual void * allocateChunks (size_t n)
 
virtual void freeChunks (void *MemPtr, size_t n)
 
virtual size_t getChunkSize ()
 

Protected Attributes

boost::pool buff_allocator
 

Constructor & Destructor Documentation

◆ HostAllocator()

HostAllocator::HostAllocator ( )
inline

◆ ~HostAllocator()

virtual HostAllocator::~HostAllocator ( )
inlinevirtual

Member Function Documentation

◆ allocateChunks()

virtual void * HostAllocator::allocateChunks ( size_t n)
inlinevirtual

Reimplemented in DMAAllocator.

◆ freeChunks()

virtual void HostAllocator::freeChunks ( void * MemPtr,
size_t n )
inlinevirtual

Reimplemented in DMAAllocator.

◆ getChunkSize()

virtual size_t HostAllocator::getChunkSize ( )
inlinevirtual

Reimplemented in DMAAllocator.

Member Data Documentation

◆ buff_allocator

boost::pool HostAllocator::buff_allocator
protected

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