Package GPS

Class GpsLogger

Direct Known Subclasses:
NetGPSLogging

public class GpsLogger extends SQLLogging
  • Field Details

  • Constructor Details

  • Method Details

    • doExtraChecks

      public boolean doExtraChecks(DBProcess dbProcess, PamConnection connection)
      Description copied from class: SQLLogging
      Gives each module a chance to do additional checks and alterations to the database table at connection time. e.g. the GPS module may want to check that the table is not an old Logger table and if necessary alter the columns into the PAMGUARD format.
      Overrides:
      doExtraChecks in class SQLLogging
      Parameters:
      connection -
      Returns:
      true if tests and alterations OK.
    • setTableData

      public void setTableData(SQLTypes sqlTypes, PamDataUnit pamDataUnit)
      Description copied from class: SQLLogging
      Callback function when new data are created that allows the user to set the data for each column. Columns that have data which can be filled automatically (counters, primary keys and columns cross referenced to data in other tables) are filled automatically in fillTableData()
      Specified by:
      setTableData in class SQLLogging
      Parameters:
      pamDataUnit -
    • createDataUnit

      protected PamDataUnit createDataUnit(SQLTypes sqlTypes, long dataTime, int iD)
      Description copied from class: SQLLogging
      Turn the data, which have been transferred back into the PamTableItems back into a usable data. Don't add to datablock. This will happen in calling function after additional add-ons and annotations have been added to the data unit. .
      Overrides:
      createDataUnit in class SQLLogging
      Returns:
      true if a data unit was successfully created
    • getCanLog

      public boolean getCanLog()
    • createViewResultSet

      protected ResultSet createViewResultSet(PamConnection con, PamViewParameters pamViewParameters)
      Description copied from class: SQLLogging
      Get a results set for the viewer. In principle, the view parameters can contain information about the analysis time as well as the actual data view time, but this is never used
      Overrides:
      createViewResultSet in class SQLLogging
      Parameters:
      con - connection
      pamViewParameters - view parameters.
      Returns:
      a result set