Package simulatedAcquisition.movement
Class GridMovement
java.lang.Object
simulatedAcquisition.movement.MovementModel
simulatedAcquisition.movement.GridMovement
- All Implemented Interfaces:
 PamSettings,SettingsNameProvider
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetName()longbooleanHas configurable options.booleanrestoreSettings(PamControlledUnitSettings pamControlledUnitSettings) booleanshowOptions(Window window, SimObject simObject) Show options dialog.booleanstart(long timeMilliseconds, SimObjectDataUnit simObjectDataUnit) Prepare to start moving.booleantakeStep(long timeMilliseconds, SimObjectDataUnit simObjectDataUnit) Take a step.Methods inherited from class simulatedAcquisition.movement.MovementModel
getSimObject 
- 
Constructor Details
- 
GridMovement
 
 - 
 - 
Method Details
- 
start
Description copied from class:MovementModelPrepare to start moving. Called once at run start.- Specified by:
 startin classMovementModel- Parameters:
 timeMilliseconds- current time in millisecondssimObjectDataUnit- Some data unit to modify.- Returns:
 - true if step taken OK. False if track is completed, in which case acquisition will stop.
 
 - 
takeStep
Description copied from class:MovementModelTake a step. Update the position, heading, etc. directly in the SimSoundDataUnit.- Specified by:
 takeStepin classMovementModel- Parameters:
 timeMilliseconds- current time in millisecondssimObjectDataUnit- Some data unit to modify.- Returns:
 - true if step taken OK. False if track is completed, in which case acquisition will stop.
 
 - 
getName
- Specified by:
 getNamein classMovementModel- Returns:
 - Name for the model.
 
 - 
hasOptions
public boolean hasOptions()Description copied from class:MovementModelHas configurable options.- Overrides:
 hasOptionsin classMovementModel- Returns:
 - true of it has a dialog
 
 - 
showOptions
Description copied from class:MovementModelShow options dialog. All options to be handled and stored internally by the MovementModel.- Overrides:
 showOptionsin classMovementModel- Parameters:
 window-simObject-- Returns:
 
 - 
getUnitName
- Specified by:
 getUnitNamein interfaceSettingsNameProvider- Returns:
 - A Name specific to this instance of the particular class, e.g. Sperm whale detector, Beaked whale detector, etc.
 
 - 
getUnitType
- Specified by:
 getUnitTypein interfacePamSettings- Returns:
 - A Name specific to the type, e.g. Click detector
 
 - 
getSettingsReference
- Specified by:
 getSettingsReferencein interfacePamSettings- Returns:
 - The serialisable object that will be stored
 
 - 
getSettingsVersion
public long getSettingsVersion()- Specified by:
 getSettingsVersionin interfacePamSettings- Returns:
 - An integer version number for the settings
 
 - 
restoreSettings
- Specified by:
 restoreSettingsin interfacePamSettings- Parameters:
 pamControlledUnitSettings-- Returns:
 - true if successful The object performs final checks (if needed) and then casts the settings data pamcontrolledunitSettings.settings into the correct type and uses as required
 
 
 -