CMS 3D CMS Logo

evf::FUShmClient Class Reference

#include <EventFilter/ShmBuffer/bin/FUShmClient.h>

List of all members.

Public Member Functions

double crashPrb () const
 FUShmClient (FUShmBuffer *buffer)
unsigned int readNext (std::vector< std::vector< unsigned char > > &feds)
void setCrashPrb (double prb)
void setSleep (int sec)
 ~FUShmClient ()

Private Attributes

FUShmBufferbuffer_
double crashPrb_
int sleep_


Detailed Description

Definition at line 13 of file FUShmClient.h.


Constructor & Destructor Documentation

FUShmClient::FUShmClient ( FUShmBuffer buffer  ) 

Definition at line 30 of file FUShmClient.cc.

00031   : buffer_(buffer)
00032   , crashPrb_(0.01)
00033   , sleep_(0)
00034 {
00035   
00036 }

FUShmClient::~FUShmClient (  ) 

Definition at line 40 of file FUShmClient.cc.

00041 {
00042 
00043 }


Member Function Documentation

double evf::FUShmClient::crashPrb (  )  const [inline]

Definition at line 28 of file FUShmClient.h.

References crashPrb_.

00028 { return crashPrb_; }

unsigned int evf::FUShmClient::readNext ( std::vector< std::vector< unsigned char > > &  feds  ) 

Referenced by main().

void evf::FUShmClient::setCrashPrb ( double  prb  )  [inline]

Definition at line 29 of file FUShmClient.h.

References crashPrb_.

Referenced by main().

00029 { crashPrb_=prb;    }

void evf::FUShmClient::setSleep ( int  sec  )  [inline]

Definition at line 30 of file FUShmClient.h.

References sleep_.

Referenced by main().

00030 {  sleep_ = sec;    }


Member Data Documentation

FUShmBuffer* evf::FUShmClient::buffer_ [private]

Definition at line 36 of file FUShmClient.h.

double evf::FUShmClient::crashPrb_ [private]

Definition at line 37 of file FUShmClient.h.

Referenced by crashPrb(), and setCrashPrb().

int evf::FUShmClient::sleep_ [private]

Definition at line 38 of file FUShmClient.h.

Referenced by setSleep().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:46:48 2009 for CMSSW by  doxygen 1.5.4