Package GPS.effort

Class GpsEffortProvider

java.lang.Object
effort.EffortProvider
GPS.effort.GpsEffortProvider

public class GpsEffortProvider extends EffortProvider
  • Constructor Details

    • GpsEffortProvider

      public GpsEffortProvider(GPSDataBlock parentDataBlock)
  • Method Details

    • getEffort

      public EffortDataUnit getEffort(long timeMilliseconds)
      Description copied from class: EffortProvider
      Get the effort for a specific time.
      Overrides:
      getEffort in class EffortProvider
      Returns:
      Effort thing. Can be null if off effort.
    • getAllEffortThings

      public List<EffortDataUnit> getAllEffortThings()
      Description copied from class: EffortProvider
      Get all effort things. e.g. for binary data this is more or less a copy of the datamap (perhaps new units without the gaps).
      Specified by:
      getAllEffortThings in class EffortProvider
      Returns:
    • getDataSelector

      public DataSelector getDataSelector(String selectorName)
      Description copied from class: EffortProvider
      Get a data selector. For specialist effort modules, this will probably call through to the datablocks data selection system. Others, such as binaryEffortProvider can return null since they are either on or off.
      Specified by:
      getDataSelector in class EffortProvider
      Returns:
    • getSymbolManager

      public PamSymbolManager getSymbolManager()
      Description copied from class: EffortProvider
      Get a symbol manager. For specialist effort modules, this will probably call through to the datablocks existing symbol management system. Others, such as binaryEffortProvider will need a chooser for the simple on/off data types. .
      Specified by:
      getSymbolManager in class EffortProvider
      Returns:
    • getName

      public String getName()
      Description copied from class: EffortProvider
      Get the name of this effort provider.
      Specified by:
      getName in class EffortProvider
    • realTimeStart

      public void realTimeStart(long timeMilliseconds)
      Description copied from class: EffortProvider
      Notified at real time start.
      Specified by:
      realTimeStart in class EffortProvider
    • realTimeStop

      public void realTimeStop(long timeMilliseconds)
      Description copied from class: EffortProvider
      notified at real time end
      Specified by:
      realTimeStop in class EffortProvider
    • newData

      public void newData(PamDataUnit pamDataUnit)
      Description copied from class: EffortProvider
      Notified for real time data.
      Specified by:
      newData in class EffortProvider
    • viewerLoadData

      public void viewerLoadData()
      Description copied from class: EffortProvider
      Called when viewer data have been loaded for the parent datablock.
      Specified by:
      viewerLoadData in class EffortProvider