Package GPS.effort
Class GpsEffortProvider
java.lang.Object
effort.EffortProvider
GPS.effort.GpsEffortProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet all effort things.getDataSelector
(String selectorName) Get a data selector.getEffort
(long timeMilliseconds) Get the effort for a specific time.getName()
Get the name of this effort provider.Get a symbol manager.void
newData
(PamDataUnit pamDataUnit) Notified for real time data.void
realTimeStart
(long timeMilliseconds) Notified at real time start.void
realTimeStop
(long timeMilliseconds) notified at real time endvoid
Called when viewer data have been loaded for the parent datablock.Methods inherited from class effort.EffortProvider
getLastEffort, getPamSymbol, getPamSymbol, getParentDataBlock, getSymbolChooser, isViewer, showOptionsDialog
-
Constructor Details
-
GpsEffortProvider
-
-
Method Details
-
getEffort
Description copied from class:EffortProvider
Get the effort for a specific time.- Overrides:
getEffort
in classEffortProvider
- Returns:
- Effort thing. Can be null if off effort.
-
getAllEffortThings
Description copied from class:EffortProvider
Get all effort things. e.g. for binary data this is more or less a copy of the datamap (perhaps new units without the gaps).- Specified by:
getAllEffortThings
in classEffortProvider
- Returns:
-
getDataSelector
Description copied from class:EffortProvider
Get a data selector. For specialist effort modules, this will probably call through to the datablocks data selection system. Others, such as binaryEffortProvider can return null since they are either on or off.- Specified by:
getDataSelector
in classEffortProvider
- Returns:
-
getSymbolManager
Description copied from class:EffortProvider
Get a symbol manager. For specialist effort modules, this will probably call through to the datablocks existing symbol management system. Others, such as binaryEffortProvider will need a chooser for the simple on/off data types. .- Specified by:
getSymbolManager
in classEffortProvider
- Returns:
-
getName
Description copied from class:EffortProvider
Get the name of this effort provider.- Specified by:
getName
in classEffortProvider
-
realTimeStart
public void realTimeStart(long timeMilliseconds) Description copied from class:EffortProvider
Notified at real time start.- Specified by:
realTimeStart
in classEffortProvider
-
realTimeStop
public void realTimeStop(long timeMilliseconds) Description copied from class:EffortProvider
notified at real time end- Specified by:
realTimeStop
in classEffortProvider
-
newData
Description copied from class:EffortProvider
Notified for real time data.- Specified by:
newData
in classEffortProvider
-
viewerLoadData
public void viewerLoadData()Description copied from class:EffortProvider
Called when viewer data have been loaded for the parent datablock.- Specified by:
viewerLoadData
in classEffortProvider
-