sead
Loading...
Searching...
No Matches
seadExpHeap.h
Go to the documentation of this file.
1#ifndef SEAD_EXP_HEAP_H_
2#define SEAD_EXP_HEAP_H_
3
4#include <heap/seadHeap.h>
5
6namespace sead {
7
8// TODO
9
10class ExpHeap : public Heap
11{
13
14public:
15 ExpHeap(const SafeString& name, Heap* parent, void* start, u32 size, HeapDirection direction, bool enable_lock);
16 ~ExpHeap() override;
17
18 const void* getStartAddress() const override;
19 const void* getEndAddress() const override;
20 size_t getSize() const override;
21
22public:
23 static ExpHeap* tryCreate(u32 size, const SafeString& name, Heap* parent = nullptr, HeapDirection direction = cHeapDirection_Forward, bool enable_lock = false);
24};
25
26} // namespace sead
27
28#endif // SEAD_EXP_HEAP_H_
Definition seadExpHeap.h:11
const void * getStartAddress() const override
size_t getSize() const override
ExpHeap(const SafeString &name, Heap *parent, void *start, u32 size, HeapDirection direction, bool enable_lock)
static ExpHeap * tryCreate(u32 size, const SafeString &name, Heap *parent=nullptr, HeapDirection direction=cHeapDirection_Forward, bool enable_lock=false)
~ExpHeap() override
const void * getEndAddress() const override
Definition seadHeap.h:23
HeapDirection
Definition seadHeap.h:26
@ cHeapDirection_Forward
Definition seadHeap.h:27
Definition seadAssert.h:44
SafeStringBase< char > SafeString
Definition seadSafeString.h:409
#define SEAD_RTTI_OVERRIDE(CLASS, BASE)
Definition seadRuntimeTypeInfo.h:96