CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BUProxy.h
Go to the documentation of this file.
1 //
3 // BUProxy
4 // -------
5 //
7 
8 #ifndef BUPROXY_H
9 #define BUPROXY_H
10 
13 #include "xdaq/Application.h"
14 
15 namespace evf {
16 
21 class BUProxy {
22 public:
23  //
24  // construction/destruction
25  //
26  BUProxy(xdaq::ApplicationDescriptor *fuAppDesc,
27  xdaq::ApplicationDescriptor *buAppDesc,
28  xdaq::ApplicationContext *fuAppContext,
29  toolbox::mem::Pool *i2oPool);
30  virtual ~BUProxy();
31 
32  //
33  // member functions
34  //
35 
39  void sendAllocate(const UIntVec_t& fuResourceIds) throw (evf::Exception);
40 
44  void sendDiscard(UInt_t buResourceId) throw (evf::Exception);
45 
46 private:
47  //
48  // member data
49  //
50  xdaq::ApplicationDescriptor *fuAppDesc_;
51  xdaq::ApplicationDescriptor *buAppDesc_;
52  xdaq::ApplicationContext *fuAppContext_;
53  toolbox::mem::Pool *i2oPool_;
54 
55 };
56 
57 } // namespace evf
58 
59 #endif
xdaq::ApplicationDescriptor * buAppDesc_
Definition: BUProxy.h:51
virtual ~BUProxy()
Definition: BUProxy.cc:42
xdaq::ApplicationDescriptor * fuAppDesc_
Definition: BUProxy.h:50
void sendDiscard(UInt_t buResourceId)
Definition: BUProxy.cc:108
void sendAllocate(const UIntVec_t &fuResourceIds)
Definition: BUProxy.cc:51
xdaq::ApplicationContext * fuAppContext_
Definition: BUProxy.h:52
toolbox::mem::Pool * i2oPool_
Definition: BUProxy.h:53
unsigned int UInt_t
Definition: FUTypes.h:12
BUProxy(xdaq::ApplicationDescriptor *fuAppDesc, xdaq::ApplicationDescriptor *buAppDesc, xdaq::ApplicationContext *fuAppContext, toolbox::mem::Pool *i2oPool)
Definition: BUProxy.cc:33
std::vector< UInt_t > UIntVec_t
Definition: FUTypes.h:15