BOSS
7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/DistBossServer/DistBossServer/WriterRpc.h
Go to the documentation of this file.
1
#ifndef DISTBOSS_WRITER_RPC_H
2
#define DISTBOSS_WRITER_RPC_H
3
4
#include "DistBossUtil/PthrWriterBufPool.h"
5
#include "DistBossServer/RpcInterface.h"
6
#include "dis.hxx"
7
#include <map>
8
#include <string>
9
10
template
<
class
Writer>
11
class
WriterRpc
:
virtual
public
DimRpc,
virtual
public
RpcInterface
12
{
13
public :
14
15
WriterRpc
(
const
std::string& svrName,
const
std::string& fname);
16
virtual
~WriterRpc
();
17
18
int
wait_to_end
();
19
20
21
private
:
22
23
void
rpcHandler();
24
25
void
clearBak(
int
clientId);
26
27
WriterRpc
();
//stop default
28
29
30
private
:
31
32
int
m_evtDone;
33
34
int
m_inCode;
35
int
m_outCode;
36
37
int
m_size;
38
void
* m_pEvt;
39
40
PthrWriterBufPool<Writer>
* m_writer;
41
42
std::string m_svrName;
43
44
std::map<int, AutoEnlargeBuffer*> m_evtBak;
45
};
46
47
#include "DistBossServer/template/WriterRpc.cc"
48
49
#endif
private
#define private
Definition:
Event/RootEventData/RootEventData-00-03-80/RootEventData/RootEventData_rootcint.cxx:11
PthrWriterBufPool
Definition:
DistBoss/DistBossUtil/DistBossUtil-00-00-04/DistBossUtil/PthrWriterBufPool.h:12
RpcInterface
Definition:
DistBoss/DistBossServer/DistBossServer-00-00-04/DistBossServer/RpcInterface.h:5
WriterRpc
Definition:
DistBoss/DistBossServer/DistBossServer-00-00-04/DistBossServer/WriterRpc.h:12
WriterRpc::WriterRpc
WriterRpc(const std::string &svrName, const std::string &fname)
WriterRpc::wait_to_end
int wait_to_end()
WriterRpc::~WriterRpc
virtual ~WriterRpc()
source
InstallArea
include
DistBossServer
DistBossServer
WriterRpc.h
Generated by
1.9.6