whistlesAndMoans
Class WhistleToneConnectProcess

java.lang.Object
  extended by PamguardMVC.PamProcess
      extended by whistlesAndMoans.WhistleToneConnectProcess
All Implemented Interfaces:
Annotator, PamObserver

public class WhistleToneConnectProcess
extends PamProcess


Nested Class Summary
(package private)  class WhistleToneConnectProcess.ShapeConnector
           
 
Field Summary
(package private)  int channelMap
           
protected  DataCounter dataCounter
           
private  WhistleDetectionGrouper detectionGrouper
           
private  DetectionGroupLocaliser detectionGroupLocaliser
           
private  int nConnectors
          total number of shape connectors.
private  ConnectedRegionDataBlock outputData
           
private  WhistleToneConnectProcess.ShapeConnector[] shapeConnectors
           
private  FFTDataBlock sourceData
          This will be the source data for the noise reduction and threshold process.
private  WhistleToneConnectProcess THAT
           
private  PamDataBlock<WhistleToneGroupedDetection> whistleLocations
           
private  WhistleMoanControl whistleMoanControl
           
private  WhistleToneLogging whistleToneLogging
           
 
Fields inherited from class PamguardMVC.PamProcess
outputDataBlocks, processName, sampleRate
 
Constructor Summary
WhistleToneConnectProcess(WhistleMoanControl whitesWhistleControl)
           
 
Method Summary
protected  int getFFTLen()
           
 ConnectedRegionDataBlock getOutputData()
           
 void newData(PamObservable o, PamDataUnit arg)
           
 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.
 void prepareProcess()
          Called for each process before any of them receive the PamStart command
 void setupProcess()
          called for every process once the systemmodel has been created.
 
Methods inherited from class PamguardMVC.PamProcess
absMillisecondsToSamples, absSamplesToMilliseconds, addOutputDataBlock, changedThreading, clearOldData, createAnnotations, destroyProcess, fillXMLElement, fillXMLParameters, getAncestorDataBlock, getAnnotation, getBackendProcess, getChainPosition, getCpuPercent, getNumAnnotations, getNumOutputDataBlocks, getObserverName, getObserverObject, getOfflineData, getOutputDataBlock, getPamControlledUnit, getParentDataBlock, getParentProcess, getProcessName, getRawSourceDataBlock, getRequiredDataHistory, getSampleRate, getSourceDataBlock, getSourceProcess, isCanMultiThread, makePamProcess, masterClockUpdate, noteNewSettings, notifyModelChanged, relMillisecondsToSamples, relSamplesToMilliseconds, removeObservable, removeOutputDatablock, saveViewerData, setBackendProcess, setCanMultiThread, setParentDataBlock, setParentDataBlock, setProcessName, setSampleRate, toString, update, updateData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

whistleMoanControl

private WhistleMoanControl whistleMoanControl

sourceData

private FFTDataBlock sourceData
This will be the source data for the noise reduction and threshold process.


outputData

private ConnectedRegionDataBlock outputData

whistleLocations

private PamDataBlock<WhistleToneGroupedDetection> whistleLocations

shapeConnectors

private WhistleToneConnectProcess.ShapeConnector[] shapeConnectors

dataCounter

protected DataCounter dataCounter

nConnectors

private int nConnectors
total number of shape connectors.


detectionGrouper

private WhistleDetectionGrouper detectionGrouper

detectionGroupLocaliser

private DetectionGroupLocaliser detectionGroupLocaliser

THAT

private WhistleToneConnectProcess THAT

whistleToneLogging

private WhistleToneLogging whistleToneLogging

channelMap

int channelMap
Constructor Detail

WhistleToneConnectProcess

public WhistleToneConnectProcess(WhistleMoanControl whitesWhistleControl)
Method Detail

newData

public void newData(PamObservable o,
                    PamDataUnit arg)
Overrides:
newData in class PamProcess

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 class PamProcess

pamStop

public void pamStop()
Description copied from class: PamProcess
Stops the process.

Specified by:
pamStop in class PamProcess

setupProcess

public void setupProcess()
Description copied from class: PamProcess
called for every process once the systemmodel has been created. this is a good time to check out and find input data blocks and similar tasks.

Overrides:
setupProcess in class PamProcess

prepareProcess

public void prepareProcess()
Description copied from class: PamProcess
Called for each process before any of them receive the PamStart command

Overrides:
prepareProcess in class PamProcess

getFFTLen

protected int getFFTLen()

getOutputData

public ConnectedRegionDataBlock getOutputData()