Stores the most recently opened cache. More...
#include <Inventor/elements/SoCacheElement.h>
Classes | |
| struct | ElementInfos |
| Keep track of which node setted a given element. | |
| struct | ListContainer |
| When a separator is traversed, SoCacheElement::push() is called and it should call this class' push() method. | |
| struct | MTstruct |
Public Member Functions | |
| SoCache * | getCache () const |
| virtual void | pop (SoState *state, const SoElement *prevTopElement) |
| SoCacheElement * | getNextCacheElement () const |
| virtual void | push (SoState *state) |
Static Public Member Functions | |
| static SoType | getClassTypeId () |
| static int | getClassStackIndex () |
| static void | set (SoState *state, SoCache *cache) |
| static SbBool | anyOpen (SoState *state) |
| static void | closeAnyOpen (SoState *state) |
| static void | invalidate (SoState *state) |
Friends | |
| class | SoElement |
Stores the most recently opened cache.
This element stores the most recently opened cache.
SoSeparator, SoRenderList
Returns TRUE if any cache is currently open in the state.
| static void SoCacheElement::closeAnyOpen | ( | SoState * | state | ) | [static] |
Closes any open cache.
| SoCache* SoCacheElement::getCache | ( | ) | const [inline] |
Returns the cache stored in an instance.
This may be NULL.
| static int SoCacheElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoElement.
| static SoType SoCacheElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoElement.
| SoCacheElement* SoCacheElement::getNextCacheElement | ( | ) | const [inline] |
Returns the next cache element in the stack.
| static void SoCacheElement::invalidate | ( | SoState * | state | ) | [static] |
Invalidate any open caches.
This is called by nodes that should not be cached.
Overrides this method to unref cache.
| virtual void SoCacheElement::push | ( | SoState * | state | ) | [virtual] |
push to save dependencies list
Reimplemented from SoElement.
| static void SoCacheElement::set | ( | SoState * | state, | |
| SoCache * | cache | |||
| ) | [static] |
Sets cache in element accessed from state.
friend class SoElement [friend] |