#include <iosfwd>
#include <string>
#include "../mlMemoryManagerDllExport.h"
#include "mlDeleteMemoryBlockCallback.h"
#include "mlMemoryBlockHandle.h"
#include "mlWeakMemoryBlockHandle.h"
Go to the source code of this file.
|
| namespace | boost |
| | Forward declaration for the boost::mutex class.
|
|
| #define | ML_BYTE_TO_KB(x) |
| | Converts the value from byte to kilobyte.
|
| #define | ML_BYTE_TO_MB(x) |
| | Converts the value from byte to megabyte.
|
| #define | ML_BYTE_TO_GB(x) |
| | Converts the value from byte to gigabyte.
|
| #define | ML_KB_TO_BYTE(x) |
| | Converts the value from kilobyte to byte.
|
| #define | ML_MB_TO_BYTE(x) |
| | Converts the value from megabyte to byte.
|
| #define | ML_GB_TO_BYTE(x) |
| | Converts the value from gigabyte to byte.
|
◆ MLMemoryManagerErrorHandler
Function callback to handle memory manager errors.
Definition at line 81 of file mlMemoryManager.h.
◆ MLMemoryManagerErrorHandlingType
This enum is passed to the memory manager error handler callback to request a certain error handling.
| Enumerator |
|---|
| NotifyUser | An error occurred and the user should be notified about it.
|
| Abort | The error handling requests programm termination, as it is in an unstable state.
|
Definition at line 69 of file mlMemoryManager.h.
◆ mlByteToHumanReadable()
| MLMEMORYMANAGER_EXPORT std::string mlByteToHumanReadable |
( |
size_t | byte | ) |
|
Converts the byte value into a string with human-readable format. For example, 1075843119 results in "1GB 20MB 36KB 457B".