Package clickTrainDetector
Class CTProcessCheck
java.lang.Object
clickTrainDetector.CTProcessCheck
- All Implemented Interfaces:
 ProcessCheck
Process check for the click train detector.
- Author:
 - Jamie Macaulay
 
- 
Constructor Summary
ConstructorsConstructorDescriptionCTProcessCheck(ClickTrainProcess ctProcess) Constructor for the process check, - 
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck that the input has some source channels.Get the process status.voidnewInput(PamObservable obs, PamDataUnit data) Called from a process every time new input data arrivevoidnewOutput(PamObservable obs, PamDataUnit data) Called from a process every time new data are added to the output data block 
- 
Constructor Details
- 
CTProcessCheck
Constructor for the process check,- Parameters:
 process-
 
 - 
 - 
Method Details
- 
newInput
Description copied from interface:ProcessCheckCalled from a process every time new input data arrive- Specified by:
 newInputin interfaceProcessCheck- Parameters:
 obs- PamObservable (always a PAMDataBlock)data- Data unit
 - 
newOutput
Description copied from interface:ProcessCheckCalled from a process every time new data are added to the output data block- Specified by:
 newOutputin interfaceProcessCheck- Parameters:
 obs- PamObservable (always a PAMDataBlock)data- Data unit
 - 
checkSourceChannels
public boolean checkSourceChannels()Check that the input has some source channels. - 
getStatus
Description copied from interface:ProcessCheckGet the process status. Note that calling this will probably reset some counters, so don't call this multiple times in quick succession.- Specified by:
 getStatusin interfaceProcessCheck- Returns:
 - the status of this process
 
 
 -