de.grogra.persistence
Class ShareableBase
java.lang.Object
de.grogra.persistence.ShareableBase
- All Implemented Interfaces:
- Manageable, Shareable
- Direct Known Subclasses:
- Abs, Acos, AreaLight, ArrangeLOD, Asin, Atan, Ceil, Chain, ChannelSPD, ComponentTransform, ContextDependentBase, Cos, Cosh, Cubic, CustomFunction, E, Exp, Exp2, Expm1, Floor, FluxLightModelTracer, FontAdapter, Graytone, HeightFieldMapping, HornLOD, HydraLOD, Id, ImageAdapter, IOR, IORShader, ItemReference, LightBase, LightDistribution, LightModelBase, LocationParameterBase, Log, Log10, NavigatorFactory, ObjectFilter, Phi, PhiBallLOD, Pi, Projection, Rad, Ramp, RandomBase, Rnd, Rndabs, Scallop, ShareableAdditionalArrangeBase, ShareableArrangeBase, ShareableProbabilityArrangeBase, Sin, Sin01, Sinh, SPD, SpectralCurve, SpectralLight, SpectralLightMapNode, SplineFunction, Sqr, Sqrt, SwitchShader, Tan, Tanh, TreeLOD, Triangle, UniformScale
public abstract class ShareableBase
- extends java.lang.Object
- implements Shareable, Manageable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShareableBase
public ShareableBase()
addReference
public void addReference(SharedObjectReference ref)
- Specified by:
addReference
in interface Shareable
appendReferencesTo
public void appendReferencesTo(java.util.List out)
- Specified by:
appendReferencesTo
in interface Shareable
fieldModified
public void fieldModified(PersistenceField field,
int[] indices,
Transaction t)
- Specified by:
fieldModified
in interface Manageable
getProvider
public SharedObjectProvider getProvider()
- Specified by:
getProvider
in interface Shareable
getStamp
public int getStamp()
- Description copied from interface:
Manageable
- Returns a stamp for this object. Each modification to this object
increments the stamp. The initial stamp is non-negative.
- Specified by:
getStamp
in interface Manageable
- Returns:
- a stamp
initProvider
public void initProvider(SharedObjectProvider provider)
- Specified by:
initProvider
in interface Shareable
manageableReadResolve
public Manageable manageableReadResolve()
- Specified by:
manageableReadResolve
in interface Manageable
manageableWriteReplace
public java.lang.Object manageableWriteReplace()
- Specified by:
manageableWriteReplace
in interface Manageable
removeReference
public void removeReference(SharedObjectReference ref)
- Specified by:
removeReference
in interface Shareable