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 by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/