|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gzz.impl.AbstractSpace
An abstract implementation of Space
, which
provides the methods that need to be implemented in a certain way
to conform to the Space interface.
No assumptions about anything are made.
Field Summary | |
protected ModularCellTexter |
cellTexter
|
protected JavaObjector |
javaObjector
|
protected ObsTrigger |
obsTrigger
|
static java.lang.String |
rcsid
|
protected Slicer |
slicer
|
Constructor Summary | |
AbstractSpace(ModularCellTexter cellTexter,
Slicer slicer,
ObsTrigger obsTrigger)
|
Method Summary | |
CellTexter |
getCellTexter()
|
abstract Dim |
getCloneDim()
Get the clone dimension of this space. |
Dim |
getDim(java.lang.String s)
Get a dimension by cell id. |
Cell |
getIdentity(Cell c)
Get the canonical cell representing a given cell's global identity. |
Cell |
getIdentity(java.lang.String s)
Get the cell representing a given global identity. |
JavaObjector |
getJavaObjector()
|
Mediaserver |
getMediaserver()
Get the instance of mediaserver associated with this space. |
Cell |
getMSBlockCell(java.lang.String msid,
Cell cell)
Get the cell representing the given mediaserver block in the same slice as cell. |
ObsTrigger |
getObsTrigger()
|
Slicer |
getSlicer()
|
Cell |
N()
Create a new cell connected to the home slice. |
Cell |
N(Cell c,
Cell dim,
int dir,
Obs o)
|
Cell |
zzclone(Cell cellToClone,
Cell cloneInSlice)
Clone a cell. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface gzz.Space |
delete, exists, getCell, getDim, getDims, getHomeCell, N, N |
Field Detail |
public static final java.lang.String rcsid
protected ModularCellTexter cellTexter
protected JavaObjector javaObjector
protected ObsTrigger obsTrigger
protected Slicer slicer
Constructor Detail |
public AbstractSpace(ModularCellTexter cellTexter, Slicer slicer, ObsTrigger obsTrigger)
Method Detail |
public CellTexter getCellTexter()
getCellTexter
in interface Space
public JavaObjector getJavaObjector()
getJavaObjector
in interface Space
public ObsTrigger getObsTrigger()
getObsTrigger
in interface Space
public Slicer getSlicer()
getSlicer
in interface SliceSpace
public Dim getDim(java.lang.String s)
Space
getDim
in interface Space
public abstract Dim getCloneDim()
Space
getCloneDim
in interface Space
public final Cell N()
Space
N
in interface Space
public Cell getIdentity(java.lang.String s)
Space
getIdentity
in interface Space
public Cell getIdentity(Cell c)
Space
getIdentity
in interface Space
public final Cell N(Cell c, Cell dim, int dir, Obs o)
N
in interface Space
public Mediaserver getMediaserver()
Space
getMediaserver
in interface Space
public Cell getMSBlockCell(java.lang.String msid, Cell cell)
Space
getMSBlockCell
in interface Space
public Cell zzclone(Cell cellToClone, Cell cloneInSlice)
Space
zzclone
in interface Space
cellToClone
- The cell to clonecloneInSlice
- A cell of the slice the clone should be in.
May be null.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |