#include <bqueue.h>
Private Member Functions | |
_bqueue_item () | |
_bqueue_item (boost::intrusive_ptr< _bqueue_item< T > > tail, const T &val) | |
void | addRef () |
void | delRef () |
Private Attributes | |
boost::intrusive_ptr < _bqueue_item< T > > | back |
size_t | refCount |
T | value |
Friends | |
class | _bqueue_itr< T > |
class | bqueue< T > |
void | intrusive_ptr_add_ref (_bqueue_item< T > *it) |
void | intrusive_ptr_release (_bqueue_item< T > *it) |
cmsutils::_bqueue_item< T >::_bqueue_item | ( | ) | [inline, private] |
cmsutils::_bqueue_item< T >::_bqueue_item | ( | boost::intrusive_ptr< _bqueue_item< T > > | tail, |
const T & | val | ||
) | [inline, private] |
void cmsutils::_bqueue_item< T >::addRef | ( | ) | [inline, private] |
Definition at line 41 of file bqueue.h.
References cmsutils::_bqueue_item< T >::refCount.
Referenced by cmsutils::intrusive_ptr_add_ref().
{ ++refCount; }
void cmsutils::_bqueue_item< T >::delRef | ( | ) | [inline, private] |
Definition at line 42 of file bqueue.h.
References cmsutils::_bqueue_item< T >::refCount.
Referenced by cmsutils::intrusive_ptr_release().
{ if ((--refCount) == 0) delete this; }
friend class _bqueue_itr< T > [friend] |
void intrusive_ptr_add_ref | ( | _bqueue_item< T > * | it | ) | [friend] |
void intrusive_ptr_release | ( | _bqueue_item< T > * | it | ) | [friend] |
boost::intrusive_ptr< _bqueue_item<T> > cmsutils::_bqueue_item< T >::back [private] |
Definition at line 50 of file bqueue.h.
Referenced by cmsutils::_bqueue_itr< T >::operator--().
size_t cmsutils::_bqueue_item< T >::refCount [private] |
Definition at line 52 of file bqueue.h.
Referenced by cmsutils::_bqueue_item< T >::addRef(), and cmsutils::_bqueue_item< T >::delRef().
T cmsutils::_bqueue_item< T >::value [private] |
Definition at line 51 of file bqueue.h.
Referenced by cmsutils::_bqueue_itr< T >::operator*(), and cmsutils::_bqueue_itr< T >::operator->().