rocca
Class RoccaSightingDataUnit

java.lang.Object
  extended by PamguardMVC.PamDataUnit
      extended by PamDetection.AcousticDataUnit
          extended by PamDetection.PamDetection<PamDetection,PamDetection>
              extended by rocca.RoccaSightingDataUnit
All Implemented Interfaces:
java.lang.Comparable<PamDataUnit>

public class RoccaSightingDataUnit
extends PamDetection<PamDetection,PamDetection>

Container holding information about the current sighting, including pointers to the contours already measured

Author:
Michael Oswald

Field Summary
(package private)  RoccaContourDataBlock roccaContourDataBlock
           
(package private)  int sightNum
           
 
Fields inherited from class PamDetection.AcousticDataUnit
AMPLITUDE_SCALE_DBREMPA, AMPLITUDE_SCALE_LINREFSD, duration, frequency, startSample
 
Fields inherited from class PamguardMVC.PamDataUnit
absBlockIndex, channelBitmap, localisation, oLL, timeMilliseconds
 
Constructor Summary
RoccaSightingDataUnit(long timeMilliseconds, int channelBitmap, long startSample, long duration)
           
 
Method Summary
 RoccaContourDataBlock getContour()
           
 int getSightNum()
           
 void setContour(RoccaContourDataBlock rcdb)
           
 void setSightNum(int sightNum)
           
 
Methods inherited from class PamDetection.PamDetection
addSubDetection, addSuperDetection, getDetectionType, getPeakTime, getSubDetection, getSubDetectionsCount, getSubDetectionSyncronisation, getSuperDetection, getSuperDetection, getSuperDetectionsCount, getSuperDetectionSyncronisation, removeSubDetection, removeSuperDetection, setDetectionType, setPeakTime, setUniqueSuperDetection
 
Methods inherited from class PamDetection.AcousticDataUnit
amplifyMeasuredAmplitudeByDB, amplifyMeasuredAmplitudeByLinear, compareTo, getAmplitudeDB, getCalculatedAmlitudeDB, getDuration, getFrequency, getFrequencyOverlap, getLastSample, getMeasuredAmplitude, getMeasuredAmplitudeType, getSeconds, getStartSample, getTimeOverlap, setCalculatedAmlitudeDB, setDuration, setFrequency, setInfo, setMeasuredAmplitude, setMeasuredAmplitude, setMeasuredAmplitudeType, setStartSample
 
Methods inherited from class PamguardMVC.PamDataUnit
clearUpdateCount, getAbsBlockIndex, getChannelBitmap, getDatabaseIndex, getDatabaseUpdateOf, getDataUnitFileInformation, getGpsPosition, getLastUpdateTime, getLocalisation, getOriginLatLong, getPairAngle, getParentDataBlock, getTimeMilliseconds, getUpdateCount, setAbsBlockIndex, setChannelBitmap, setDatabaseIndex, setDatabaseUpdateOf, setDataUnitFileInformation, setLastUpdateTime, setLocalisation, setOriginLatLong, setParentDataBlock, setTimeMilliseconds, updateDataUnit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sightNum

int sightNum

roccaContourDataBlock

RoccaContourDataBlock roccaContourDataBlock
Constructor Detail

RoccaSightingDataUnit

public RoccaSightingDataUnit(long timeMilliseconds,
                             int channelBitmap,
                             long startSample,
                             long duration)
Method Detail

getSightNum

public int getSightNum()

setSightNum

public void setSightNum(int sightNum)

getContour

public RoccaContourDataBlock getContour()

setContour

public void setContour(RoccaContourDataBlock rcdb)