CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FUShmClient.h
Go to the documentation of this file.
1 #ifndef FUSHMCLIENT_H
2 #define FUSHMCLIENT_H
3 
4 
6 
7 #include <vector>
8 
9 
10 namespace evf {
11 
12 
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  //
37  double crashPrb_;
38  int sleep_;
39  };
40 
41 
42 } // namespace evf
43 
44 
45 #endif
unsigned int readNext(std::vector< std::vector< unsigned char > > &feds)
Definition: FUShmClient.cc:51
double crashPrb() const
Definition: FUShmClient.h:28
void setSleep(int sec)
Definition: FUShmClient.h:30
FUShmClient(FUShmBuffer *buffer)
Definition: FUShmClient.cc:30
void setCrashPrb(double prb)
Definition: FUShmClient.h:29
FUShmBuffer * buffer_
Definition: FUShmClient.h:36