Package PamController.status
Interface ProcessCheck
- All Known Implementing Classes:
BaseProcessCheck,CTProcessCheck
public interface ProcessCheck
-
Method Summary
Modifier and TypeMethodDescriptionGet 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
-
Method Details
-
newInput
Called from a process every time new input data arrive- Parameters:
obs- PamObservable (always a PAMDataBlock)data- Data unit
-
newOutput
Called from a process every time new data are added to the output data block- Parameters:
obs- PamObservable (always a PAMDataBlock)data- Data unit
-
getStatus
ModuleStatus getStatus()Get the process status. Note that calling this will probably reset some counters, so don't call this multiple times in quick succession.- Returns:
- the status of this process
-