OpenNI 1.5.4
XnQueueT< T, TAlloc > Class Template Reference

#include <XnQueueT.h>

Inheritance diagram for XnQueueT< T, TAlloc >:

Public Types

typedef XnListT< T, TAlloc > Base
 

Public Member Functions

 XnQueueT ()
 
 XnQueueT (const XnQueueT &other)
 
XnQueueToperator= (const XnQueueT &other)
 
 ~XnQueueT ()
 
XnStatus Push (T const &value)
 
XnStatus Pop (T &value)
 
T const & Top () const
 
T & Top ()
 
XnBool IsEmpty () const
 
Iterator Begin ()
 
ConstIterator Begin () const
 
Iterator End ()
 
ConstIterator End () const
 
XnUInt32 Size () const
 

Additional Inherited Members

- Protected Types inherited from XnListT< T, TAlloc >
typedef XnLinkedNodeT< T > LinkedNode
 
typedef T TValue
 
typedef TAlloc TAllocator
 
- Protected Member Functions inherited from XnListT< T, TAlloc >
XnStatus InsertAfter (LinkedNode *pAfter, T const &val)
 
 XnListT ()
 
 XnListT (const XnListT &other)
 
XnListToperator= (const XnListT &other)
 
 ~XnListT ()
 
Iterator Begin ()
 
ConstIterator Begin () const
 
Iterator End ()
 
ConstIterator End () const
 
Iterator ReverseBegin ()
 
ConstIterator ReverseBegin () const
 
Iterator ReverseEnd ()
 
ConstIterator ReverseEnd () const
 
XnStatus AddAfter (ConstIterator where, T const &value)
 
XnStatus AddBefore (ConstIterator where, T const &value)
 
XnStatus AddFirst (T const &value)
 
XnStatus AddLast (T const &value)
 
ConstIterator Find (T const &value) const
 
Iterator Find (T const &value)
 
XnStatus Remove (ConstIterator where)
 
XnStatus Remove (T const &value)
 
XnStatus Clear ()
 
XnBool IsEmpty () const
 
XnUInt32 Size () const
 
void CopyTo (T *pArray) const
 
- Protected Attributes inherited from XnListT< T, TAlloc >
LinkedNode m_anchor
 
XnUInt32 m_nSize
 

Member Typedef Documentation

◆ Base

template<class T , class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
typedef XnListT<T, TAlloc> XnQueueT< T, TAlloc >::Base

Constructor & Destructor Documentation

◆ XnQueueT() [1/2]

template<class T , class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
XnQueueT< T, TAlloc >::XnQueueT ( )
inline

◆ XnQueueT() [2/2]

template<class T , class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
XnQueueT< T, TAlloc >::XnQueueT ( const XnQueueT< T, TAlloc > &  other)
inline

◆ ~XnQueueT()

template<class T , class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
XnQueueT< T, TAlloc >::~XnQueueT ( )
inline

Member Function Documentation

◆ Begin() [1/2]

template<class T , class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
Iterator XnListT< T, TAlloc >::Begin ( )
inline

An iterator to the first entry of the list (non-const version)

◆ Begin() [2/2]

template<class T , class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
ConstIterator XnListT< T, TAlloc >::Begin ( ) const
inline

An iterator to the first entry of the list (const version)

◆ End() [1/2]

template<class T , class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
Iterator XnListT< T, TAlloc >::End ( )
inline

An iterator 1to the end of the list (non-const version). This position is invalid.

◆ End() [2/2]

template<class T , class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
ConstIterator XnListT< T, TAlloc >::End ( ) const
inline

An iterator to the end of the list (const version). This position is invalid.

◆ IsEmpty()

template<class T , class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
XnBool XnListT< T, TAlloc >::IsEmpty ( ) const
inline

Check if list is empty

◆ operator=()

template<class T , class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
XnQueueT & XnQueueT< T, TAlloc >::operator= ( const XnQueueT< T, TAlloc > &  other)
inline

◆ Pop()

template<class T , class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
XnStatus XnQueueT< T, TAlloc >::Pop ( T &  value)
inline

◆ Push()

template<class T , class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
XnStatus XnQueueT< T, TAlloc >::Push ( T const &  value)
inline

◆ Size()

template<class T , class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
XnUInt32 XnListT< T, TAlloc >::Size ( ) const
inline

Gets the current size of the list

◆ Top() [1/2]

template<class T , class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
T & XnQueueT< T, TAlloc >::Top ( )
inline

◆ Top() [2/2]

template<class T , class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
T const & XnQueueT< T, TAlloc >::Top ( ) const
inline

The documentation for this class was generated from the following file: