Open Inventor Reference
SoMemoryError Class Reference

Memory error handling. More...

#include <Inventor/errors/SoMemoryError.h>

Inheritance diagram for SoMemoryError:
SoError

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 Returns type identifier for error instance.

Static Public Member Functions

static void setHandlerCallback (SoErrorCB *cb, void *data)
 Sets/returns handler callback for SoMemoryError class.
static SoErrorCBgetHandlerCallback ()
 Sets/returns handler callback for SoMemoryError class.
static void * getHandlerData ()
 Sets/returns handler callback for SoMemoryError class.
static SoType getClassTypeId ()
 Returns type identifier for SoMemoryError class.
static void post (const char *whatWasAllocated)
 Posts an error.
static void initClass ()
 Initializes SoMemoryError class.

Protected Member Functions

virtual SoErrorCBgetHandler (void *&data) const
 Returns handler callback (and data) to use for a given instance.
virtual ~SoMemoryError ()

Detailed Description

SoMemoryError is used for errors reported due to lack of memory.

See Also
SoDebugError, SoReadError

Definition at line 78 of file SoMemoryError.h.


Constructor & Destructor Documentation

virtual SoMemoryError::~SoMemoryError ( ) [inline, protected, virtual]

Definition at line 108 of file SoMemoryError.h.


Member Function Documentation

static SoType SoMemoryError::getClassTypeId ( ) [inline, static]

Reimplemented from SoError.

Definition at line 91 of file SoMemoryError.h.

virtual SoErrorCB* SoMemoryError::getHandler ( void *&  data) const [protected, virtual]

Reimplemented from SoError.

static SoErrorCB* SoMemoryError::getHandlerCallback ( ) [inline, static]

Reimplemented from SoError.

Definition at line 86 of file SoMemoryError.h.

static void* SoMemoryError::getHandlerData ( ) [inline, static]

Reimplemented from SoError.

Definition at line 88 of file SoMemoryError.h.

virtual SoType SoMemoryError::getTypeId ( ) const [virtual]

Reimplemented from SoError.

static void SoMemoryError::initClass ( ) [static]

Reimplemented from SoError.

static void SoMemoryError::post ( const char *  whatWasAllocated) [static]

Reimplemented from SoError.

static void SoMemoryError::setHandlerCallback ( SoErrorCB cb,
void *  data 
) [inline, static]

Reimplemented from SoError.

Definition at line 83 of file SoMemoryError.h.


The documentation for this class was generated from the following file: