#include <GC.h>
◆ Add()
Adds an object to the garbage pile to be deleted.
- Parameters
-
[in] | obj | The object to be deleted. |
◆ AddLogic()
bool ehs::GC::AddLogic |
( |
GcLogic | logicCb | ) |
|
|
static |
◆ Dump()
Deletes all of the data at once.
- Warning
- Use Poll instead to prevent stutter.
◆ GetMax()
UInt_64 ehs::GC::GetMax |
( |
| ) |
|
|
static |
Gets the maximum amount of garbage to delete per poll.
- Returns
- The maximum.
◆ GetStride()
UInt_64 ehs::GC::GetStride |
( |
| ) |
|
|
static |
The amount of data pre-allocated to save on memory operations.
- Returns
- The stride.
◆ HasLogic()
bool ehs::GC::HasLogic |
( |
GcLogic | logicCb | ) |
|
|
static |
◆ IsRunning()
bool ehs::GC::IsRunning |
( |
| ) |
|
|
static |
◆ Poll()
Used to delete objects over time.
◆ SetMax()
void ehs::GC::SetMax |
( |
UInt_64 | newMax | ) |
|
|
static |
Sets the maximum amount of garbage to delete per poll.
- Parameters
-
[in] | newMax | The new maximum. |
◆ SetStride()
void ehs::GC::SetStride |
( |
UInt_64 | newStride | ) |
|
|
static |
Sets a new amount for memory pre-allocation to save on memory operations.
- Parameters
-
[in] | newStride | The stride to pre-allocate. |
◆ Size()
UInt_64 ehs::GC::Size |
( |
| ) |
|
|
static |
Gets the garbage count.
- Returns
- Garbage count.
◆ Start()
◆ Stop()
The documentation for this class was generated from the following files: