CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IPCManager.h
Go to the documentation of this file.
1 //
3 // IPCManager.h
4 // -------
5 //
6 // Created on: Oct 26, 2011
7 // Andrei Spataru : aspataru@cern.ch
9 
10 #ifndef IPCMANAGER_H_
11 #define IPCMANAGER_H_
12 
14 #include "xdaq/Application.h"
16 
17 namespace evf {
18 
27 class IPCManager {
28 
29 public:
30  IPCManager(bool useMQ);
31  virtual ~IPCManager();
32 
36  void initialise(bool segmentationMode, UInt_t nbRawCells,
37  UInt_t nbRecoCells, UInt_t nbDqmCells, UInt_t rawCellSize,
38  UInt_t recoCellSize, UInt_t dqmCellSize,
39  int freeResRequiredForAllocate, BUProxy* bu, SMProxy* sm,
40  log4cplus::Logger logger, unsigned int resourceStructureTimeout,
41  EvffedFillerRB*frb, xdaq::Application*) throw (evf::Exception);
42 
46  IPCMethod* const ipc();
47 
48 private:
49  // selected IPC method
50  // true - Message Queue
51  // false - Shared Memory
53 
54  // pointer to IPC communication type
56 
57 };
58 
59 }
60 
61 #endif /* IPCMANAGER_H_ */
std::ostream & logger()
Definition: fwLog.cc:41
bool useMessageQueueIPC_
Definition: IPCManager.h:52
virtual ~IPCManager()
Definition: IPCManager.cc:24
IPCMethod * ipc_
Definition: IPCManager.h:55
IPCMethod *const ipc()
Definition: IPCManager.cc:59
unsigned int UInt_t
Definition: FUTypes.h:12
void initialise(bool segmentationMode, UInt_t nbRawCells, UInt_t nbRecoCells, UInt_t nbDqmCells, UInt_t rawCellSize, UInt_t recoCellSize, UInt_t dqmCellSize, int freeResRequiredForAllocate, BUProxy *bu, SMProxy *sm, log4cplus::Logger logger, unsigned int resourceStructureTimeout, EvffedFillerRB *frb, xdaq::Application *)
Definition: IPCManager.cc:29
IPCManager(bool useMQ)
Definition: IPCManager.cc:19