Package Array
Class HydrophoneProcess
java.lang.Object
PamguardMVC.PamProcess
Array.HydrophoneProcess
- All Implemented Interfaces:
PamObserver
,ProcessAnnotator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addOutputDataBlock
(PamDataBlock outputDataBlock) Adds an additional PamDataBlock to the processvoid
Save all the array data to the database.int
createDefaultHydrophoneUnits
(long timeNow) int
createDefaultStreamerUnits
(long timeNow) void
Called from the PamControlled unit when a PamControlled unit is removed from the model.void
pamStart()
Called for each process to tell it to start (may not be necessary for processes which are listening for data anyway).void
pamStop()
Stops the process.Methods inherited from class PamguardMVC.PamProcess
absMillisecondsToSamples, absSamplesToMilliseconds, addData, addMultiPlexDataBlock, changedThreading, clearOldData, createAnnotations, 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, prepareProcess, prepareProcessOK, processNewBuoyData, receiveSourceNotification, relMillisecondsToSamples, relSamplesToMilliseconds, removeAllDataBlocks, removeAllMultiPlexDataBlocks, removeMultiPlexDataBlock, removeObservable, removeOutputDatablock, resetDataBlocks, saveViewerData, setCanMultiThread, setExternalProcess, setMultiplex, setParentDataBlock, setParentDataBlock, setProcessCheck, setProcessName, setSampleRate, setupProcess, toString, updateData
-
Constructor Details
-
HydrophoneProcess
-
-
Method Details
-
destroyProcess
public void destroyProcess()Description copied from class:PamProcess
Called from the PamControlled unit when a PamControlled unit is removed from the model. Offers an opportunity to disconnect individual processed from the rest of the model. May be necessary to override to clean up some processes.- Overrides:
destroyProcess
in classPamProcess
-
addOutputDataBlock
Description copied from class:PamProcess
Adds an additional PamDataBlock to the process- Overrides:
addOutputDataBlock
in classPamProcess
- Parameters:
outputDataBlock
- Reference to a PamDataBlock
-
pamStart
public void pamStart()Description copied from class:PamProcess
Called for each process to tell it to start (may not be necessary for processes which are listening for data anyway).- Specified by:
pamStart
in classPamProcess
-
pamStop
public void pamStop()Description copied from class:PamProcess
Stops the process.- Specified by:
pamStop
in classPamProcess
-
createArrayData
public void createArrayData()Save all the array data to the database. This get's called when the array manager dialog has been called or when PAMGuard starts to ensure that there is a database record of how the hydrophones were arranged.This may cause trouble in offline analysis if you want to make changes to the phone layout (for example changing a hydrophone separation).
-
createDefaultStreamerUnits
public int createDefaultStreamerUnits(long timeNow) -
createDefaultHydrophoneUnits
public int createDefaultHydrophoneUnits(long timeNow)
-