Package Array.streamerOrigin
Class GPSOriginMethod
java.lang.Object
Array.streamerOrigin.HydrophoneOriginMethod
Array.streamerOrigin.GPSOriginMethod
- All Implemented Interfaces:
Cloneable
-
Field Summary
Fields inherited from class Array.streamerOrigin.HydrophoneOriginMethod
pamArray, streamer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet 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()booleanprepare()prepare the method - called from the controllers notify model changed or whenever anything else happens that might require some preparatory actionvoidsetOriginSettings(OriginSettings originSettings) Methods inherited from class Array.streamerOrigin.HydrophoneOriginMethod
clone, getDialogComponent, getPamArray, getStreamer, getStreamerData, toGpsData, toString
-
Constructor Details
-
GPSOriginMethod
-
-
Method Details
-
getName
- Specified by:
getNamein classHydrophoneOriginMethod
-
getOriginSettings
- Specified by:
getOriginSettingsin classHydrophoneOriginMethod
-
setOriginSettings
- Specified by:
setOriginSettingsin classHydrophoneOriginMethod
-
prepare
public boolean prepare()Description copied from class:HydrophoneOriginMethodprepare the method - called from the controllers notify model changed or whenever anything else happens that might require some preparatory action- Specified by:
preparein classHydrophoneOriginMethod
-
getLastStreamerData
Description copied from class:HydrophoneOriginMethodGet 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:
getLastStreamerDatain classHydrophoneOriginMethod- Returns:
- the latest streamer data unit.
-
getGpsDataIterator
Description copied from class:HydrophoneOriginMethodGet an iterator for stepping through gps data, but only selecting from a particular streamer if more than one streamer / buoy is available.- Specified by:
getGpsDataIteratorin classHydrophoneOriginMethod- Parameters:
whereFrom- from end, start, etc.- Returns:
- an iterator, possibly containing special functionality to deal with data from specific streamers.
-
getSynchronizationObject
- Specified by:
getSynchronizationObjectin classHydrophoneOriginMethod
-
getAllowedInterpolationMethods
public int getAllowedInterpolationMethods()Description copied from class:HydrophoneOriginMethodGet allowable interpolation methods for this type of origin- Overrides:
getAllowedInterpolationMethodsin classHydrophoneOriginMethod- Returns:
- a bitmap of the:
PamArry.ORIGIN_USE_LATEST = 0;
PamArry.ORIGIN_INTERPOLATE = 1;
PamArry.ORIGIN_USE_PRECEEDING = 2;
-