Warning, file /include/root/TSQLMonitoring.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TSQLMonitoring
0013 #define ROOT_TSQLMonitoring
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #include "TVirtualMonitoring.h"
0024 #include "TString.h"
0025
0026
0027 class TSQLServer;
0028
0029
0030 class TSQLMonitoringWriter : public TVirtualMonitoringWriter {
0031
0032 private:
0033 TSQLServer *fDB;
0034 TString fTable;
0035
0036 Long64_t fMaxBulkSize;
0037
0038 Bool_t fVerbose;
0039
0040 TSQLMonitoringWriter(const TSQLMonitoringWriter&) = delete;
0041 TSQLMonitoringWriter& operator=(const TSQLMonitoringWriter&) = delete;
0042
0043 public:
0044 TSQLMonitoringWriter(const char *serv, const char *user, const char *pass, const char *table);
0045 virtual ~TSQLMonitoringWriter();
0046
0047 Bool_t SendParameters(TList *values, const char * ) override;
0048
0049 void Verbose(Bool_t onoff) override { fVerbose = onoff; }
0050
0051 ClassDefOverride(TSQLMonitoringWriter, 0)
0052 };
0053
0054 #endif