#include <bqueue.h>
Public Types | |
typedef const _bqueue_itr < value_type > | const_iterator |
typedef _bqueue_item< value_type > | item |
typedef boost::intrusive_ptr < _bqueue_item< value_type > > | itemptr |
typedef _bqueue_itr< value_type > | iterator |
typedef unsigned short int | size_type |
typedef T | value_type |
Public Member Functions | |
T & | back () |
const T & | back () const |
bqueue () | |
bqueue (const bqueue< T > &cp) | |
void | clear () |
bool | empty () const |
bqueue< T > | fork () |
T & | front () |
const T & | front () const |
void | join (bqueue< T > &other) |
const T & | operator[] (size_type i) const |
void | pop_back () |
void | push_back (const T &val) |
iterator | rbegin () |
const_iterator | rbegin () const |
const_iterator | rend () const |
bool | shared () |
size_type | size () const |
void | swap (bqueue< T > &cp) |
~bqueue () | |
Private Member Functions | |
bqueue (size_type size, itemptr bound, itemptr head, itemptr tail) | |
Private Attributes | |
itemptr | m_bound |
itemptr | m_head |
size_type | m_size |
itemptr | m_tail |
typedef const _bqueue_itr<value_type> cmsutils::bqueue< T >::const_iterator |
typedef _bqueue_item<value_type> cmsutils::bqueue< T >::item |
typedef boost::intrusive_ptr< _bqueue_item<value_type> > cmsutils::bqueue< T >::itemptr |
typedef _bqueue_itr<value_type> cmsutils::bqueue< T >::iterator |
typedef unsigned short int cmsutils::bqueue< T >::size_type |
typedef T cmsutils::bqueue< T >::value_type |
cmsutils::bqueue< T >::bqueue | ( | ) | [inline] |
cmsutils::bqueue< T >::~bqueue | ( | ) | [inline] |
cmsutils::bqueue< T >::bqueue | ( | const bqueue< T > & | cp | ) | [inline] |
T& cmsutils::bqueue< T >::back | ( | ) | [inline] |
Definition at line 141 of file bqueue.h.
Referenced by TempTrajectory::join(), TempTrajectory::lastLayer(), TempTrajectory::lastMeasurement(), SeedingLayerSetsBuilder::layers(), TempTrajectory::pop(), and TempTrajectory::pushAux().
{ return m_tail->value; }
const T& cmsutils::bqueue< T >::back | ( | ) | const [inline] |
void cmsutils::bqueue< T >::clear | ( | void | ) | [inline] |
bool cmsutils::bqueue< T >::empty | ( | void | ) | const [inline] |
Definition at line 147 of file bqueue.h.
Referenced by TempTrajectory::empty(), and SeedingLayerSetsBuilder::layers().
{ return m_size == 0; }
bqueue<T> cmsutils::bqueue< T >::fork | ( | ) | [inline] |
T& cmsutils::bqueue< T >::front | ( | ) | [inline] |
Definition at line 139 of file bqueue.h.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), TempTrajectory::firstMeasurement(), TempTrajectory::join(), and TempTrajectory::pushAux().
{ return m_head->value; }
const T& cmsutils::bqueue< T >::front | ( | ) | const [inline] |
void cmsutils::bqueue< T >::join | ( | bqueue< T > & | other | ) | [inline] |
Definition at line 161 of file bqueue.h.
Referenced by TempTrajectory::join().
const T& cmsutils::bqueue< T >::operator[] | ( | size_type | i | ) | const [inline] |
void cmsutils::bqueue< T >::pop_back | ( | ) | [inline] |
void cmsutils::bqueue< T >::push_back | ( | const T & | val | ) | [inline] |
iterator cmsutils::bqueue< T >::rbegin | ( | ) | [inline] |
Definition at line 143 of file bqueue.h.
Referenced by TrajectorySegmentBuilder::cleanCandidates(), PrintoutHelper::dumpMeasurements(), GroupedCkfTrajectoryBuilder::groupedIntermediaryClean(), TempTrajectory::join(), SeedingLayerSetsBuilder::layers(), cmsutils::bqueue< TrajectoryMeasurement >::operator[](), TempTrajectory::push(), ClusterShapeTrajectoryFilter::toBeContinued(), HICTrajectoryBuilder::toBeContinued(), and TempTrajectory::toTrajectory().
{ return m_tail.get(); }
const_iterator cmsutils::bqueue< T >::rbegin | ( | ) | const [inline] |
const_iterator cmsutils::bqueue< T >::rend | ( | ) | const [inline] |
Definition at line 145 of file bqueue.h.
Referenced by TrajectorySegmentBuilder::cleanCandidates(), PrintoutHelper::dumpMeasurements(), GroupedCkfTrajectoryBuilder::groupedIntermediaryClean(), TempTrajectory::join(), SeedingLayerSetsBuilder::layers(), TempTrajectory::push(), ClusterShapeTrajectoryFilter::toBeContinued(), HICTrajectoryBuilder::toBeContinued(), and TempTrajectory::toTrajectory().
{ return m_bound.get(); }
bool cmsutils::bqueue< T >::shared | ( | ) | [inline] |
Definition at line 154 of file bqueue.h.
Referenced by TempTrajectory::join().
size_type cmsutils::bqueue< T >::size | ( | void | ) | const [inline] |
Definition at line 146 of file bqueue.h.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), TempTrajectory::check(), PrintoutHelper::dumpMeasurements(), TempTrajectory::join(), TempTrajectory::pushAux(), and TempTrajectory::toTrajectory().
{ return m_size; }
void cmsutils::bqueue< T >::swap | ( | bqueue< T > & | cp | ) | [inline] |
itemptr cmsutils::bqueue< T >::m_bound [private] |
Definition at line 185 of file bqueue.h.
Referenced by cmsutils::bqueue< TrajectoryMeasurement >::clear(), cmsutils::bqueue< TrajectoryMeasurement >::fork(), cmsutils::bqueue< TrajectoryMeasurement >::join(), cmsutils::bqueue< TrajectoryMeasurement >::pop_back(), cmsutils::bqueue< TrajectoryMeasurement >::rend(), and cmsutils::bqueue< TrajectoryMeasurement >::swap().
itemptr cmsutils::bqueue< T >::m_head [private] |
Definition at line 185 of file bqueue.h.
Referenced by cmsutils::bqueue< TrajectoryMeasurement >::clear(), cmsutils::bqueue< TrajectoryMeasurement >::fork(), cmsutils::bqueue< TrajectoryMeasurement >::front(), cmsutils::bqueue< TrajectoryMeasurement >::join(), cmsutils::bqueue< TrajectoryMeasurement >::pop_back(), cmsutils::bqueue< TrajectoryMeasurement >::push_back(), cmsutils::bqueue< TrajectoryMeasurement >::shared(), and cmsutils::bqueue< TrajectoryMeasurement >::swap().
size_type cmsutils::bqueue< T >::m_size [private] |
Definition at line 184 of file bqueue.h.
Referenced by cmsutils::bqueue< TrajectoryMeasurement >::clear(), cmsutils::bqueue< TrajectoryMeasurement >::empty(), cmsutils::bqueue< TrajectoryMeasurement >::fork(), cmsutils::bqueue< TrajectoryMeasurement >::join(), cmsutils::bqueue< TrajectoryMeasurement >::operator[](), cmsutils::bqueue< TrajectoryMeasurement >::pop_back(), cmsutils::bqueue< TrajectoryMeasurement >::push_back(), cmsutils::bqueue< TrajectoryMeasurement >::shared(), cmsutils::bqueue< TrajectoryMeasurement >::size(), and cmsutils::bqueue< TrajectoryMeasurement >::swap().
itemptr cmsutils::bqueue< T >::m_tail [private] |
Definition at line 185 of file bqueue.h.
Referenced by cmsutils::bqueue< TrajectoryMeasurement >::back(), cmsutils::bqueue< TrajectoryMeasurement >::clear(), cmsutils::bqueue< TrajectoryMeasurement >::fork(), cmsutils::bqueue< TrajectoryMeasurement >::join(), cmsutils::bqueue< TrajectoryMeasurement >::pop_back(), cmsutils::bqueue< TrajectoryMeasurement >::push_back(), cmsutils::bqueue< TrajectoryMeasurement >::rbegin(), and cmsutils::bqueue< TrajectoryMeasurement >::swap().