CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FUProxy.h
Go to the documentation of this file.
1 // $Id: FUProxy.h,v 1.8 2011/04/07 08:02:03 mommsen Exp $
3 
4 #ifndef EventFilter_StorageManager_FUProxy_h
5 #define EventFilter_StorageManager_FUProxy_h
6 
7 #include "xdaq/ApplicationContext.h"
8 #include "xdaq/ApplicationDescriptor.h"
9 #include "toolbox/mem/Pool.h"
10 
11 
12 namespace stor
13 {
14 
25  class FUProxy
26  {
27  public:
28  FUProxy
29  (
30  xdaq::ApplicationDescriptor* smAppDesc,
31  xdaq::ApplicationDescriptor* fuAppDesc,
32  xdaq::ApplicationContext* smAppContext,
33  toolbox::mem::Pool* msgPool
34  );
35 
36  void sendDataDiscard(const int& rbBufferId);
37  void sendDQMDiscard(const int& rbBufferId);
38 
39  private:
40  void sendDiscardMsg
41  (
42  const int& rbBufferId,
43  const int& msgId,
44  const size_t& msgSize
45  );
46 
47  xdaq::ApplicationDescriptor* smAppDesc_;
48  xdaq::ApplicationDescriptor* fuAppDesc_;
49  xdaq::ApplicationContext* smAppContext_;
50  toolbox::mem::Pool* msgPool_;
51  };
52 
53 } // namespace stor
54 
55 #endif // EventFilter_StorageManager_FUProxy_h
56 
57 
FUProxy(xdaq::ApplicationDescriptor *smAppDesc, xdaq::ApplicationDescriptor *fuAppDesc, xdaq::ApplicationContext *smAppContext, toolbox::mem::Pool *msgPool)
Definition: FUProxy.cc:23
void sendDiscardMsg(const int &rbBufferId, const int &msgId, const size_t &msgSize)
Definition: FUProxy.cc:46
toolbox::mem::Pool * msgPool_
Definition: FUProxy.h:50
xdaq::ApplicationContext * smAppContext_
Definition: FUProxy.h:49
void sendDQMDiscard(const int &rbBufferId)
Definition: FUProxy.cc:35
xdaq::ApplicationDescriptor * fuAppDesc_
Definition: FUProxy.h:48
xdaq::ApplicationDescriptor * smAppDesc_
Definition: FUProxy.h:47
void sendDataDiscard(const int &rbBufferId)
Definition: FUProxy.cc:40