Stores the most recently opened cache. More...
#include <Inventor/elements/SoCacheElement.h>
Public Member Functions | |
SoCache * | getCache () const |
Returns the cache stored in an instance. | |
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
Overrides this method to unref cache. | |
SoCacheElement * | getNextCacheElement () const |
Returns the next cache element in the stack. | |
virtual void | push (SoState *state) |
push to save dependencies list | |
Public Member Functions inherited from SoElement | |
virtual void | print (FILE *fp) const |
Prints element (for debugging). | |
virtual SoType | getTypeId () const |
Returns type identifier for element instance. | |
Public Member Functions inherited from SoTypedObject | |
SbBool | isOfType (const SoType &type) const |
Returns TRUE if this object is of the type specified in type or is derived from that type. | |
template<typename TypedObjectClass > | |
SbBool | isOfType () const |
Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class. | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
static int | getClassStackIndex () |
Returns the stack id for this element. | |
static void | set (SoState *state, SoCache *cache) |
Sets cache in element accessed from state. | |
static SbBool | anyOpen (SoState *state) |
Returns TRUE if any cache is currently open in the state. | |
static void | closeAnyOpen (SoState *state) |
Closes any open cache. | |
static void | invalidate (SoState *state) |
Invalidate any open caches. | |
Static Public Member Functions inherited from SoElement | |
static SoType | getClassTypeId () |
Returns type identifier for SoElement class. | |
Static Public Member Functions inherited from SoTypedObject | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
Friends | |
class | SoElement |
Stores the most recently opened cache.
This element stores the most recently opened cache.
SoSeparator, SoRenderList
Definition at line 77 of file SoCacheElement.h.
Returns TRUE if any cache is currently open in the state.
|
static |
Closes any open cache.
|
inline |
Returns the cache stored in an instance.
This may be NULL.
Definition at line 90 of file SoCacheElement.h.
|
static |
Returns the stack id for this element.
|
static |
Returns the type identifier for this class.
|
inline |
Returns the next cache element in the stack.
Definition at line 116 of file SoCacheElement.h.
|
static |
Invalidate any open caches.
This is called by nodes that should not be cached.
Overrides this method to unref cache.
Reimplemented from SoElement.
|
virtual |
push to save dependencies list
Reimplemented from SoElement.
Sets cache in element accessed from state.
|
friend |
Definition at line 358 of file SoCacheElement.h.