|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.ActionImpl
visad.CellImpl
public abstract class CellImpl
CellImpl is the abstract superclass for computations. It has a set of input DataReferences and an output DataReference, which updates whenever an input changes. Cell is runnable.
CellImpl is not Serializable and should not be copied between JVMs.
Constructor Summary | |
---|---|
CellImpl()
|
|
CellImpl(java.lang.String name)
the name String can be useful for debugging |
Method Summary | |
---|---|
abstract void |
doAction()
subclasses of CellImpl implement doAction to compute a new Data value for outputReference as a function of the Data objects referenced by the DataReferences in LinkVector |
DataReference |
getOtherReference(int index)
get link to an output DataReference |
void |
setOtherReference(int index,
DataReference ref)
create link to an output DataReference |
Methods inherited from class visad.ActionImpl |
---|
addReference, checkTicks, disableAction, enableAction, findReference, getCurrentActionThread, getLinks, getName, removeAllReferences, removeReference, run, setEnabled, setName, setThreadPoolMaximum, stop, stopThreadPool, thingChanged, waitForTasks |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface visad.Action |
---|
addReference, getName, removeAllReferences, removeReference |
Methods inherited from interface visad.ThingChangedListener |
---|
thingChanged |
Constructor Detail |
---|
public CellImpl()
public CellImpl(java.lang.String name)
Method Detail |
---|
public abstract void doAction() throws VisADException, java.rmi.RemoteException
doAction
in class ActionImpl
VisADException
java.rmi.RemoteException
public void setOtherReference(int index, DataReference ref) throws VisADException, java.rmi.RemoteException
setOtherReference
in interface Cell
VisADException
java.rmi.RemoteException
public DataReference getOtherReference(int index) throws VisADException, java.rmi.RemoteException
getOtherReference
in interface Cell
VisADException
java.rmi.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |