Class AbstractLocaliser<T extends PamDataUnit>
java.lang.Object
Localiser.algorithms.timeDelayLocalisers.bearingLoc.AbstractLocaliser<T>
- Direct Known Subclasses:
TargetMotionLocaliser
,TargetMotionLocaliser
Abstract Localiser class.
An abstact localiser is primarily something which can be added to any
DataBlock and will handle localisation of any data unit added or updated
in that datablock before those data are sent off for saving.
- Author:
- Doug Gillespie
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract String
boolean
boolean
abstract boolean
localiseDataUnit
(T dataUnit) Localise a data unit.void
setRunOnAdd
(boolean runOnAdd) void
setRunOnUpdate
(boolean runOnUpdate)
-
Constructor Details
-
AbstractLocaliser
-
-
Method Details
-
localiseDataUnit
Localise a data unit.Localisation results will be added to the data unit itself in the AbstractLocalisation field.
- Parameters:
dataUnit
- data unit to localise- Returns:
- true if localisation was successful.
-
getLocaliserName
- Returns:
- a name for the localiser for use in dialogs, menus, etc.
-
isRunOnUpdate
public boolean isRunOnUpdate()- Returns:
- the runOnUpdate
-
setRunOnUpdate
public void setRunOnUpdate(boolean runOnUpdate) - Parameters:
runOnUpdate
- the runOnUpdate to set
-
isRunOnAdd
public boolean isRunOnAdd()- Returns:
- the runOnAdd
-
setRunOnAdd
public void setRunOnAdd(boolean runOnAdd) - Parameters:
runOnAdd
- the runOnAdd to set
-
getDataBlock
- Returns:
- the dataBlock
-