test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MessageForSource.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_MessageForSource_h
2 #define FWCore_Framework_MessageForSource_h
3 // -*- C++ -*-
4 //
5 // Package: Framework
6 // Class : MessageForSource
7 //
22 //
23 // Original Author: Chris Jones
24 // Created: Thu Dec 30 10:08:24 CST 2010
25 //
26 
27 // system include files
28 
29 // user include files
30 
31 // forward declarations
32 
33 namespace edm {
34  namespace multicore {
36  {
37 
38  public:
40  startIndex(0),
41  nIndices(0) {}
42 
43  //virtual ~MessageForSource();
44 
45  // ---------- const member functions ---------------------
46 
47  // ---------- static member functions --------------------
48  static size_t sizeForBuffer() {
49  return sizeof(MessageForSource);
50  }
51 
52  // ---------- member functions ---------------------------
53 
54  public:
55  //MessageForSource(const MessageForSource&); // allow default
56 
57  //const MessageForSource& operator=(const MessageForSource&); // allow default
58 
59  // ---------- member data --------------------------------
60  unsigned long startIndex; //which event index to start processing for this 'block'
61  unsigned long nIndices; //number of consecutive indicies in the block
62 
63  };
64  }
65 }
66 
67 #endif