Project
Loading...
Searching...
No Matches
o2::its::ExternalAllocator Class Referenceabstract

#include <ExternalAllocator.h>

Inherited by o2::its::GPUFrameworkExternalAllocator.

Public Member Functions

virtual void deallocate (char *, size_t)=0
 
virtual voidallocate (size_t)=0
 
voidallocate (size_t s, Type type)
 
voidallocateStack (size_t s)
 
virtual void pushTagOnStack (uint64_t)=0
 
virtual void popTagOffStack (uint64_t)=0
 
void setType (Type t) noexcept
 
Type getType () const noexcept
 

Protected Attributes

Type mType
 

Detailed Description

Definition at line 26 of file ExternalAllocator.h.

Member Function Documentation

◆ allocate() [1/2]

void * o2::its::ExternalAllocator::allocate ( size_t  s,
Type  type 
)
inline

Definition at line 33 of file ExternalAllocator.h.

◆ allocate() [2/2]

virtual void * o2::its::ExternalAllocator::allocate ( size_t  )
pure virtual

◆ allocateStack()

void * o2::its::ExternalAllocator::allocateStack ( size_t  s)
inline

Definition at line 41 of file ExternalAllocator.h.

◆ deallocate()

virtual void o2::its::ExternalAllocator::deallocate ( char ,
size_t   
)
pure virtual

◆ getType()

Type o2::its::ExternalAllocator::getType ( ) const
inlinenoexcept

Definition at line 49 of file ExternalAllocator.h.

◆ popTagOffStack()

virtual void o2::its::ExternalAllocator::popTagOffStack ( uint64_t  )
pure virtual

◆ pushTagOnStack()

virtual void o2::its::ExternalAllocator::pushTagOnStack ( uint64_t  )
pure virtual

◆ setType()

void o2::its::ExternalAllocator::setType ( Type  t)
inlinenoexcept

Definition at line 48 of file ExternalAllocator.h.

Member Data Documentation

◆ mType

Type o2::its::ExternalAllocator::mType
protected

Definition at line 52 of file ExternalAllocator.h.


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