Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:12

0001 #ifndef FWCore_Framework_MessageForParent_h
0002 #define FWCore_Framework_MessageForParent_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Framework
0006 // Class  :     MessageForParent
0007 //
0008 /**\class MessageForSource MessageForParent.h FWCore/Framework/interface/MessageForParent.h
0009 
0010  Description: Information passed from parent to source when doing multicore processing
0011 
0012  Usage:
0013     This class is an internal detail of how the child process communicates with the parent.
0014  It is sent across a Unix socket to the parent to indicate that the child needs work.
0015 
0016 */
0017 //
0018 // Original Author:  Brian Bockelman
0019 //         Created:  Sat Oct 22 10:34:00 CEST 2011
0020 //
0021 
0022 // system include files
0023 #include <cstddef>
0024 
0025 // user include files
0026 
0027 // forward declarations
0028 
0029 namespace edm {
0030   namespace multicore {
0031     class MessageForParent {
0032     public:
0033       MessageForParent() : m_dummy(0) {}
0034 
0035       //virtual ~MessageForSource();
0036 
0037       // ---------- const member functions ---------------------
0038 
0039       // ---------- static member functions --------------------
0040       static size_t sizeForBuffer() { return sizeof(MessageForParent); }
0041 
0042     public:
0043       // ---------- member functions ---------------------------
0044 
0045       //MessageForSource(const MessageForSource&); // allow default
0046 
0047       //const MessageForSource& operator=(const MessageForSource&); // allow default
0048 
0049       // ---------- member data --------------------------------
0050       int m_dummy;
0051     };
0052 
0053   }  // namespace multicore
0054 }  // namespace edm
0055 
0056 #endif