Class HydrophoneOriginMethods

java.lang.Object
Array.streamerOrigin.HydrophoneOriginMethods

public class HydrophoneOriginMethods extends Object
  • Method Details

    • getInstance

      public static HydrophoneOriginMethods getInstance()
      Returns:
      a single instance of the register of hydrophone origin methods.
    • getCount

      public int getCount()
      Returns:
      the number of registered methods.
    • getMethod

      public HydrophoneOriginSystem getMethod(int iMethod)
      Get a specific method
      Parameters:
      iMethod - method index
      Returns:
      origin method
    • getMethod

      public HydrophoneOriginMethod getMethod(Class methodClass, PamArray pamArray, Streamer streamer)
      Get a specific method
      Parameters:
      methodClass - method class
      Returns:
      origin method
    • getMethod

      public HydrophoneOriginMethod getMethod(String methodName, PamArray pamArray, Streamer streamer)
      Get a method based on it's name. This is used when reading back from the database
      Parameters:
      methodName - name of the method as stored in the database.
      Returns:
      method.
    • indexOfClass

      public int indexOfClass(Class methodClass)
    • registerMethod

      public void registerMethod(HydrophoneOriginSystem system)
      Register a new hydrophone origin method
      Parameters:
      method - the method