#include <IDataItem.h>
Public Member Functions | |
virtual std::string | getTable ()=0 |
IDataItem () | |
Public Member Functions inherited from IDBObject | |
oracle::occi::Connection * | getConn () const |
oracle::occi::Environment * | getEnv () const |
void | setConnection (oracle::occi::Environment *env, oracle::occi::Connection *conn) |
virtual | ~IDBObject () |
Protected Member Functions | |
void | checkPrepare () throw (std::runtime_error) |
void | createReadStatement () throw (std::runtime_error) |
virtual void | prepareWrite ()=0 throw (std::runtime_error) |
void | setPrefetchRowCount (int ncount) throw (std::runtime_error) |
void | terminateReadStatement () throw (std::runtime_error) |
void | terminateWriteStatement () throw (std::runtime_error) |
Protected Member Functions inherited from IDBObject | |
void | checkConnection () const throw (std::runtime_error) |
Protected Attributes | |
oracle::occi::Statement * | m_readStmt |
oracle::occi::Statement * | m_writeStmt |
Protected Attributes inherited from IDBObject | |
oracle::occi::Connection * | m_conn |
oracle::occi::Environment * | m_env |
Additional Inherited Members | |
Static Public Attributes inherited from IDBObject | |
static int const | ECALDB_NROWS =1024 |
Abstract interface for data in the conditions DB
Definition at line 16 of file IDataItem.h.
|
inline |
Definition at line 19 of file IDataItem.h.
|
inlineprotected |
Definition at line 31 of file IDataItem.h.
References m_writeStmt, and NULL.
Referenced by ITimingDat::writeArrayDB(), and ITimingDat::writeDB().
|
inlineprotected |
|
pure virtual |
Implemented in ITimingDat, RunDCSHVDat, RunDCSLVDat, MODCCSHFDat, RunDCSMagnetDat, MonPulseShapeDat, CaliCrystalIntercalDat, CaliGainRatioDat, CaliGeneralDat, CaliHVScanRatioDat, CaliTempDat, DCUCapsuleTempDat, DCUCapsuleTempRawDat, DCUCCSDat, DCUIDarkDat, DCUIDarkPedDat, DCULVRBTempsDat, DCULVRTempsDat, DCULVRVoltagesDat, DCUVFETempDat, MonCrystalConsistencyDat, MonDelaysTTDat, MonLaserBlueDat, MonLaserGreenDat, MonLaserIRedDat, MonLaserRedDat, MonLed1Dat, MonLed2Dat, MonMemChConsistencyDat, MonMemTTConsistencyDat, MonOccupancyDat, MonPedestalOffsetsDat, MonPedestalsOnlineDat, MonPNBlueDat, MonPNGreenDat, MonPNIRedDat, MonPNLed1Dat, MonPNLed2Dat, MonPNMGPADat, MonPNPedDat, MonPNRedDat, MonRunDat, MonShapeQualityDat, MonTestPulseDat, MonTTConsistencyDat, RunCrystalErrorsDat, RunFEConfigDat, RunMemChErrorsDat, RunMemTTErrorsDat, RunPNErrorsDat, RunTTErrorsDat, FEConfigFgrDat, FEConfigFgrEEStripDat, FEConfigFgrEETowerDat, FEConfigFgrGroupDat, FEConfigFgrParamDat, FEConfigLinDat, FEConfigLinParamDat, FEConfigLUTDat, FEConfigLUTGroupDat, FEConfigLUTParamDat, FEConfigParamDat, FEConfigPedDat, FEConfigSlidingDat, FEConfigSpikeDat, FEConfigTimingDat, FEConfigWeightDat, FEConfigWeightGroupDat, MODCCSFEDat, MODCCSTRDat, MODDCCDetailsDat, MODDCCOperationDat, MonH4TablePositionDat, MonLaserPulseDat, MonLaserStatusDat, MonPedestalsDat, RunCommentDat, RunConfigDat, RunDat, RunH4TablePositionDat, RunLaserRunDat, RunPTMTempDat, RunTPGConfigDat, MonTimingLaserBlueCrystalDat, MonTimingCrystalDat, MonTimingLaserBlueTTDat, MonTimingLaserGreenCrystalDat, MonTimingLaserGreenTTDat, MonTimingLaserIRedCrystalDat, MonTimingLaserIRedTTDat, MonTimingLaserRedCrystalDat, MonTimingLaserRedTTDat, MonTimingLed1CrystalDat, MonTimingLed1TTDat, MonTimingLed2CrystalDat, MonTimingLed2TTDat, and MonTimingTTDat.
|
protectedpure virtual |
Implemented in DCUCCSDat, DCULVRVoltagesDat, RunDCSHVDat, MODDCCDetailsDat, ITimingDat, MonPulseShapeDat, RunDCSLVDat, MonPNBlueDat, MonPNGreenDat, MonPNIRedDat, MonPNLed1Dat, MonPNLed2Dat, MonPNMGPADat, MonPNRedDat, MonMemTTConsistencyDat, MonTestPulseDat, MonTTConsistencyDat, MODCCSHFDat, MonPedestalsDat, MonCrystalConsistencyDat, MonMemChConsistencyDat, RunDCSMagnetDat, FEConfigParamDat, MonLaserBlueDat, MonLaserGreenDat, MonLaserIRedDat, MonLaserRedDat, MonLed1Dat, MonLed2Dat, MonPNPedDat, MonRunDat, FEConfigLinDat, FEConfigFgrGroupDat, FEConfigWeightGroupDat, CaliCrystalIntercalDat, CaliTempDat, FEConfigPedDat, MonPedestalOffsetsDat, MonLaserPulseDat, RunH4TablePositionDat, DCULVRBTempsDat, DCULVRTempsDat, FEConfigFgrParamDat, FEConfigLUTParamDat, MonDelaysTTDat, MonLaserStatusDat, CaliGainRatioDat, CaliHVScanRatioDat, MonOccupancyDat, MonPedestalsOnlineDat, FEConfigFgrEEStripDat, FEConfigLUTGroupDat, CaliGeneralDat, DCUCapsuleTempRawDat, RunCommentDat, MonH4TablePositionDat, RunConfigDat, RunFEConfigDat, RunLaserRunDat, RunTPGConfigDat, FEConfigFgrEETowerDat, FEConfigLinParamDat, FEConfigTimingDat, DCUCapsuleTempDat, DCUIDarkDat, DCUIDarkPedDat, DCUVFETempDat, MonShapeQualityDat, RunCrystalErrorsDat, RunMemChErrorsDat, RunMemTTErrorsDat, RunPNErrorsDat, RunTTErrorsDat, FEConfigFgrDat, FEConfigLUTDat, FEConfigSlidingDat, FEConfigSpikeDat, FEConfigWeightDat, MODCCSFEDat, MODCCSTRDat, MODDCCOperationDat, RunDat, and RunPTMTempDat.
|
inlineprotected |
|
inlineprotected |
Definition at line 62 of file IDataItem.h.
References gather_cfg::cout, IDBObject::m_conn, m_readStmt, and NULL.
|
inlineprotected |
Definition at line 39 of file IDataItem.h.
References gather_cfg::cout, IDBObject::m_conn, m_writeStmt, and NULL.
|
protected |
Definition at line 29 of file IDataItem.h.
Referenced by createReadStatement(), ITimingDat::fetchData(), ITimingDat::ITimingDat(), setPrefetchRowCount(), and terminateReadStatement().
|
protected |
Definition at line 28 of file IDataItem.h.
Referenced by checkPrepare(), ITimingDat::ITimingDat(), ITimingDat::prepareWrite(), terminateWriteStatement(), ITimingDat::writeArrayDB(), and ITimingDat::writeDB().