Package Array.streamerOrigin
Class GPSOriginMethod
java.lang.Object
Array.streamerOrigin.HydrophoneOriginMethod
Array.streamerOrigin.GPSOriginMethod
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Get allowable interpolation methods for this type of origingetGpsDataIterator
(int whereFrom) Get an iterator for stepping through gps data, but only selecting from a particular streamer if more than one streamer / buoy is available.Get the latest streamer data unit.getName()
boolean
prepare()
prepare the method - called from the controllers notify model changed or whenever anything else happens that might require some preparatory actionvoid
setOriginSettings
(OriginSettings originSettings) Methods inherited from class Array.streamerOrigin.HydrophoneOriginMethod
getDialogComponent, getStreamerData, toString
-
Constructor Details
-
GPSOriginMethod
-
-
Method Details
-
getName
- Specified by:
getName
in classHydrophoneOriginMethod
-
getOriginSettings
- Specified by:
getOriginSettings
in classHydrophoneOriginMethod
-
setOriginSettings
- Specified by:
setOriginSettings
in classHydrophoneOriginMethod
-
prepare
public boolean prepare()Description copied from class:HydrophoneOriginMethod
prepare the method - called from the controllers notify model changed or whenever anything else happens that might require some preparatory action- Specified by:
prepare
in classHydrophoneOriginMethod
-
getLastStreamerData
Description copied from class:HydrophoneOriginMethod
Get the latest streamer data unit.Origin methods MUST return something for this, even if they don't have any data units, they should just make one up from the stored streamer data.
- Specified by:
getLastStreamerData
in classHydrophoneOriginMethod
- Returns:
- the latest streamer data unit.
-
getGpsDataIterator
Description copied from class:HydrophoneOriginMethod
Get an iterator for stepping through gps data, but only selecting from a particular streamer if more than one streamer / buoy is available.- Specified by:
getGpsDataIterator
in classHydrophoneOriginMethod
- Parameters:
whereFrom
- from end, start, etc.- Returns:
- an iterator, possibly containing special functionality to deal with data from specific streamers.
-
getSynchronizationObject
- Specified by:
getSynchronizationObject
in classHydrophoneOriginMethod
-
getAllowedInterpolationMethods
public int getAllowedInterpolationMethods()Description copied from class:HydrophoneOriginMethod
Get allowable interpolation methods for this type of origin- Overrides:
getAllowedInterpolationMethods
in classHydrophoneOriginMethod
- Returns:
- a bitmap of the:
PamArry.ORIGIN_USE_LATEST = 0;
PamArry.ORIGIN_INTERPOLATE = 1;
PamArry.ORIGIN_USE_PRECEEDING = 2;
-