Lugdunum  0.1.0
Public Member Functions | List of all members
lug::System::Memory::Allocator::Basic Class Reference

#include <Basic.hpp>

Public Member Functions

 Basic ()=default
 
 Basic (const Basic &)=delete
 
 Basic (Basic &&)=default
 
Basicoperator= (const Basic &)=delete
 
Basicoperator= (Basic &&)=default
 
 ~Basic ()=default
 
void * allocate (size_t size, size_t alignment, size_t offset) const
 
void free (void *ptr) const
 
void reset () const
 
size_t getSize (void *ptr) const
 

Detailed Description

Definition at line 11 of file Basic.hpp.

Constructor & Destructor Documentation

◆ Basic() [1/3]

lug::System::Memory::Allocator::Basic::Basic ( )
default

◆ Basic() [2/3]

lug::System::Memory::Allocator::Basic::Basic ( const Basic )
delete

◆ Basic() [3/3]

lug::System::Memory::Allocator::Basic::Basic ( Basic &&  )
default

◆ ~Basic()

lug::System::Memory::Allocator::Basic::~Basic ( )
default

Member Function Documentation

◆ operator=() [1/2]

Basic& lug::System::Memory::Allocator::Basic::operator= ( const Basic )
delete

◆ operator=() [2/2]

Basic& lug::System::Memory::Allocator::Basic::operator= ( Basic &&  )
default

◆ allocate()

void * lug::System::Memory::Allocator::Basic::allocate ( size_t  size,
size_t  alignment,
size_t  offset 
) const

Definition at line 10 of file Basic.cpp.

◆ free()

void lug::System::Memory::Allocator::Basic::free ( void *  ptr) const

Definition at line 26 of file Basic.cpp.

◆ reset()

void lug::System::Memory::Allocator::Basic::reset ( ) const

Definition at line 30 of file Basic.cpp.

◆ getSize()

size_t lug::System::Memory::Allocator::Basic::getSize ( void *  ptr) const

Definition at line 34 of file Basic.cpp.


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