edu.nrao.sss.electronics
Interface SignalProcessor

All Known Implementing Classes:
SignalCombiner, SignalFilter, SignalManifold, SignalMixer, SignalMultiplier, SignalPipe, SignalProcessorSink, SignalSampler, SignalSwitch, SignalTransferSwitch

public interface SignalProcessor

A processor of signals.

Version Info:

$Revision: 1006 $
$Date: 2007-11-16 11:19:54 -0700 (Fri, 16 Nov 2007) $
$Author: dharland $ (last person to modify)

Since:
2007-10-24
Author:
David M. Harland

Method Summary
 void execute()
          Runs this device.
 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)
          Executes this device and all downstream devices up to, but not including, the firstUnexecutedDevice.
 

Method Detail

execute

void execute()
Runs this device.

It is typical for signal processors to be linked together. For those devices it is also typical, but not required by this interface specification, for them to tell the processor(s) linked to their output(s) to also execute.


executeUpTo

void executeUpTo(SignalProcessor firstUnexecutedDevice)
Executes this device and all downstream devices up to, but not including, the firstUnexecutedDevice. See execute() for more information about the linking of processors.

Parameters:
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 execute().

executeFromStartOfChainUpTo

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.

Parameters:
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.


Copyright © 2009. All Rights Reserved.