CGEM BOSS
6.6.5.f
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
v
Enumerations
_
e
f
g
h
i
l
m
o
p
r
s
t
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
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
m
n
p
r
s
t
v
w
Enumerations
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Functions
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
w
x
Files
File List
File 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
l
m
n
o
p
q
r
s
t
u
v
w
x
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
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
Enumerations
d
e
g
h
p
r
s
t
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
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
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
ClientErrHandler.cxx
Go to the documentation of this file.
1
#include "ClientErrHandler/ClientErrHandler.h"
2
#include "DistBossUtil/DimErrorMsg.h"
3
#include "dic.hxx"
4
#include <iostream>
5
6
ClientErrHandler
* ClientErrHandler::s_instance = 0;
7
8
void
ClientErrHandler::registerInstance
()
9
{
10
if
( s_instance == 0 ) {
11
s_instance =
new
ClientErrHandler
();
12
DimClient::addErrorHandler( s_instance );
13
}
14
}
15
16
ClientErrHandler::ClientErrHandler
()
17
{
18
}
19
20
void
ClientErrHandler::errorHandler(
int
severity,
int
code,
char
* msg)
21
{
22
std::cerr <<
'['
<<
DimError::toSeverity
(severity) <<
"] "
<<
DimError::toMsg
(code) << std::endl;
23
if
( msg != 0 ) {
24
std::cout <<
'['
<<
DimError::toSeverity
(severity) <<
"] "
<< msg << std::endl;
25
}
26
}
ClientErrHandler
Definition:
DistBoss/ClientErrHandler/ClientErrHandler-00-00-01/ClientErrHandler/ClientErrHandler.h:7
ClientErrHandler::registerInstance
static void registerInstance()
Definition:
ClientErrHandler.cxx:8
ClientErrHandler::ClientErrHandler
ClientErrHandler()
Definition:
ClientErrHandler.cxx:16
DimError::toMsg
const char * toMsg(int code)
Definition:
DistBoss/DistBossUtil/DistBossUtil-00-00-04/DistBossUtil/DimErrorMsg.h:21
DimError::toSeverity
const char * toSeverity(int severity)
Definition:
DistBoss/DistBossUtil/DistBossUtil-00-00-04/DistBossUtil/DimErrorMsg.h:8
source
DistBoss
ClientErrHandler
ClientErrHandler-00-00-01
src
ClientErrHandler.cxx
Generated by
1.9.6