Public Member Functions | Protected Member Functions | List of all members
Allocator Class Referenceabstract

#include <allocator.h>

Inheritance diagram for Allocator:
Inheritance graph
[legend]

Public Member Functions

template<typename T >
T * allocate (unsigned int nr=1)
 
virtual void printSize () const =0
 
virtual ~Allocator ()
 

Protected Member Functions

virtual unsigned char * allocate (unsigned int size)=0
 

Detailed Description

Definition at line 12 of file allocator.h.

Constructor & Destructor Documentation

◆ ~Allocator()

virtual Allocator::~Allocator ( )
inlinevirtual

Definition at line 14 of file allocator.h.

Member Function Documentation

◆ allocate() [1/2]

template<typename T >
T* Allocator::allocate ( unsigned int  nr = 1)
inline

Definition at line 17 of file allocator.h.

◆ allocate() [2/2]

virtual unsigned char* Allocator::allocate ( unsigned int  size)
protectedpure virtual

◆ printSize()

virtual void Allocator::printSize ( ) const
pure virtual

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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Mon Feb 28 2022 22:46:10