#include <bqueue.h>
Public Types | |
typedef _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 | |
const T & | back () const |
const_iterator | begin () const |
bqueue (bqueue< T > &&cp) noexcept | |
bqueue () | |
bqueue (const bqueue< T > &cp) | |
void | clear () |
template<typename... Args> | |
void | emplace_back (Args &&...args) |
bool | empty () const |
const_iterator | end () const |
bqueue< T > | fork () const |
const T & | front () const |
void | join (bqueue< T > &other) |
bqueue & | operator= (bqueue< T > &&cp) noexcept |
const T & | operator[] (size_type i) const |
void | pop_back () |
void | push_back (const T &val) |
void | push_back (T &&val) |
const_iterator | rbegin () const |
const_iterator | rend () const |
bool | shared () |
size_type | size () const |
void | swap (bqueue< T > &cp) |
~bqueue () | |
Private Attributes | |
itemptr | m_head |
size_type | m_size |
itemptr | m_tail |
typedef _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] |
cmsutils::bqueue< T >::bqueue | ( | bqueue< T > && | cp | ) | [inline] |
const T& cmsutils::bqueue< T >::back | ( | ) | const [inline] |
Definition at line 162 of file bqueue.h.
Referenced by TempTrajectory::emplace(), TempTrajectory::lastLayer(), TempTrajectory::lastMeasurement(), TempTrajectory::pop(), and TempTrajectory::pushAux().
{ return m_tail->value; }
const_iterator cmsutils::bqueue< T >::begin | ( | void | ) | const [inline] |
Definition at line 166 of file bqueue.h.
Referenced by TempTrajectory::TempTrajectory().
{ return m_tail.get(); }
void cmsutils::bqueue< T >::clear | ( | void | ) | [inline] |
Definition at line 202 of file bqueue.h.
Referenced by TempTrajectory::join(), and cmsutils::bqueue< TrajectoryMeasurement >::join().
void cmsutils::bqueue< T >::emplace_back | ( | Args &&... | args | ) | [inline] |
bool cmsutils::bqueue< T >::empty | ( | void | ) | const [inline] |
Definition at line 169 of file bqueue.h.
Referenced by TempTrajectory::empty().
{ return m_size == 0; }
const_iterator cmsutils::bqueue< T >::end | ( | void | ) | const [inline] |
Definition at line 167 of file bqueue.h.
Referenced by TempTrajectory::TempTrajectory().
{ return nullptr; }
bqueue<T> cmsutils::bqueue< T >::fork | ( | ) | const [inline] |
const T& cmsutils::bqueue< T >::front | ( | ) | const [inline] |
Definition at line 160 of file bqueue.h.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), TempTrajectory::firstMeasurement(), and TempTrajectory::pushAux().
{ return m_head->value; }
void cmsutils::bqueue< T >::join | ( | bqueue< T > & | other | ) | [inline] |
Definition at line 187 of file bqueue.h.
Referenced by TempTrajectory::join().
bqueue& cmsutils::bqueue< T >::operator= | ( | bqueue< T > && | cp | ) | [inline] |
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] |
void cmsutils::bqueue< T >::push_back | ( | T && | val | ) | [inline] |
const_iterator cmsutils::bqueue< T >::rbegin | ( | ) | const [inline] |
Definition at line 164 of file bqueue.h.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), TrajectorySegmentBuilder::cleanCandidates(), PrintoutHelper::dumpMeasurements(), GroupedCkfTrajectoryBuilder::groupedIntermediaryClean(), cmsutils::bqueue< TrajectoryMeasurement >::operator[](), ClusterShapeTrajectoryFilter::toBeContinued(), and TempTrajectory::toTrajectory().
{ return m_tail.get(); }
const_iterator cmsutils::bqueue< T >::rend | ( | ) | const [inline] |
Definition at line 165 of file bqueue.h.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), TrajectorySegmentBuilder::cleanCandidates(), PrintoutHelper::dumpMeasurements(), GroupedCkfTrajectoryBuilder::groupedIntermediaryClean(), ClusterShapeTrajectoryFilter::toBeContinued(), and TempTrajectory::toTrajectory().
{ return nullptr; }
bool cmsutils::bqueue< T >::shared | ( | ) | [inline] |
Definition at line 177 of file bqueue.h.
Referenced by TempTrajectory::join(), and cmsutils::bqueue< TrajectoryMeasurement >::join().
size_type cmsutils::bqueue< T >::size | ( | void | ) | const [inline] |
Definition at line 168 of file bqueue.h.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), TempTrajectory::check(), PrintoutHelper::dumpMeasurements(), TempTrajectory::push(), TempTrajectory::pushAux(), and TempTrajectory::toTrajectory().
{ return m_size; }
void cmsutils::bqueue< T >::swap | ( | bqueue< T > & | cp | ) | [inline] |
Definition at line 122 of file bqueue.h.
Referenced by cmsutils::bqueue< TrajectoryMeasurement >::join(), cmsutils::bqueue< TrajectoryMeasurement >::operator=(), cmsutils::swap(), and cmsutils::bqueue< TrajectoryMeasurement >::swap().
itemptr cmsutils::bqueue< T >::m_head [private] |
Definition at line 210 of file bqueue.h.
Referenced by cmsutils::bqueue< TrajectoryMeasurement >::clear(), cmsutils::bqueue< TrajectoryMeasurement >::emplace_back(), cmsutils::bqueue< TrajectoryMeasurement >::front(), cmsutils::bqueue< TrajectoryMeasurement >::join(), cmsutils::bqueue< TrajectoryMeasurement >::operator=(), 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 209 of file bqueue.h.
Referenced by cmsutils::bqueue< TrajectoryMeasurement >::clear(), cmsutils::bqueue< TrajectoryMeasurement >::emplace_back(), cmsutils::bqueue< TrajectoryMeasurement >::empty(), cmsutils::bqueue< TrajectoryMeasurement >::join(), cmsutils::bqueue< TrajectoryMeasurement >::operator=(), 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 210 of file bqueue.h.
Referenced by cmsutils::bqueue< TrajectoryMeasurement >::back(), cmsutils::bqueue< TrajectoryMeasurement >::begin(), cmsutils::bqueue< TrajectoryMeasurement >::clear(), cmsutils::bqueue< TrajectoryMeasurement >::emplace_back(), cmsutils::bqueue< TrajectoryMeasurement >::join(), cmsutils::bqueue< TrajectoryMeasurement >::operator=(), cmsutils::bqueue< TrajectoryMeasurement >::pop_back(), cmsutils::bqueue< TrajectoryMeasurement >::push_back(), cmsutils::bqueue< TrajectoryMeasurement >::rbegin(), and cmsutils::bqueue< TrajectoryMeasurement >::swap().