Package PamguardMVC.uid
Class UIDViewerManager
java.lang.Object
PamguardMVC.uid.UIDViewerManager
- All Implemented Interfaces:
UIDManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ArrayList<UIDRepairRequest>
Make a list of all datablocks with a few extra bits of info about each.boolean
Called just before PAMGurd exits, at the same time that config data are written to the psf, etc.boolean
This gets called just after PAMGuard has loaded all of it's modules and is a time for the UID manager to perform checks on the UID system, either retrieving the latest values for real time ops, or checking ordering in viewer mode.void
synchUIDs
(boolean onlyNewDataBlocks) Loop through the data blocks and try to find matching database and binary file UID information.
-
Constructor Details
-
UIDViewerManager
-
-
Method Details
-
runStartupChecks
public boolean runStartupChecks()Description copied from interface:UIDManager
This gets called just after PAMGuard has loaded all of it's modules and is a time for the UID manager to perform checks on the UID system, either retrieving the latest values for real time ops, or checking ordering in viewer mode.- Specified by:
runStartupChecks
in interfaceUIDManager
- Returns:
- true if all checks completed successfully.
-
runShutDownOps
public boolean runShutDownOps()Description copied from interface:UIDManager
Called just before PAMGurd exits, at the same time that config data are written to the psf, etc. A time to write UID's to a file / the database and do any other cleaning up of the system prior to PC running again.- Specified by:
runShutDownOps
in interfaceUIDManager
- Returns:
- true if all checks completed successfully.
-
makeRepairRequests
Make a list of all datablocks with a few extra bits of info about each.- Returns:
-
synchUIDs
public void synchUIDs(boolean onlyNewDataBlocks) Description copied from interface:UIDManager
Loop through the data blocks and try to find matching database and binary file UID information. Assign the highest UID value found to the data block. If the onlyNewDataBlocks flag is true, only perform this operation on data blocks which have a current UID of 0 (which will happen if the module has just been added).- Specified by:
synchUIDs
in interfaceUIDManager
- Parameters:
onlyNewDataBlocks
- true if the operation is only to be performed on new data blocks
-