21.02
|
Basic implementation of a CPU memory LUT allocator. More...
#include <LutAllocator.h>
Public Member Functions | |
LutAllocator () | |
Default constructor. More... | |
uint8_t * | data () const |
Interface to be implemented by the child class to return the pointer to the allocate data. More... | |
Public Member Functions inherited from ILutAllocator | |
ILutAllocator () | |
Default constructor. More... | |
virtual | ~ILutAllocator ()=default |
Default virtual destructor. More... | |
ILutAllocator (ILutAllocator &&)=default | |
Allow instances of this class to be move constructed. More... | |
ILutAllocator & | operator= (ILutAllocator &&)=default |
Allow instances of this class to be moved. More... | |
void | init (size_t num_elements, DataType data_type) |
Allocate an LUT of the requested number of elements and data_type. More... | |
size_t | num_elements () const |
Returns the total number of elements in the LUT. More... | |
DataType | type () const |
Returns the type of the LUT. More... | |
size_t | size () const |
Returns the total size in bytes of the LUT. More... | |
Basic implementation of a CPU memory LUT allocator.
Definition at line 35 of file LutAllocator.h.
LutAllocator | ( | ) |
uint8_t * data | ( | ) | const |
Interface to be implemented by the child class to return the pointer to the allocate data.
Definition at line 33 of file LutAllocator.cpp.
References ILutAllocator::size().
Referenced by Lut::buffer().