Class AbstractLocaliser<T extends PamDataUnit>

java.lang.Object
Localiser.algorithms.timeDelayLocalisers.bearingLoc.AbstractLocaliser<T>
Direct Known Subclasses:
TargetMotionLocaliser, TargetMotionLocaliser

public abstract class AbstractLocaliser<T extends PamDataUnit> extends Object
Abstract Localiser class. An abstact localiser is primarily something which can be added to any DataBlock and will handle localisation of any data unit added or updated in that datablock before those data are sent off for saving.
Author:
Doug Gillespie
  • Constructor Details

    • AbstractLocaliser

      public AbstractLocaliser(PamDataBlock<T> dataBlock)
  • Method Details

    • localiseDataUnit

      public abstract boolean localiseDataUnit(T dataUnit)
      Localise a data unit.

      Localisation results will be added to the data unit itself in the AbstractLocalisation field.

      Parameters:
      dataUnit - data unit to localise
      Returns:
      true if localisation was successful.
    • getLocaliserName

      public abstract String getLocaliserName()
      Returns:
      a name for the localiser for use in dialogs, menus, etc.
    • isRunOnUpdate

      public boolean isRunOnUpdate()
      Returns:
      the runOnUpdate
    • setRunOnUpdate

      public void setRunOnUpdate(boolean runOnUpdate)
      Parameters:
      runOnUpdate - the runOnUpdate to set
    • isRunOnAdd

      public boolean isRunOnAdd()
      Returns:
      the runOnAdd
    • setRunOnAdd

      public void setRunOnAdd(boolean runOnAdd)
      Parameters:
      runOnAdd - the runOnAdd to set
    • getDataBlock

      public PamDataBlock<T> getDataBlock()
      Returns:
      the dataBlock