listening
Class ListeningProcess

java.lang.Object
  extended by PamguardMVC.PamProcess
      extended by listening.ListeningProcess
All Implemented Interfaces:
Annotator, PamObserver

public class ListeningProcess
extends PamProcess


Field Summary
protected  PamDataBlock<ListeningEffortData> effortDataBlock
           
protected  PamDataBlock<ThingHeard> heardDataBlock
           
protected  ListeningEffortData lastEffort
           
private  ListeningControl listeningControl
           
protected  ThingHeardGraphics thingHeardGraphics
           
 
Fields inherited from class PamguardMVC.PamProcess
outputDataBlocks, processName, sampleRate
 
Constructor Summary
ListeningProcess(ListeningControl listeningControl)
           
 
Method Summary
protected  void buttonPress(int speciesIndex, int volume, int hydrophones, java.lang.String comment)
           
protected  void effortButton(int index, int hydrophones)
           
 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, 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, newData, noteNewSettings, notifyModelChanged, prepareProcess, relMillisecondsToSamples, relSamplesToMilliseconds, removeObservable, removeOutputDatablock, saveViewerData, setBackendProcess, setCanMultiThread, setParentDataBlock, setParentDataBlock, setProcessName, setSampleRate, setupProcess, toString, update, updateData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

listeningControl

private ListeningControl listeningControl

effortDataBlock

protected PamDataBlock<ListeningEffortData> effortDataBlock

heardDataBlock

protected PamDataBlock<ThingHeard> heardDataBlock

lastEffort

protected ListeningEffortData lastEffort

thingHeardGraphics

protected ThingHeardGraphics thingHeardGraphics
Constructor Detail

ListeningProcess

public ListeningProcess(ListeningControl listeningControl)
Method Detail

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

effortButton

protected void effortButton(int index,
                            int hydrophones)

buttonPress

protected void buttonPress(int speciesIndex,
                           int volume,
                           int hydrophones,
                           java.lang.String comment)