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
DistBoss/DistBossServer/DistBossServer-00-00-04/DistBossServer/ReaderRpc.h
Go to the documentation of this file.
1
#ifndef DISTBOSS_READER_RPC_H
2
#define DISTBOSS_READER_RPC_H
3
4
#include "DistBossUtil/PthrReaderBufPool.h"
5
#include "DistBossServer/RpcInterface.h"
6
#include "dis.hxx"
7
#include <string>
8
#include <map>
9
#include <vector>
10
#include <semaphore.h>
11
12
template
<
class
Reader>
13
class
ReaderRpc
:
virtual
public
DimRpc,
virtual
public
RpcInterface
14
{
15
public :
16
17
ReaderRpc
(
const
std::string& svrName,
const
std::vector<std::string>& fnames,
int
evtMax);
18
virtual
~ReaderRpc
();
19
20
int
wait_to_end
();
21
22
23
private
:
24
25
void
rpcHandler();
26
27
ReaderRpc
();
//stop default
28
29
30
private
:
31
32
int
m_evtDone;
33
int
m_evtMax;
34
35
int
m_stopFlag;
36
37
int
m_inCode;
38
int
m_outCode;
39
const
uint32_t* m_pEvt;
40
41
PthrReaderBufPool<Reader>
* m_freader;
42
43
sem_t m_sem;
44
45
std::string m_svrName;
46
47
std::map<int, AutoEnlargeBuffer*> m_evtBak;
48
};
49
50
#include "DistBossServer/template/ReaderRpc.cc"
51
52
#endif
private
#define private
Definition:
Event/RootEventData/RootEventData-00-03-80/RootEventData/RootEventData_rootcint.cxx:11
PthrReaderBufPool
Definition:
DistBoss/DistBossUtil/DistBossUtil-00-00-04/DistBossUtil/PthrReaderBufPool.h:14
ReaderRpc
Definition:
DistBoss/DistBossServer/DistBossServer-00-00-04/DistBossServer/ReaderRpc.h:14
ReaderRpc::~ReaderRpc
virtual ~ReaderRpc()
Definition:
DistBoss/DistBossServer/DistBossServer-00-00-04/DistBossServer/template/ReaderRpc.cc:22
ReaderRpc::wait_to_end
int wait_to_end()
Definition:
DistBoss/DistBossServer/DistBossServer-00-00-04/DistBossServer/template/ReaderRpc.cc:36
RpcInterface
Definition:
DistBoss/DistBossServer/DistBossServer-00-00-04/DistBossServer/RpcInterface.h:5
source
DistBoss
DistBossServer
DistBossServer-00-00-04
DistBossServer
ReaderRpc.h
Generated by
1.9.6