BOSS
7.0.4
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
b
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
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
z
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
Reconstruction/MdcPatRec/MdcData/MdcData-00-01-27/test/test.cxx
Go to the documentation of this file.
1
#include <iostream>
2
#include <dlfcn.h>
3
4
#include "MdcData/MdcHit.h"
5
6
int
main
() {
7
using
std::cout;
8
using
std::cerr;
9
10
cout <<
"C++ dlopen demo\n\n"
;
11
12
// open the library
13
cout <<
"Opening MdcData.so...\n"
;
14
void
* handle = dlopen(
"../rh73_gcc32/libMdcData.so"
, RTLD_LAZY);
15
16
if
(!handle) {
17
cerr <<
"Cannot open library: "
<< dlerror() <<
'\n'
;
18
return
1;
19
}
20
21
MdcHit
hit(NULL,NULL);
22
23
/* // load the symbol
24
cout << "Loading symbol hello...\n";
25
typedef void (*hello_t)();
26
hello_t hello = (hello_t) dlsym(handle, "hello");
27
if (!hello) {
28
cerr << "Cannot load symbol 'hello': " << dlerror() <<
29
'\n';
30
dlclose(handle);
31
return 1;
32
}
33
34
// use it to do the calculation
35
cout << "Calling hello...\n";
36
hello();
37
*/
38
// close the library
39
cout <<
"Closing library...\n"
;
40
dlclose(handle);
41
}
42
main
int main()
Definition:
Reconstruction/MdcPatRec/MdcData/MdcData-00-01-27/test/test.cxx:6
MdcHit
Definition:
InstallArea/include/MdcData/MdcData/MdcHit.h:44
source
Reconstruction
MdcPatRec
MdcData
MdcData-00-01-27
test
test.cxx
Generated by
1.9.6