8 #ifndef BUFUINTERFACE_H_
9 #define BUFUINTERFACE_H_
13 #include "xdaq/Application.h"
40 xdaq::ApplicationDescriptor* fuAppDesc);
44 void take(xdaq::ApplicationDescriptor* fuAppDesc,
45 toolbox::mem::Reference* bufRef);
bool registerFU(BaseFU *fu, Logger log)
register the FU to the interface
BUFUInterface()
private constructor
bool buConn_
flags for BU, FU connection
BaseFU * fu_
pointer to connected ResourceBroker(FU), using BaseFU interface
bool registerBU(BaseBU *bu, Logger log)
register the BU to the interface
void allocate(const UIntVec_t &fuResourceIds, xdaq::ApplicationDescriptor *fuAppDesc)
BaseBU * bu_
pointer to connected BU, using BaseBU interface
static BUFUInterface * instance_
pointer to unique instance
bool directConnection() const
checks if both BU and FU are connected to the interface
void take(xdaq::ApplicationDescriptor *fuAppDesc, toolbox::mem::Reference *bufRef)
BU->FU TAKE.
static BUFUInterface * forceNewInstance()
void discard(UInt_t buResourceId)
FU->BU DISCARD.
static BUFUInterface * instance()
returns a pointer to a singleton instance of the interface
std::vector< UInt_t > UIntVec_t