Inventor/errors/SoMemoryError.h File Reference

#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)

Typedef Documentation

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.

SEE ALSO

SoMemoryError::setMemoryCleanupCallback


Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/