libpromeki
1.0.0-alpha
PROfessional MEdia toolKIt
Loading...
Searching...
No Matches
dmaheap.h
Go to the documentation of this file.
1
8
#pragma once
9
10
11
#include <promeki/config.h>
12
#if PROMEKI_ENABLE_CORE
13
#include <cstddef>
14
#include <
promeki/namespace.h
>
15
#include <
promeki/string.h
>
16
#include <
promeki/stringlist.h
>
17
#include <
promeki/error.h
>
18
#include <
promeki/memspace.h
>
19
20
PROMEKI_NAMESPACE_BEGIN
21
64
class
DmaHeap {
65
public
:
67
static
const
char
*SystemHeapName;
68
77
static
bool
isSupported();
78
97
static
bool
isAvailable();
98
110
static
bool
isHeapAvailable(
const
String &name);
111
117
static
StringList availableHeaps();
118
139
static
int
allocate(
const
String &heapName,
size_t
bytes, Error *err =
nullptr
);
140
154
static
MemSpace forHeap(
const
String &name);
155
157
static
MemSpace systemHeap();
158
};
159
160
PROMEKI_NAMESPACE_END
161
162
#endif
// PROMEKI_ENABLE_CORE
error.h
memspace.h
namespace.h
string.h
stringlist.h
include
promeki
dmaheap.h
Generated on 2026-06-07 19:02:32 from commit e22611a (1.0.0-alpha).