CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_13_patch3/src/FWCore/Framework/src/MessageForSource.h

Go to the documentation of this file.
00001 #ifndef FWCore_Framework_MessageForSource_h
00002 #define FWCore_Framework_MessageForSource_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     Framework
00006 // Class  :     MessageForSource
00007 // 
00022 //
00023 // Original Author:  Chris Jones
00024 //         Created:  Thu Dec 30 10:08:24 CST 2010
00025 //
00026 
00027 // system include files
00028 
00029 // user include files
00030 
00031 // forward declarations
00032 
00033 namespace edm {
00034    namespace multicore {
00035       class MessageForSource
00036       {
00037          
00038       public:
00039          MessageForSource():
00040           startIndex(0),
00041           nIndices(0) {}
00042          
00043          //virtual ~MessageForSource();
00044          
00045          // ---------- const member functions ---------------------
00046          
00047          // ---------- static member functions --------------------
00048          static size_t sizeForBuffer() {
00049             return sizeof(MessageForSource);
00050          }
00051          
00052          // ---------- member functions ---------------------------
00053          
00054       public:
00055          //MessageForSource(const MessageForSource&); // allow default
00056          
00057          //const MessageForSource& operator=(const MessageForSource&); // allow default
00058          
00059          // ---------- member data --------------------------------
00060          unsigned long startIndex; //which event index to start processing for this 'block'
00061          unsigned long nIndices; //number of consecutive indicies in the block
00062 
00063       };
00064    }
00065 }
00066 
00067 #endif