|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.nrao.sss.electronics.SignalProcessorSink
public class SignalProcessorSink
A signal processor that does not propagate its signal.
Version Info:
$Revision: 1198 $ |
$Date: 2008-04-02 18:59:31 -0600 (Wed, 02 Apr 2008) $ |
$Author: dharland $ (last person to modify) |
Constructor Summary | |
---|---|
SignalProcessorSink()
Creates a new sink that has no source. |
Method Summary | |
---|---|
void |
eraseSignalMemory()
Erases this device's memory of its most recent execution. |
void |
execute()
Does nothing. |
void |
executeFromStartOfChainUpTo(SignalProcessor firstUnexecutedDevice)
Retreats upstream from this processor to the source of the stream and executes that device(s), telling it to stop execution at firstUnexecutedDevice . |
void |
executeUpTo(SignalProcessor firstUnexecutedDevice)
Does nothing. |
SignalPipe |
getInputPipe()
Returns the input pipe of this device. |
Signal |
getMostRecentSignal()
Returns a copy of the signal most recently sent to this sink. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SignalProcessorSink()
Method Detail |
---|
public SignalPipe getInputPipe()
mySink.getInputPipe().connectInputTo(mySource);
public Signal getMostRecentSignal()
public void eraseSignalMemory()
getMostRecentSignal()
public void execute()
execute
in interface SignalProcessor
public void executeUpTo(SignalProcessor firstUnexecutedDevice)
executeUpTo
in interface SignalProcessor
firstUnexecutedDevice
- the first device downstream that is not to be executed.
If all downstream devices should be executed you may use a
null value here or call SignalProcessor.execute()
.public void executeFromStartOfChainUpTo(SignalProcessor firstUnexecutedDevice)
SignalProcessor
firstUnexecutedDevice
.
executeFromStartOfChainUpTo
in interface SignalProcessor
firstUnexecutedDevice
- the first device in a chain of processors that is not
to be executed.
If all devices should be executed you may use a
null value here.
The first unexecuted device should be downstream of this
device.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |