CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
cmsutils::bqueue< T > Class Template Reference

#include <bqueue.h>

Public Types

typedef _bqueue_itr< value_typeconst_iterator
 
typedef _bqueue_item< value_typeitem
 
typedef boost::intrusive_ptr
< _bqueue_item< value_type > > 
itemptr
 
typedef _bqueue_itr< value_typeiterator
 
typedef unsigned short int size_type
 
typedef T value_type
 

Public Member Functions

const Tback () const
 
const_iterator begin () const
 
 bqueue ()
 
 bqueue (const bqueue< T > &cp)
 
 bqueue (bqueue< T > &&cp) noexcept
 
void clear ()
 
template<typename... Args>
void emplace_back (Args &&...args)
 
bool empty () const
 
const_iterator end () const
 
bqueue< Tfork () const
 
const Tfront () const
 
void join (bqueue< T > &other)
 
bqueueoperator= (bqueue< T > &&cp) noexcept
 
const Toperator[] (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
 

Detailed Description

template<class T>
class cmsutils::bqueue< T >

Definition at line 39 of file bqueue.h.

Member Typedef Documentation

template<class T>
typedef _bqueue_itr<value_type> cmsutils::bqueue< T >::const_iterator

Definition at line 101 of file bqueue.h.

template<class T>
typedef _bqueue_item<value_type> cmsutils::bqueue< T >::item

Definition at line 98 of file bqueue.h.

template<class T>
typedef boost::intrusive_ptr< _bqueue_item<value_type> > cmsutils::bqueue< T >::itemptr

Definition at line 99 of file bqueue.h.

template<class T>
typedef _bqueue_itr<value_type> cmsutils::bqueue< T >::iterator

Definition at line 100 of file bqueue.h.

template<class T>
typedef unsigned short int cmsutils::bqueue< T >::size_type

Definition at line 97 of file bqueue.h.

template<class T>
typedef T cmsutils::bqueue< T >::value_type

Definition at line 96 of file bqueue.h.

Constructor & Destructor Documentation

template<class T>
cmsutils::bqueue< T >::bqueue ( )
inline

Definition at line 103 of file bqueue.h.

template<class T>
cmsutils::bqueue< T >::~bqueue ( )
inline

Definition at line 104 of file bqueue.h.

template<class T>
cmsutils::bqueue< T >::bqueue ( const bqueue< T > &  cp)
inline

Definition at line 106 of file bqueue.h.

template<class T>
cmsutils::bqueue< T >::bqueue ( bqueue< T > &&  cp)
inlinenoexcept

Definition at line 109 of file bqueue.h.

Member Function Documentation

template<class T>
const T& cmsutils::bqueue< T >::back ( ) const
inline

Definition at line 161 of file bqueue.h.

Referenced by TempTrajectory::pop(), and TempTrajectory::pushAux().

template<class T>
const_iterator cmsutils::bqueue< T >::begin ( void  ) const
inline

Definition at line 165 of file bqueue.h.

template<class T>
void cmsutils::bqueue< T >::clear ( void  )
inline

Definition at line 201 of file bqueue.h.

Referenced by TempTrajectory::join().

template<class T>
template<typename... Args>
void cmsutils::bqueue< T >::emplace_back ( Args &&...  args)
inline

Definition at line 146 of file bqueue.h.

template<class T>
bool cmsutils::bqueue< T >::empty ( void  ) const
inline

Definition at line 168 of file bqueue.h.

template<class T>
const_iterator cmsutils::bqueue< T >::end ( void  ) const
inline

Definition at line 166 of file bqueue.h.

template<class T>
bqueue<T> cmsutils::bqueue< T >::fork ( ) const
inline

Definition at line 128 of file bqueue.h.

template<class T>
const T& cmsutils::bqueue< T >::front ( ) const
inline

Definition at line 159 of file bqueue.h.

template<class T>
void cmsutils::bqueue< T >::join ( bqueue< T > &  other)
inline

Definition at line 186 of file bqueue.h.

Referenced by TempTrajectory::join().

template<class T>
bqueue& cmsutils::bqueue< T >::operator= ( bqueue< T > &&  cp)
inlinenoexcept

Definition at line 113 of file bqueue.h.

template<class T>
const T& cmsutils::bqueue< T >::operator[] ( size_type  i) const
inline

Definition at line 169 of file bqueue.h.

template<class T>
void cmsutils::bqueue< T >::pop_back ( )
inline

Definition at line 151 of file bqueue.h.

Referenced by TempTrajectory::pop().

template<class T>
void cmsutils::bqueue< T >::push_back ( const T val)
inline

Definition at line 133 of file bqueue.h.

Referenced by TempTrajectory::push().

template<class T>
void cmsutils::bqueue< T >::push_back ( T &&  val)
inline

Definition at line 139 of file bqueue.h.

template<class T>
const_iterator cmsutils::bqueue< T >::rbegin ( ) const
inline

Definition at line 163 of file bqueue.h.

Referenced by PrintoutHelper::dumpMeasurements(), and TempTrajectory::toTrajectory().

template<class T>
const_iterator cmsutils::bqueue< T >::rend ( ) const
inline

Definition at line 164 of file bqueue.h.

Referenced by PrintoutHelper::dumpMeasurements(), and TempTrajectory::toTrajectory().

template<class T>
bool cmsutils::bqueue< T >::shared ( )
inline

Definition at line 176 of file bqueue.h.

Referenced by TempTrajectory::join().

template<class T>
size_type cmsutils::bqueue< T >::size ( void  ) const
inline
template<class T>
void cmsutils::bqueue< T >::swap ( bqueue< T > &  cp)
inline

Definition at line 121 of file bqueue.h.

Member Data Documentation

template<class T>
itemptr cmsutils::bqueue< T >::m_head
private

Definition at line 209 of file bqueue.h.

template<class T>
size_type cmsutils::bqueue< T >::m_size
private

Definition at line 208 of file bqueue.h.

template<class T>
itemptr cmsutils::bqueue< T >::m_tail
private

Definition at line 209 of file bqueue.h.