|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
Declares the Allocator interface and two implementations: Stack (bump allocator over a fixed buffer) and Heap (malloc/free). More...
#include <stdint.h>#include <stdlib.h>Classes | |
| class | Allocator |
| Abstract allocator interface with malloc() and free(). More... | |
| class | Stack |
| Bump allocator over a 1 MiB member buffer: malloc() returns the current position and advances it by size with no bounds check, and free() does nothing. More... | |
| class | Heap |
| Allocator whose malloc() and free() call malloc and free. More... | |