CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/EventFilter/ResourceBroker/interface/ResourceChecker.h

Go to the documentation of this file.
00001 /*
00002  * ResourceChecker.h
00003  *
00004  *  Created on: Nov 23, 2011
00005  *
00006  *      Author:
00007  *      Philipp Schieferdecker <philipp.schieferdecker@cern.ch>
00008  *      Andrei Spataru <aspataru@cern.ch>
00009  */
00010 
00011 #ifndef RESOURCECHECKER_H_
00012 #define RESOURCECHECKER_H_
00013 
00014 #include "EventFilter/ResourceBroker/interface/FUResource.h"
00015 
00016 namespace evf {
00017 
00025 class ResourceChecker {
00026 
00027 public:
00028         ResourceChecker(FUResource* const resToCheck);
00029 
00033         void processDataBlock(MemRef_t* bufRef) throw (evf::Exception);
00034 
00035 private:
00039         void checkDataBlockPayload(MemRef_t* bufRef) throw (evf::Exception);
00044         void findFEDs() throw (evf::Exception);
00045 
00046 private:
00047         FUResource* const res_;
00048 
00049 };
00050 
00051 }
00052 
00053 #endif /* RESOURCECHECKER_H_ */