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
ConstructorDescriptionCTProcessCheck
(ClickTrainProcess ctProcess) Constructor for the process check, -
Method Summary
Modifier and TypeMethodDescriptionboolean
Check that the input has some source channels.Get the process status.void
newInput
(PamObservable obs, PamDataUnit data) Called from a process every time new input data arrivevoid
newOutput
(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:ProcessCheck
Called from a process every time new input data arrive- Specified by:
newInput
in interfaceProcessCheck
- Parameters:
obs
- PamObservable (always a PAMDataBlock)data
- Data unit
-
newOutput
Description copied from interface:ProcessCheck
Called from a process every time new data are added to the output data block- Specified by:
newOutput
in 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:ProcessCheck
Get the process status. Note that calling this will probably reset some counters, so don't call this multiple times in quick succession.- Specified by:
getStatus
in interfaceProcessCheck
- Returns:
- the status of this process
-