Loading [MathJax]/jax/output/HTML-CSS/config.js
ROOT
6.14/05
Reference Guide
ROOT Home
Main Page
Tutorials
Functional Parts
+
Namespaces
Namespace List
+
Namespace Members
+
All
<
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
<
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
u
w
x
+
Enumerations
a
e
f
g
m
p
t
v
w
y
+
Enumerator
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
w
+
All Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
w
y
+
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Properties
f
+
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Files
File List
+
File Members
+
All
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerations
c
e
f
i
l
m
p
r
u
x
+
Enumerator
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
u
v
w
+
Macros
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
net
net
inc
TSQLMonitoring.h
Go to the documentation of this file.
1
// @(#)root/net:$Id$
2
// Author: J.F. Grosse-Oetringhaus, G.Ganis
3
4
/*************************************************************************
5
* Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_TSQLMonitoring
13
#define ROOT_TSQLMonitoring
14
15
//////////////////////////////////////////////////////////////////////////
16
// //
17
// TSQLMonitoringWriter //
18
// //
19
// SQL implementation of TVirtualMonitoringWriter. //
20
// //
21
//////////////////////////////////////////////////////////////////////////
22
23
#include "
TVirtualMonitoring.h
"
24
#include "
TString.h
"
25
26
27
class
TSQLServer
;
28
29
30
class
TSQLMonitoringWriter
:
public
TVirtualMonitoringWriter
{
31
32
private
:
33
TSQLServer
*
fDB
;
// SQL database where to write
34
TString
fTable
;
// SQL table name
35
36
Long64_t
fMaxBulkSize
;
// Max packet size for insertions
37
38
Bool_t
fVerbose
;
// Verbosity toggle
39
40
TSQLMonitoringWriter
(
const
TSQLMonitoringWriter
&);
// not implemented
41
TSQLMonitoringWriter
&
operator=
(
const
TSQLMonitoringWriter
&);
// not implemented
42
43
public
:
44
TSQLMonitoringWriter
(
const
char
*serv,
const
char
*user,
const
char
*pass,
const
char
*table);
45
virtual
~TSQLMonitoringWriter
();
46
47
Bool_t
SendParameters
(
TList
*values,
const
char
*
/*identifier*/
);
48
49
void
Verbose
(
Bool_t
onoff) { fVerbose = onoff; }
50
51
ClassDef
(
TSQLMonitoringWriter
, 0)
// Sending monitoring data to a SQL DB
52
};
53
54
#endif
Long64_t
long long Long64_t
Definition:
RtypesCore.h:69
TSQLMonitoringWriter::Verbose
void Verbose(Bool_t onoff)
Definition:
TSQLMonitoring.h:49
TSQLServer
Definition:
TSQLServer.h:41
TSQLMonitoringWriter::SendParameters
Bool_t SendParameters(TList *values, const char *)
Register query log using the information in the list which is in the form TParameter(<par>,<value>) or TNamed(<name>,<string>).
Definition:
TSQLMonitoring.cxx:87
TString
Basic string class.
Definition:
TString.h:131
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
TVirtualMonitoringWriter
Definition:
TVirtualMonitoring.h:30
TSQLMonitoringWriter::operator=
TSQLMonitoringWriter & operator=(const TSQLMonitoringWriter &)
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:320
TSQLMonitoringWriter::TSQLMonitoringWriter
TSQLMonitoringWriter(const TSQLMonitoringWriter &)
TVirtualMonitoring.h
TList
A doubly linked list.
Definition:
TList.h:44
TString.h
TSQLMonitoringWriter::fMaxBulkSize
Long64_t fMaxBulkSize
Definition:
TSQLMonitoring.h:36
TSQLMonitoringWriter::fTable
TString fTable
Definition:
TSQLMonitoring.h:34
TSQLMonitoringWriter
Definition:
TSQLMonitoring.h:30
TSQLMonitoringWriter::~TSQLMonitoringWriter
virtual ~TSQLMonitoringWriter()
Destructor.
Definition:
TSQLMonitoring.cxx:64
TSQLMonitoringWriter::fDB
TSQLServer * fDB
Definition:
TSQLMonitoring.h:33
TSQLMonitoringWriter::fVerbose
Bool_t fVerbose
Definition:
TSQLMonitoring.h:38