de.grogra.graph.impl
Class ContextDependentBase

java.lang.Object
  extended by de.grogra.persistence.ShareableBase
      extended by de.grogra.graph.impl.ContextDependentBase
All Implemented Interfaces:
ContextDependent, Manageable, Shareable
Direct Known Subclasses:
BSplineOfVertices, Circular, GRSMesh, HeightField, IsoCurve, ProductSurface, RegularPolygon, RuledSurface, Sequence, SkinnedSurface, StraightLine, SubGrid, Sweep, VertexSetBase

public abstract class ContextDependentBase
extends ShareableBase
implements ContextDependent


Constructor Summary
ContextDependentBase()
           
 
Method Summary
 void writeStamp(Cache.Entry cache, GraphState gs)
          Writes a stamp of the context into cache.
 
Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.grogra.graph.ContextDependent
dependsOnContext
 
Methods inherited from interface de.grogra.persistence.Manageable
getManageableType
 

Constructor Detail

ContextDependentBase

public ContextDependentBase()
Method Detail

writeStamp

public void writeStamp(Cache.Entry cache,
                       GraphState gs)
Description copied from interface: ContextDependent
Writes a stamp of the context into cache. Based on this stamp, a cache detects whether the context of this object has changed or not.

Specified by:
writeStamp in interface ContextDependent
Parameters:
cache - a cache entry to write the stamp
gs - the current graph state