CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BaseBU.h
Go to the documentation of this file.
1 /*
2  * BaseBU.h
3  *
4  * Created on: Aug 18, 2011
5  * Author: aspataru
6  */
7 
8 #ifndef BASEBU_H_
9 #define BASEBU_H_
10 
11 #include "xdaq/Application.h"
13 
14 namespace evf {
15 
16 class BaseBU {
17 
18 public:
19  /*
20  * functions to be performed when receiving an ALLOCATE or DISCARD through direct call
21  */
23  virtual void DIRECT_BU_ALLOCATE(const UIntVec_t& fuResourceIds, xdaq::ApplicationDescriptor* fuAppDesc) = 0;
25  virtual void DIRECT_BU_DISCARD(UInt_t buResourceId) = 0;
26 
29  virtual void postI2OFrame(xdaq::ApplicationDescriptor* fuAppDesc,
30  toolbox::mem::Reference* bufRef) = 0;
31 };
32 }
33 
34 #endif /* BASEBU_H_ */
virtual void postI2OFrame(xdaq::ApplicationDescriptor *fuAppDesc, toolbox::mem::Reference *bufRef)=0
virtual void DIRECT_BU_DISCARD(UInt_t buResourceId)=0
DISCARD called by the BUFU Interface when BU and FU are in the same process.
unsigned int UInt_t
Definition: FUTypes.h:12
virtual void DIRECT_BU_ALLOCATE(const UIntVec_t &fuResourceIds, xdaq::ApplicationDescriptor *fuAppDesc)=0
ALLOCATE called by the BUFU Interface when BU and FU are in the same process.
std::vector< UInt_t > UIntVec_t
Definition: FUTypes.h:15