clickDetector
Class TrackedClickGroupLogging

java.lang.Object
  extended by generalDatabase.SQLLogging
      extended by generalDatabase.PamDetectionLogging
          extended by Localiser.GroupDetectionLogging
              extended by clickDetector.ClickGroupLogging
                  extended by clickDetector.TrackedClickGroupLogging

public class TrackedClickGroupLogging
extends ClickGroupLogging


Field Summary
(package private)  ClickGroupDataBlock<TrackedClickGroup> clickGroupDataBlock
           
 
Fields inherited from class generalDatabase.SQLLogging
UPDATE_POLICY_OVERWRITE, UPDATE_POLICY_WRITENEW
 
Constructor Summary
TrackedClickGroupLogging(ClickGroupDataBlock<TrackedClickGroup> pamDataBlock, int updatePolicy)
           
 
Method Summary
protected  boolean createDataUnit(long timeMilliseconds, int databaseIndex)
          Turn the data, which have been transferred back into the PamTableItems back into a useable data unit and put it into the datablock.
protected  boolean fillDataUnit(PamDetection pamDetection)
          PamDetection is nearly always overridden (Not sure why it's not declared abstract) so it's quite difficult for createDataUnit to fill and do anything with these in the general class.
 
Methods inherited from class generalDatabase.PamDetectionLogging
getAmplitude, getBearing, getBearingAmbiguity, getBearingError, getChannelMap, getDepth, getDepthError, getDetectionType, getDuration, getHighFreq, getLatitude, getLocalisationFlags, getLongitude, getLowFreq, getNSides, getParallelError, getPerpError, getRange, getRangeError, getReferenceAngle, getStartSample, getStartSeconds, makeStandardTableDefinition, setTableData
 
Methods inherited from class generalDatabase.SQLLogging
createInClause, createViewResultSet, doExtraChecks, fillTableData, finalize, findLogger, getIdListUpdatClause, getLastTime, getPamDataBlock, getTableDefinition, getTimesUpdateClause, getUpdatePolicy, getViewerCursorFinder, getViewerLoadClause, getViewerUpdateClause, isCanView, isLoadViewData, loadViewData, loadViewerData, logData, prepareEmulation, prepareForMixedMode, readLastData, readMixedModeData, readNextEmulation, reCheckTable, reLogData, saveOfflineData, setCanView, setColumnData, setLoadViewData, setTableDefinition, setUpdatePolicy, transferDataFromResult
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clickGroupDataBlock

ClickGroupDataBlock<TrackedClickGroup> clickGroupDataBlock
Constructor Detail

TrackedClickGroupLogging

public TrackedClickGroupLogging(ClickGroupDataBlock<TrackedClickGroup> pamDataBlock,
                                int updatePolicy)
Method Detail

fillDataUnit

protected boolean fillDataUnit(PamDetection pamDetection)
Description copied from class: PamDetectionLogging
PamDetection is nearly always overridden (Not sure why it's not declared abstract) so it's quite difficult for createDataUnit to fill and do anything with these in the general class. Therefore, assume that createDataUnit will be overridden in more concrete classes and just provide a function here to fill the data in to a newDataUnit from standard database columns

Overrides:
fillDataUnit in class ClickGroupLogging

createDataUnit

protected boolean createDataUnit(long timeMilliseconds,
                                 int databaseIndex)
Description copied from class: SQLLogging
Turn the data, which have been transferred back into the PamTableItems back into a useable data unit and put it into the datablock.

Overrides:
createDataUnit in class SQLLogging
Returns:
true if a data unit was sucessfully created