CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BaseFU.h
Go to the documentation of this file.
1 /*
2  * BaseFU.h
3  *
4  * Created on: Aug 19, 2011
5  * Author: aspataru
6  */
7 
8 #ifndef BASEFU_H_
9 #define BASEFU_H_
10 
11 #include "xdaq/Application.h"
13 
14 namespace evf {
15 
16 class BaseFU {
17 
18 public:
20  virtual void I2O_FU_TAKE_Callback(toolbox::mem::Reference* bufRef) = 0;
21 
23  virtual void buildAndSendAllocate(const UIntVec_t& fuResourceIds) = 0;
25  virtual void buildAndSendDiscard(UInt_t buResourceId) = 0;
26 
27 };
28 }
29 
30 #endif /* BASEFU_H_ */
virtual void I2O_FU_TAKE_Callback(toolbox::mem::Reference *bufRef)=0
function to be performed upon receiving a TAKE from the BU
virtual void buildAndSendAllocate(const UIntVec_t &fuResourceIds)=0
called by the BUFU Interface to trigger an I2O ALLOCATE message being built and sent ...
virtual void buildAndSendDiscard(UInt_t buResourceId)=0
called by the BUFU Interface to trigger an I2O DISCARD message being built and sent ...
unsigned int UInt_t
Definition: FUTypes.h:12
std::vector< UInt_t > UIntVec_t
Definition: FUTypes.h:15