depthReadout
Class DepthSQLLogging

java.lang.Object
  extended by generalDatabase.SQLLogging
      extended by depthReadout.DepthSQLLogging

public class DepthSQLLogging
extends SQLLogging


Field Summary
private  DepthControl depthControl
           
private  PamTableItem[] depthItems
           
private  int nSensors
           
private  PamTableItem[] rawDepthItems
           
private  PamTableDefinition tableDefinition
           
 
Fields inherited from class generalDatabase.SQLLogging
UPDATE_POLICY_OVERWRITE, UPDATE_POLICY_WRITENEW
 
Constructor Summary
DepthSQLLogging(DepthControl depthControl, DepthDataBlock depthDataBlock)
           
 
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.
 void setTableData(PamDataUnit pamDataUnit)
          Callback function when new data are created that allows the user to set the data for each column.
 
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

depthControl

private DepthControl depthControl

rawDepthItems

private PamTableItem[] rawDepthItems

depthItems

private PamTableItem[] depthItems

nSensors

private int nSensors

tableDefinition

private PamTableDefinition tableDefinition
Constructor Detail

DepthSQLLogging

public DepthSQLLogging(DepthControl depthControl,
                       DepthDataBlock depthDataBlock)
Method Detail

setTableData

public void setTableData(PamDataUnit pamDataUnit)
Description copied from class: SQLLogging
Callback function when new data are created that allows the user to set the data for each column. Columns that have data which can be filled automatically (counters, primary keys and columns cross referenced to data in other tables) are filled automatically in fillTableData()

Specified by:
setTableData in class SQLLogging

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