Package PamguardMVC
Class PamInstantProcess
java.lang.Object
PamguardMVC.PamProcess
PamguardMVC.PamInstantProcess
- All Implemented Interfaces:
PamObserver
,ProcessAnnotator
- Direct Known Subclasses:
BearingProcess
,BFDetectionMonitor
,CBLocaliserProcess
,CTClassificationProcess
,CTLocalisationProcess
,DetectionMonitor
,DLClassifyProcess
,MTProcess
,PlaybackProcess
,QADataProcess
Similar to PAMProcess, but always subscribes itself to upstream
datablocks using the instant options to this process always get's called
in the same thread as data were collected in and before data units are sent for
storage. Used for classifiers and localisers which annotate existing data.
- Author:
- Doug Gillespie
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setParentDataBlock
(PamDataBlock newParentDataBlock) Set a parent data block with the default options of rethreading if setvoid
setParentDataBlock
(PamDataBlock newParentDataBlock, boolean reThread) Set a parent data block for the process with the option to rethread the data exchange process.Methods inherited from class PamguardMVC.PamProcess
absMillisecondsToSamples, absSamplesToMilliseconds, addData, addMultiPlexDataBlock, addOutputDataBlock, changedThreading, clearOldData, createAnnotations, destroyProcess, dumpBufferStatus, flushDataBlockBuffers, getAncestorDataBlock, getAnnotation, getChainPosition, getCompatibleDataUnits, getCpuPercent, getFrequencyRange, getLastSourceNotificationObject, getLastSourceNotificationType, getMuiltiplexDataBlock, getNumAnnotations, getNumMuiltiplexDataBlocks, getNumOutputDataBlocks, getObserverName, getObserverObject, getOfflineData, getOfflineData, getOutputDataBlock, getOutputDataBlocks, getPamControlledUnit, getParentDataBlock, getParentDataBlocks, getParentProcess, getProcessCheck, getProcessName, getRawSourceDataBlock, getRawSourceDataBlock, getRequiredDataHistory, getSampleRate, getSourceDataBlock, getSourceProcess, hasOutputDatablock, isCanMultiThread, isExternalProcess, isMultiplex, makePamProcess, masterClockUpdate, newData, noteNewSettings, notifyModelChanged, pamStart, pamStop, prepareProcess, prepareProcessOK, processNewBuoyData, receiveSourceNotification, relMillisecondsToSamples, relSamplesToMilliseconds, removeAllDataBlocks, removeAllMultiPlexDataBlocks, removeMultiPlexDataBlock, removeObservable, removeOutputDatablock, resetDataBlocks, saveViewerData, setCanMultiThread, setExternalProcess, setMultiplex, setProcessCheck, setProcessName, setSampleRate, setupProcess, toString, updateData
-
Constructor Details
-
PamInstantProcess
-
-
Method Details
-
setParentDataBlock
Description copied from class:PamProcess
Set a parent data block with the default options of rethreading if set- Overrides:
setParentDataBlock
in classPamProcess
- Parameters:
newParentDataBlock
- source data block.
-
setParentDataBlock
Description copied from class:PamProcess
Set a parent data block for the process with the option to rethread the data exchange process. This is overridden to false if the main PAMGUARD option to rethread is off.- Overrides:
setParentDataBlock
in classPamProcess
- Parameters:
newParentDataBlock
- source data blockreThread
- rethread if multithreading is enabled.
-