CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::SingleConsumerQ::OperateBuffer< T > Class Template Reference

#include <SingleConsumerQ.h>

List of all members.

Public Member Functions

void * buffer () const
void commit (int theSize=0)
 OperateBuffer (SingleConsumerQ &b)
int size () const
 ~OperateBuffer ()

Private Attributes

SingleConsumerQb_
bool committed_
SingleConsumerQ::Buffer v_

Detailed Description

template<class T>
class edm::SingleConsumerQ::OperateBuffer< T >

Definition at line 78 of file SingleConsumerQ.h.


Constructor & Destructor Documentation

template<class T >
edm::SingleConsumerQ::OperateBuffer< T >::OperateBuffer ( SingleConsumerQ b) [inline, explicit]

Definition at line 81 of file SingleConsumerQ.h.

                                                :
        b_(b),v_(T::get(b)),committed_(false) { }
template<class T >
edm::SingleConsumerQ::OperateBuffer< T >::~OperateBuffer ( ) [inline]

Member Function Documentation

template<class T >
void* edm::SingleConsumerQ::OperateBuffer< T >::buffer ( ) const [inline]
template<class T >
void edm::SingleConsumerQ::OperateBuffer< T >::commit ( int  theSize = 0) [inline]
template<class T >
int edm::SingleConsumerQ::OperateBuffer< T >::size ( void  ) const [inline]

Definition at line 87 of file SingleConsumerQ.h.

References edm::SingleConsumerQ::Buffer::len_, and edm::SingleConsumerQ::OperateBuffer< T >::v_.

{ return v_.len_; }

Member Data Documentation

template<class T >
SingleConsumerQ& edm::SingleConsumerQ::OperateBuffer< T >::b_ [private]
template<class T >
bool edm::SingleConsumerQ::OperateBuffer< T >::committed_ [private]