Class SimObjectDataUnit

java.lang.Object
PamguardMVC.PamDataUnit
simulatedAcquisition.SimObjectDataUnit
All Implemented Interfaces:
Comparable

public class SimObjectDataUnit extends PamDataUnit
SimObjectDataUnit is one per sound source, i.e. think of one of these things as an animal. It may be handling a list of several sounds.
Author:
doug
  • Constructor Details

    • SimObjectDataUnit

      public SimObjectDataUnit(SimProcess simProcess, SimObject simObject, long firstSigTime)
  • Method Details

    • getSimObject

      public SimObject getSimObject()
    • setSimObject

      public void setSimObject(SimObject simObject)
    • getSimSignal

      public SimSignal getSimSignal()
    • setSimSignal

      public void setSimSignal(SimSignal simSignal)
    • setSimSignal

      public boolean setSimSignal()
    • getCurrentPosition

      public LatLong getCurrentPosition()
      Returns:
      the currentPosition
    • setCurrentPosition

      public void setCurrentPosition(long timeMilliseconds, LatLong currentPosition, double currentHeight, PamVector currentHeading)
      Parameters:
      timeMilliseconds -
      currentPosition - the currentPosition to set
      currentHeight -
      currentHeading -
    • resetSounds

      public void resetSounds(long timeInMillis)
      Called after the object has been moved with the mouse.
      Parameters:
      timeInMillis -
    • getSimProcess

      public SimProcess getSimProcess()
      Returns:
      the simProcess
    • getCurrentHeading

      public PamVector getCurrentHeading()
      Returns:
      the currentHeading
    • setCurrentHeading

      public void setCurrentHeading(PamVector currentHeading)
      Parameters:
      currentHeading - the currentHeading to set
    • getCurrentHeight

      public double getCurrentHeight()
      Returns:
      the currentHeight
    • setCurrentHeight

      public void setCurrentHeight(double currentHeight)
      Parameters:
      currentHeight - the currentHeight to set