Class ClickBearingTask

java.lang.Object
offlineProcessing.OfflineTask<ClickDetection>
clickDetector.offlineFuncs.ClickBearingTask

public class ClickBearingTask extends OfflineTask<ClickDetection>
  • Constructor Details

    • ClickBearingTask

      public ClickBearingTask(ClickControl clickControl)
      Parameters:
      clickControl -
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in class OfflineTask<ClickDetection>
      Returns:
      a name for the task, to be displayed in the dialog.
    • newDataLoad

      public void newDataLoad(long startTime, long endTime, OfflineDataMapPoint mapPoint)
      Description copied from class: OfflineTask
      Called when new data are loaded for offline processing (or once at the start of processing loaded data).
      Specified by:
      newDataLoad in class OfflineTask<ClickDetection>
      Parameters:
      startTime - start time of loaded data
      endTime - end time of loaded data
    • processDataUnit

      public boolean processDataUnit(ClickDetection click)
      Description copied from class: OfflineTask
      Process a single data unit.
      Specified by:
      processDataUnit in class OfflineTask<ClickDetection>
      Returns:
      true if the data unit has changed in some way so that it will need re-writing to it's binary file or database.
    • prepareTask

      public void prepareTask()
      Description copied from class: OfflineTask
      Called at the start of the thread which executes this task.
      Overrides:
      prepareTask in class OfflineTask<ClickDetection>
    • loadedDataComplete

      public void loadedDataComplete()
      Description copied from class: OfflineTask
      Called when processing of loaded data, or each map point worth of data, is complete.
      Specified by:
      loadedDataComplete in class OfflineTask<ClickDetection>