#include <stdio.h>#include <Inventor/SbBase.h>#include <Inventor/threads/SbThreadSpinlock.h>#include <Inventor/errors/SoDebugError.h>#include <Inventor/misc/SoAutoRef.h>Go to the source code of this file.
Classes | |
| class | SoRefCounter |
| Base class for ref-counted objects. More... | |
Defines | |
| #define | SO_UNREF_RESET(object) |
Typedefs | |
| typedef void | SoBaseRefCountCB (void *userData, const SoRefCounter *base) |
| #define SO_UNREF_RESET | ( | object | ) |
{\
if ( object )\
{\
object->unref();\
object=NULL;\
}\
}
helper macro usefull in destructor implementation
| typedef void SoBaseRefCountCB(void *userData, const SoRefCounter *base) |