1#ifndef COIN_SOCACHEELEMENT_H
2#define COIN_SOCACHEELEMENT_H
36#include <Inventor/elements/SoSubElement.h>
40class COIN_DLL_API SoCacheElement :
public SoElement {
43 SO_ELEMENT_HEADER(SoCacheElement);
47 virtual ~SoCacheElement();
50 virtual void init(SoState * state);
52 virtual void push(SoState * state);
53 virtual void pop(SoState * state,
const SoElement * prevTopElement);
55 static void set(SoState *
const state,
SoCache *
const cache);
57 static SbBool
anyOpen(SoState *
const state);
66 static SbBool
setInvalid(
const SbBool newvalue);
71 static SbBool invalidated;
static void addElement(SoState *const state, const SoElement *const element)
Definition SoCacheElement.cpp:272
static SbBool anyOpen(SoState *const state)
Definition SoCacheElement.cpp:186
SoCache * getCache(void) const
Definition SoCacheElement.cpp:176
static SoCache * getCurrentCache(SoState *const state)
Definition SoCacheElement.cpp:330
static SbBool setInvalid(const SbBool newvalue)
Definition SoCacheElement.cpp:312
static void addCacheDependency(SoState *const state, SoCache *const cache)
Definition SoCacheElement.cpp:293
SoCacheElement * getNextCacheElement(void) const
Definition SoCacheElement.cpp:258
static void invalidate(SoState *const state)
Definition SoCacheElement.cpp:204
static void set(SoState *const state, SoCache *const cache)
Definition SoCacheElement.cpp:154
The SoCache class is the superclass for all internal cache classes.
Definition SoCache.h:43
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