1#ifndef COIN_SOCACHEELEMENT_H
2#define COIN_SOCACHEELEMENT_H
27#include <Inventor/elements/SoSubElement.h>
31class COIN_DLL_API SoCacheElement :
public SoElement {
34 SO_ELEMENT_HEADER(SoCacheElement);
38 virtual ~SoCacheElement();
41 virtual void init(SoState * state);
43 virtual void push(SoState * state);
44 virtual void pop(SoState * state,
const SoElement * prevTopElement);
46 static void set(SoState *
const state,
SoCache *
const cache);
48 static SbBool
anyOpen(SoState *
const state);
57 static SbBool
setInvalid(
const SbBool newvalue);
62 static SbBool invalidated;
static void addElement(SoState *const state, const SoElement *const element)
Definition SoCacheElement.cpp:259
static SbBool anyOpen(SoState *const state)
Definition SoCacheElement.cpp:173
SoCache * getCache(void) const
Definition SoCacheElement.cpp:163
static SoCache * getCurrentCache(SoState *const state)
Definition SoCacheElement.cpp:317
static SbBool setInvalid(const SbBool newvalue)
Definition SoCacheElement.cpp:299
static void addCacheDependency(SoState *const state, SoCache *const cache)
Definition SoCacheElement.cpp:280
SoCacheElement * getNextCacheElement(void) const
Definition SoCacheElement.cpp:245
static void invalidate(SoState *const state)
Definition SoCacheElement.cpp:191
static void set(SoState *const state, SoCache *const cache)
Definition SoCacheElement.cpp:141
The SoCache class is the superclass for all internal cache classes.
Definition SoCache.h:34
SoElement(void)
Definition SoElement.cpp:534
virtual void pop(SoState *state, const SoElement *prevTopElement)
Definition SoElement.cpp:585
virtual SbBool matches(const SoElement *element) const =0
Definition SoElement.cpp:609
static void initClass(void)
Definition SoElement.cpp:507
virtual SoElement * copyMatchInfo(void) const =0
virtual void init(SoState *state)
Definition SoElement.cpp:553
virtual void push(SoState *state)
Definition SoElement.cpp:570