#include <FUShmClient.h>
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 | |
FUShmBuffer * | buffer_ |
double | crashPrb_ |
int | sleep_ |
Definition at line 13 of file FUShmClient.h.
FUShmClient::FUShmClient | ( | FUShmBuffer * | buffer | ) |
Definition at line 30 of file FUShmClient.cc.
FUShmClient::~FUShmClient | ( | ) |
Definition at line 40 of file FUShmClient.cc.
|
inline |
unsigned int FUShmClient::readNext | ( | std::vector< std::vector< unsigned char > > & | feds | ) |
Definition at line 51 of file FUShmClient.cc.
References buffer_, gather_cfg::cout, crashPrb(), evf::FUShmBuffer::discardRawCell(), cmsRelvalreport::exit, evf::FUShmRawCell::fedSize(), evf::FUShmBuffer::finishReadingRawCell(), get_rnd(), i, evf::FUShmRawCell::index(), evf::FUShmRawCell::nFed(), evf::FUShmBuffer::rawCellToDiscard(), evf::FUShmBuffer::rawCellToRead(), evf::FUShmRawCell::readFed(), evf::FUShmBuffer::scheduleRawCellForDiscard(), stor::utils::sleep(), and sleep_.
Referenced by main().
|
inline |
|
inline |
|
private |
Definition at line 36 of file FUShmClient.h.
Referenced by readNext().
|
private |
Definition at line 37 of file FUShmClient.h.
Referenced by crashPrb(), and setCrashPrb().
|
private |
Definition at line 38 of file FUShmClient.h.
Referenced by readNext(), and setSleep().