#include "us_sync_exper.h"
Public Member Functions | |
US_SyncExperiment (US_DB2 *, QWidget *=0) | |
Constructor for the US_SyncExperiment class. More... | |
int | synchronize (US_DataModel::DataDesc &) |
Synchronize database and local experiment records. More... | |
Private Member Functions | |
QString | expGUIDauc (QString) |
Private Attributes | |
US_DB2 * | db |
QStringList | expIDs |
QStringList | runIDs |
QWidget * | parentw |
QString | expID |
QString | rawID |
int | dbg_level |
This class provides the ability to synchronize an experiment record on local disk and in the database.
Definition at line 17 of file us_sync_exper.h.
US_SyncExperiment::US_SyncExperiment | ( | US_DB2 * | a_db, |
QWidget * | parent = 0 |
||
) |
Constructor for the US_SyncExperiment class.
Sets up the database person ID and pointer to the database connection
a_db | A pointer to an open database connection |
parent | Pointer to parent QWidget. |
Definition at line 8 of file us_sync_exper.cpp.
|
private |
Definition at line 205 of file us_sync_exper.cpp.
int US_SyncExperiment::synchronize | ( | US_DataModel::DataDesc & | cdesc | ) |
Synchronize database and local experiment records.
This function evaluates the state of the experiment records associated with a raw data record and updates flags whether the upload/download can proceed.
cdesc | Current description object for the raw data record being operated on (uploaded/downloaded). |
Definition at line 29 of file us_sync_exper.cpp.
|
private |
Definition at line 44 of file us_sync_exper.h.
|
private |
Definition at line 56 of file us_sync_exper.h.
|
private |
Definition at line 51 of file us_sync_exper.h.
|
private |
Definition at line 46 of file us_sync_exper.h.
|
private |
Definition at line 49 of file us_sync_exper.h.
|
private |
Definition at line 52 of file us_sync_exper.h.
|
private |
Definition at line 47 of file us_sync_exper.h.