#include <Inventor/errors/SoError.h>
Go to the source code of this file.
Classes | |
class | SoMemoryError |
Memory error handling. More... | |
Typedefs | |
typedef bool | SoMemoryCleanupCB(const size_t requestedByteSize, void *data) |
Memory cleanup handling callback. | |
typedef bool SoMemoryCleanupCB(const size_t requestedByteSize, void *data) |
Memory cleanup handling callback.
SoMemoryCleanupCB is called when Open Inventor is not able to allocate at least requestedSize bytes of memory. This notifies the application that available memory is too low. The application can try to release some memory to allow the allocation to succeed. If the callback returns true then Open Inventor will retry its allocation call.
SoMemoryError::setMemoryCleanupCallback
Definition at line 72 of file SoMemoryError.h.