CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/EventFilter/Utilities/interface/BaseBU.h

Go to the documentation of this file.
00001 /*
00002  * BaseBU.h
00003  *
00004  *  Created on: Aug 18, 2011
00005  *      Author: aspataru
00006  */
00007 
00008 #ifndef BASEBU_H_
00009 #define BASEBU_H_
00010 
00011 #include "xdaq/Application.h"
00012 #include "EventFilter/Utilities/interface/BUFUTypes.h"
00013 
00014 namespace evf {
00015 
00016 class BaseBU {
00017 
00018 public:
00019         /*
00020          * functions to be performed when receiving an ALLOCATE or DISCARD through direct call
00021          */
00023         virtual void DIRECT_BU_ALLOCATE(const UIntVec_t& fuResourceIds, xdaq::ApplicationDescriptor* fuAppDesc) = 0;
00025         virtual void DIRECT_BU_DISCARD(UInt_t buResourceId) = 0;
00026 
00029         virtual void postI2OFrame(xdaq::ApplicationDescriptor* fuAppDesc,
00030                         toolbox::mem::Reference* bufRef) = 0;
00031 };
00032 }
00033 
00034 #endif /* BASEBU_H_ */