OpenNI 1.5.7
XnCyclicStackT< T, TDefaultMaxDepth, TAlloc > Class Template Reference

#include <XnCyclicStackT.h>

Inheritance diagram for XnCyclicStackT< T, TDefaultMaxDepth, TAlloc >:

Public Types

typedef XnStackT< T, TAlloc > Base
typedef Base::ConstIterator ConstIterator

Public Member Functions

 XnCyclicStackT (XnUInt32 nMaxDepth=TDefaultMaxDepth)
 XnCyclicStackT (const XnCyclicStackT &other)
XnCyclicStackToperator= (const XnCyclicStackT &other)
 ~XnCyclicStackT ()
XnStatus SetMaxSize (XnUInt32 nMaxSize)
XnStatus Push (T const &value)
XnBool IsEmpty () const
XnStatus Pop (T &value)
T const & Top () const
T & Top ()
ConstIterator Begin () const
ConstIterator End () const

Protected Attributes

XnUInt32 m_nMaxDepth
Protected Attributes inherited from XnListT< T, TAlloc >
LinkedNode m_anchor
XnUInt32 m_nSize

Additional Inherited Members

Protected Types inherited from XnStackT< T, TAlloc >
typedef XnListT< T, TAlloc > Base
typedef Base::ConstIterator ConstIterator
Protected Types inherited from XnListT< T, TAlloc >
typedef XnLinkedNodeT< T > LinkedNode
typedef T TValue
typedef TAlloc TAllocator
Protected Member Functions inherited from XnStackT< T, TAlloc >
 XnStackT ()
 XnStackT (const XnStackT &other)
XnStackToperator= (const XnStackT &other)
 ~XnStackT ()
XnBool IsEmpty () const
XnStatus Push (T const &value)
XnStatus Pop (T &value)
T const & Top () const
T & Top ()
ConstIterator Begin () const
ConstIterator End () const
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

Member Typedef Documentation

◆ Base

template<class T, XnUInt32 TDefaultMaxDepth, class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
typedef XnStackT<T, TAlloc> XnCyclicStackT< T, TDefaultMaxDepth, TAlloc >::Base

◆ ConstIterator

template<class T, XnUInt32 TDefaultMaxDepth, class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
typedef Base::ConstIterator XnStackT< T, TAlloc >::ConstIterator

Constructor & Destructor Documentation

◆ XnCyclicStackT() [1/2]

template<class T, XnUInt32 TDefaultMaxDepth, class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
XnCyclicStackT< T, TDefaultMaxDepth, TAlloc >::XnCyclicStackT ( XnUInt32 nMaxDepth = TDefaultMaxDepth)
inline

◆ XnCyclicStackT() [2/2]

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

◆ ~XnCyclicStackT()

template<class T, XnUInt32 TDefaultMaxDepth, class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
XnCyclicStackT< T, TDefaultMaxDepth, TAlloc >::~XnCyclicStackT ( )
inline

Member Function Documentation

◆ Begin()

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

◆ End()

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

◆ IsEmpty()

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

◆ operator=()

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

◆ Pop()

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

◆ Push()

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

◆ SetMaxSize()

template<class T, XnUInt32 TDefaultMaxDepth, class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
XnStatus XnCyclicStackT< T, TDefaultMaxDepth, TAlloc >::SetMaxSize ( XnUInt32 nMaxSize)
inline

◆ Top() [1/2]

template<class T, XnUInt32 TDefaultMaxDepth, class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
T & XnStackT< T, TAlloc >::Top ( )
inline

◆ Top() [2/2]

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

Member Data Documentation

◆ m_nMaxDepth

template<class T, XnUInt32 TDefaultMaxDepth, class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
XnUInt32 XnCyclicStackT< T, TDefaultMaxDepth, TAlloc >::m_nMaxDepth
protected

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