gzz.impl
Class AbstractDeltaDimManager

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
java.lang.Object
  |
  +--gzz.impl.AbstractDimManager
        |
        +--gzz.impl.AbstractDeltaDimManager
All Implemented Interfaces:
DeltaDimManager, DimManager
Direct Known Subclasses:
NormalDim.NormalDimManager

public abstract class AbstractDeltaDimManager
extends AbstractDimManager
implements DeltaDimManager

A DeltaDimManager which implements the most trivial functions.


Field Summary
 
Fields inherited from class gzz.impl.AbstractDimManager
dims, space
 
Fields inherited from interface gzz.impl.DeltaDimManager
rcsid
 
Constructor Summary
AbstractDeltaDimManager()
           
 
Method Summary
 void applyDelta(java.util.Map m)
          Apply a delta to this space.
 java.util.Map checkpointDelta()
          Get the set of changes.
 java.util.Map getDeltaFromZero()
          Get the set of changes needed to take a set of Dimensions from zero to the current state of this DimManager's dimensions.
 
Methods inherited from class gzz.impl.AbstractDimManager
createDim, getDim, getDims, setSpace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gzz.impl.DimManager
getDim, getDims, setSpace
 

Constructor Detail

AbstractDeltaDimManager

public AbstractDeltaDimManager()
Method Detail

checkpointDelta

public java.util.Map checkpointDelta()
Description copied from interface: DeltaDimManager
Get the set of changes. Returns the changes since a previous getDelta in a Delta object.

Specified by:
checkpointDelta in interface DeltaDimManager

getDeltaFromZero

public java.util.Map getDeltaFromZero()
Description copied from interface: DeltaDimManager
Get the set of changes needed to take a set of Dimensions from zero to the current state of this DimManager's dimensions.

Specified by:
getDeltaFromZero in interface DeltaDimManager

applyDelta

public void applyDelta(java.util.Map m)
Description copied from interface: DeltaDimManager
Apply a delta to this space. Also triggers observers. However, a change applied by applyDelta is NOT visible in the next getDelta().

Specified by:
applyDelta in interface DeltaDimManager