Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
EventFilter
ShmBuffer
bin
FUShmClient.h
Go to the documentation of this file.
1
#ifndef FUSHMCLIENT_H
2
#define FUSHMCLIENT_H
3
4
5
#include "
EventFilter/ShmBuffer/interface/FUShmBuffer.h
"
6
7
#include <vector>
8
9
10
namespace
evf {
11
12
13
class
FUShmClient
14
{
15
public
:
16
//
17
// construction/destruction
18
//
19
FUShmClient
(
FUShmBuffer
* buffer);
20
~FUShmClient
();
21
22
23
//
24
// member functions
25
//
26
unsigned
int
readNext
(std::vector<std::vector<unsigned char> > &feds);
27
28
double
crashPrb
()
const
{
return
crashPrb_
; }
29
void
setCrashPrb
(
double
prb) {
crashPrb_
=prb; }
30
void
setSleep
(
int
sec) {
sleep_
= sec; }
31
32
private
:
33
//
34
// member data
35
//
36
FUShmBuffer
*
buffer_
;
37
double
crashPrb_
;
38
int
sleep_
;
39
};
40
41
42
}
// namespace evf
43
44
45
#endif
evf::FUShmClient::readNext
unsigned int readNext(std::vector< std::vector< unsigned char > > &feds)
Definition:
FUShmClient.cc:51
evf::FUShmClient::crashPrb
double crashPrb() const
Definition:
FUShmClient.h:28
evf::FUShmClient::crashPrb_
double crashPrb_
Definition:
FUShmClient.h:37
FUShmBuffer.h
evf::FUShmClient::setSleep
void setSleep(int sec)
Definition:
FUShmClient.h:30
evf::FUShmClient::sleep_
int sleep_
Definition:
FUShmClient.h:38
evf::FUShmClient::~FUShmClient
~FUShmClient()
Definition:
FUShmClient.cc:40
evf::FUShmClient::FUShmClient
FUShmClient(FUShmBuffer *buffer)
Definition:
FUShmClient.cc:30
evf::FUShmBuffer
Definition:
FUShmBuffer.h:41
evf::FUShmClient::setCrashPrb
void setCrashPrb(double prb)
Definition:
FUShmClient.h:29
evf::FUShmClient::buffer_
FUShmBuffer * buffer_
Definition:
FUShmClient.h:36
evf::FUShmClient
Definition:
FUShmClient.h:13
Generated for CMSSW Reference Manual by
1.8.5