gzz.diff
Interface DeltaSpace

gzz.diff.Delta gzz.diff.ContentDelta gzz.diff.SimpleContentDelta gzz.diff.DimDelta gzz.diff.SimpleDimDelta gzz.diff.DeltaSpace ../../../Gzz_CoreAPIs.gen.html#diffs diffs_small gzz.Space gzz.impl.AbstractSpace gzz.CellTexter gzz.VStreamCellTexter gzz.impl.SimpleVStreamTexter gzz.impl.ModularSpace gzz.ObsTrigger gzz.impl.SimpleObsTrigger gzz.IdentityManager gzz.impl.DummyIdentityManager gzz.CellManager gzz.impl.AbstractCellManager gzz.impl.PlainCellManager gzz.DimManager gzz.impl.AbstractDimManager SimpleDim.Manager gzz.diff.DeltaSpace gzz.impl.ModularDeltaSpace gzz.diff.DeltaDimManager gzz.diff.DeltaCellTexter gzz.impl.AbstractDeltaDimManager gzz.impl.SimpleDeltaVStreamTexter ../../../Gzz_Backend.gen.html#modularspace modularspace_small
All Superinterfaces:
Space
All Known Implementing Classes:
ModularDeltaSpace

public interface DeltaSpace
extends Space

A space whose changes can be controlled.


Field Summary
 
Fields inherited from interface gzz.Space
rcsid
 
Method Summary
 void applyDelta(Delta m)
          Apply a delta to this space.
 Delta checkpointDelta()
          Get the set of changes.
 Delta getDeltaFromZero()
          Get the set of changes needed to take a space from zero to the current state of this space.
 
Methods inherited from interface gzz.Space
delete, exists, getCell, getCellTexter, getCloneDim, getDim, getDim, getDims, getHomeCell, getIdentity, getIdentity, getJavaObjector, getMediaserver, getMSBlockCell, getObsTrigger, N, N, N, N, zzclone
 

Method Detail

checkpointDelta

public Delta checkpointDelta()
Get the set of changes. Returns the changes since a previous getDelta in a Delta object.


getDeltaFromZero

public Delta getDeltaFromZero()
Get the set of changes needed to take a space from zero to the current state of this space.


applyDelta

public void applyDelta(Delta m)
Apply a delta to this space. Also triggers observers. However, a change applied by applyDelta is NOT visible in the next getDelta().

Note: calling applyDelta may throw InconsistentChangeException, in which case the state of the space is undefined.