CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::JobHeaderExtractor Class Reference

#include <Utilities.h>

List of all members.

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) [inline, explicit]

Definition at line 65 of file Utilities.h.

:buf_(&b) { }

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.

    {
      EventBuffer::ConsumerBuffer b(*buf_);
      std::auto_ptr<SendJobHeader> p((SendJobHeader*)b.buffer());
      return p;
    }

Member Data Documentation

Definition at line 73 of file Utilities.h.

Referenced by extract().