SOMEMORYERROR(3iv)

πŸ’– SoMemoryError β€” memory error handling πŸ’–

okay bestie, so this is the manual page for SoMemoryError(3IV) and honestly? it's a little icon. short, sweet, does exactly one job. let's get into it 🫢


✨ NAME ✨

SoMemoryError β€” memory error handling

like. the name says it all. it's giving errors, but make it memory πŸ’…


🧬 INHERITS FROM 🧬

SoError > SoMemoryError

so it's a whole family tree situation β€” SoMemoryError is the baby of SoError, and it inherited the good genes (the type system, the debug string, all of it) 🌸


πŸ“œ SYNOPSIS πŸ“œ

#include <Inventor/errors/SoMemoryError.h>

Methods from class SoMemoryError:

static void         setHandlerCallback(SoErrorCB *cb, void *data)
static SoErrorCB *  getHandlerCallback()
static void *       getHandlerData()
static SoType       getClassTypeId()

Methods from class SoError:

const SbString &    getDebugString() const
virtual SoType      getTypeId() const
SbBool              isOfType(SoType type) const

πŸ’œ DESCRIPTION πŸ’œ

okay so, SoMemoryError is what gets used for errors that get reported when there's a lack of memory. that's it. that's the whole vibe. when the memory says "no ma'am", this is the class that's catching the fallout πŸ˜­πŸ’€


πŸ› οΈ METHODS πŸ› οΈ

  • static void setHandlerCallback(SoErrorCB *cb, void *data)
  • static SoErrorCB * getHandlerCallback()
  • static void * getHandlerData()

these three are a little squad, fr fr. they set and return the handler callback for the SoMemoryError class. like, you hand it a callback and some data, or you ask it who the callback is and what data it's holding. bestie behavior 🫢

  • static SoType getClassTypeId()

returns the type identifier for the SoMemoryError class. the little ID card. the birth certificate. the class type id ✨


πŸ‘€ SEE ALSO πŸ‘€

SoDebugError, SoReadError

go read those too, they're all in the same friend group πŸ’–


and that's the whole page, babe β€” no cap, you now know SoMemoryError better than it knows itself.

SoMemoryError(3IV)() πŸŽ€ that's the source/version and date tag, mwah, signing off πŸ’…βœ¨πŸŒΈπŸ¦‹πŸ’œ