#include <EventBuffer.h>
Public Member Functions | |
void * | buffer () const |
void | commit (int size=0) |
OperateBuffer (EventBuffer &b) | |
int | size () const |
~OperateBuffer () | |
Private Attributes | |
EventBuffer & | b_ |
bool | committed_ |
EventBuffer::Buffer | v_ |
Definition at line 78 of file EventBuffer.h.
edm::EventBuffer::OperateBuffer< T >::OperateBuffer | ( | EventBuffer & | b | ) | [inline, explicit] |
Definition at line 81 of file EventBuffer.h.
edm::EventBuffer::OperateBuffer< T >::~OperateBuffer | ( | ) | [inline] |
Definition at line 83 of file EventBuffer.h.
References edm::EventBuffer::OperateBuffer< T >::b_, edm::EventBuffer::OperateBuffer< T >::committed_, edm::EventBuffer::Buffer::ptr_, fetchall_from_DQM_v2::release, and edm::EventBuffer::OperateBuffer< T >::v_.
{ if(!committed_) T::release(b_,v_.ptr_); }
void* edm::EventBuffer::OperateBuffer< T >::buffer | ( | ) | const [inline] |
Definition at line 86 of file EventBuffer.h.
References edm::EventBuffer::Buffer::ptr_, and edm::EventBuffer::OperateBuffer< T >::v_.
Referenced by edmtest::TestConsumer::bufferReady(), edm::EventExtractor::extract(), edm::JobHeaderExtractor::extract(), and edm::JobHeaderInserter::insert().
{ return v_.ptr_; }
void edm::EventBuffer::OperateBuffer< T >::commit | ( | int | size = 0 | ) | [inline] |
Definition at line 88 of file EventBuffer.h.
References edm::EventBuffer::OperateBuffer< T >::b_, edm::EventBuffer::OperateBuffer< T >::committed_, edm::EventBuffer::Buffer::ptr_, edm::EventBuffer::OperateBuffer< T >::size(), and edm::EventBuffer::OperateBuffer< T >::v_.
Referenced by edm::JobHeaderInserter::insert(), and edmtest::TestConsumer::stop().
{ T::commit(b_,v_.ptr_,size); committed_=true; }
int edm::EventBuffer::OperateBuffer< T >::size | ( | void | ) | const [inline] |
Definition at line 87 of file EventBuffer.h.
References edm::EventBuffer::Buffer::len_, and edm::EventBuffer::OperateBuffer< T >::v_.
Referenced by edmtest::TestConsumer::bufferReady(), edm::EventBuffer::OperateBuffer< T >::commit(), and edm::EventExtractor::extract().
{ return v_.len_; }
EventBuffer& edm::EventBuffer::OperateBuffer< T >::b_ [private] |
Definition at line 91 of file EventBuffer.h.
Referenced by edm::EventBuffer::OperateBuffer< T >::commit(), and edm::EventBuffer::OperateBuffer< T >::~OperateBuffer().
bool edm::EventBuffer::OperateBuffer< T >::committed_ [private] |
Definition at line 93 of file EventBuffer.h.
Referenced by edm::EventBuffer::OperateBuffer< T >::commit(), and edm::EventBuffer::OperateBuffer< T >::~OperateBuffer().
EventBuffer::Buffer edm::EventBuffer::OperateBuffer< T >::v_ [private] |
Definition at line 92 of file EventBuffer.h.
Referenced by edm::EventBuffer::OperateBuffer< T >::buffer(), edm::EventBuffer::OperateBuffer< T >::commit(), edm::EventBuffer::OperateBuffer< T >::size(), and edm::EventBuffer::OperateBuffer< T >::~OperateBuffer().