10 #ifndef FURESOURCETABLE_H
11 #define FURESOURCETABLE_H 1
19 #include "log4cplus/logger.h"
20 #include "toolbox/lang/Class.h"
21 #include "toolbox/task/Action.h"
22 #include "toolbox/task/WorkLoop.h"
24 #include <sys/types.h>
bool discardDataEvent(MemRef_t *bufRef)
std::vector< UInt_t > cellEvtNumbers() const
std::vector< std::string > cellStates() const
FUResourceTable(bool segmentationMode, UInt_t nbRawCells, UInt_t nbRecoCells, UInt_t nbDqmCells, UInt_t rawCellSize, UInt_t recoCellSize, UInt_t dqmCellSize, int freeResReq, BUProxy *bu, SMProxy *sm, log4cplus::Logger logger, unsigned int, EvffedFillerRB *frb, xdaq::Application *)
bool handleCrashedEP(UInt_t runNumber, pid_t pid)
toolbox::mem::Reference MemRef_t
std::string printStatus()
std::atomic_bool watchDogEnd_
bool buildResource(MemRef_t *bufRef)
unsigned int nbResources()
bool discardWhileHalting(bool sendDiscards)
void shutdownWatchdog(unsigned int timeout)
std::vector< time_t > cellTimeStamps() const
bool discardDqmEventWhileHalting(MemRef_t *bufRef)
std::vector< pid_t > clientPrcIds() const
FUResourceVec_t resources_
UInt_t nbResources() const
std::string clientPrcIdsAsString() const
void discardNoReschedule()
std::vector< pid_t > cellPrcIds() const
void postEndOfLumiSection(MemRef_t *bufRef)
std::atomic_bool watchDogSetFailed_
virtual ~FUResourceTable()
std::vector< std::string > dqmCellStates() const
bool sendDataWhileHalting()
void rethrowShmBufferException(evf::Exception &e, std::string where) const
bool discardDqmEvent(MemRef_t *bufRef)
bool discardDataEventWhileHalting(MemRef_t *bufRef)
void resetIPC()
reset the ShmBuffer to the initial state
bool sendDqmWhileHalting()
void initialize(bool segmentationMode, UInt_t nbRawCells, UInt_t nbRecoCells, UInt_t nbDqmCells, UInt_t rawCellSize, UInt_t recoCellSize, UInt_t dqmCellSize)