Package Array
Class HydrophoneProcess
java.lang.Object
PamguardMVC.PamProcess
Array.HydrophoneProcess
- All Implemented Interfaces:
 PamObserver,ProcessAnnotator
- 
Field Summary
Fields inherited from class PamguardMVC.PamProcess
outputDataBlocks, parentDataBlock, processName, sampleRate - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddOutputDataBlock(PamDataBlock outputDataBlock) Adds an additional PamDataBlock to the processvoidSave all the array data to the database.intcreateDefaultHydrophoneUnits(long timeNow) intcreateDefaultStreamerUnits(long timeNow) voidCalled from the PamControlled unit when a PamControlled unit is removed from the model.protected HydrophoneDataBlockprotected HydrophoneSQLLoggingprotected StreamerDataBlockvoidpamStart()Called for each process to tell it to start (may not be necessary for processes which are listening for data anyway).voidpamStop()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:PamProcessCalled 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:
 destroyProcessin classPamProcess
 - 
addOutputDataBlock
Description copied from class:PamProcessAdds an additional PamDataBlock to the process- Overrides:
 addOutputDataBlockin classPamProcess- Parameters:
 outputDataBlock- Reference to a PamDataBlock
 - 
pamStart
public void pamStart()Description copied from class:PamProcessCalled for each process to tell it to start (may not be necessary for processes which are listening for data anyway).- Specified by:
 pamStartin classPamProcess
 - 
pamStop
public void pamStop()Description copied from class:PamProcessStops the process.- Specified by:
 pamStopin classPamProcess
 - 
getStreamerDataBlock
- Returns:
 - the streamerDataBlock
 
 - 
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)  - 
getHydrophoneDataBlock
- Returns:
 - the hydrophoneDataBlock
 
 - 
getHydrophoneSQLlogging
- Returns:
 - the hydrophoneSQLlogging
 
 
 -