BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
DimRpcWriter.h
Go to the documentation of this file.
1#ifndef DIM_RPC_WRITER_H
2#define DIM_RPC_WRITER_H
3
4#include <pthread.h>
5#include <string>
6
8class DimRpcInfo;
9
11{
12 public :
13
14 typedef const std::string WriterArgType;
15
17 virtual ~DimRpcWriter();
18
19 int writeEvent(void *pevt, int size);
20 int close();
21
22 int stat();
23
24
25 private :
26
27 DimRpcWriter(); //stop default
28
29
30 private :
31
32 int m_inCode;
33 DimRpcInfo *m_rpc;
34
35 static pthread_mutex_t m_rpcLock;
36};
37
38#endif
#define private
const std::string WriterArgType
Definition: DimRpcWriter.h:14
virtual ~DimRpcWriter()
int writeEvent(void *pevt, int size)