BOSS
7.1.1
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
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
Enumerations
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 Symbols
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
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
h
i
j
k
l
m
n
p
r
s
t
u
v
w
z
Enumerations
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
▼
BOSS
Used Packages
Requirements
►
How to use the ERS package
Todo List
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
7.1.1
►
Analysis
►
BesCxxPolicy
►
BesExamples
►
BesPolicy
►
Calibration
►
Control
►
Database
►
DetectorDescription
▼
DistBoss
►
ClientErrHandler
▼
DistBossServer
▼
DistBossServer-00-00-04
▼
DistBossServer
►
template
►
DistBossServer.h
►
JobOptionsMgr.h
►
ReaderRpc.h
►
RpcInterface.h
►
ServerErrorHandler.h
►
ServerExitHandler.h
►
WriterRpc.h
►
src
►
DistBossUtil
►
NetDataReader
►
NetDataWriter
►
RootFile
►
DQA
►
Emc
►
Event
►
EventDisplay
►
EventFilter
►
EvtPreSelect
►
External
►
Generator
►
InstallArea
►
LumTauAlg
►
MagneticField
►
Mdc
►
Muc
►
OfflineEvtFilter
►
Reconstruction
►
RootPolicy
►
Simulation
►
Tof
►
Trigger
►
Utilities
►
Validation
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
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
};
13
class
ReaderRpc
:
virtual
public
DimRpc,
virtual
public
RpcInterface
{
…
};
49
50
#include "
DistBossServer/template/ReaderRpc.cc
"
51
52
#endif
private
#define private
Definition
McEventDict_dict.cpp:6
PthrReaderBufPool.h
ReaderRpc.cc
RpcInterface.h
PthrReaderBufPool
Definition
PthrReaderBufPool.h:14
ReaderRpc
Definition
ReaderRpc.h:14
ReaderRpc::~ReaderRpc
virtual ~ReaderRpc()
Definition
ReaderRpc.cc:22
ReaderRpc::wait_to_end
int wait_to_end()
Definition
ReaderRpc.cc:36
RpcInterface
Definition
RpcInterface.h:5
7.1.1
DistBoss
DistBossServer
DistBossServer-00-00-04
DistBossServer
ReaderRpc.h
Generated by
1.12.0