CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
edm::JobHeaderExtractor Class Reference

#include <Utilities.h>

Public Member Functions

std::auto_ptr< SendJobHeaderextract ()
 
 JobHeaderExtractor (EventBuffer &b)
 

Private Attributes

EventBufferbuf_
 

Detailed Description

Definition at line 62 of file Utilities.h.

Constructor & Destructor Documentation

edm::JobHeaderExtractor::JobHeaderExtractor ( EventBuffer b)
inlineexplicit

Definition at line 65 of file Utilities.h.

65 :buf_(&b) { }
EventBuffer * buf_
Definition: Utilities.h:73
double b
Definition: hdecay.h:120

Member Function Documentation

std::auto_ptr<SendJobHeader> edm::JobHeaderExtractor::extract ( )
inline

Definition at line 66 of file Utilities.h.

References b, buf_, edm::EventBuffer::OperateBuffer< T >::buffer(), and AlCaHLTBitMon_ParallelJobs::p.

67  {
69  std::auto_ptr<SendJobHeader> p((SendJobHeader*)b.buffer());
70  return p;
71  }
OperateBuffer< ConsumerType > ConsumerBuffer
Definition: EventBuffer.h:96
EventBuffer * buf_
Definition: Utilities.h:73
double b
Definition: hdecay.h:120

Member Data Documentation

EventBuffer* edm::JobHeaderExtractor::buf_
private

Definition at line 73 of file Utilities.h.

Referenced by extract().