HoverRace  2.0
Public Member Functions | Protected Attributes | List of all members
MR_FastFifoBase< pType > Class Template Reference

#include <FastFifo.h>

+ Inheritance diagram for MR_FastFifoBase< pType >:

Public Member Functions

 MR_FastFifoBase (int pSize, pType *pData)
 
void Add (pType pData)
 
void AddHead (pType pData)
 
BOOL CanAdd (int pCount=1) const
 
void Clean ()
 
int Full () const
 
pType GetHead ()
 
BOOL IsEmpty () const
 
const pType operator[] (int pIndex) const
 
void Remove (int pCount=1)
 
void RemoveTail (int pCount=1)
 
int TotalSize () const
 
int Used () const
 

Protected Attributes

pType * mArray
 
int mArraySize
 
int mHead
 
int mNbItem
 

Constructor & Destructor Documentation

template<class pType>
MR_FastFifoBase< pType >::MR_FastFifoBase ( int  pSize,
pType *  pData 
)
inline

Member Function Documentation

template<class pType>
void MR_FastFifoBase< pType >::Add ( pType  pData)
inline
template<class pType>
void MR_FastFifoBase< pType >::AddHead ( pType  pData)
inline
template<class pType>
BOOL MR_FastFifoBase< pType >::CanAdd ( int  pCount = 1) const
inline
template<class pType>
void MR_FastFifoBase< pType >::Clean ( )
inline
template<class pType>
int MR_FastFifoBase< pType >::Full ( ) const
inline
template<class pType>
pType MR_FastFifoBase< pType >::GetHead ( )
inline
template<class pType>
BOOL MR_FastFifoBase< pType >::IsEmpty ( ) const
inline
template<class pType>
const pType MR_FastFifoBase< pType >::operator[] ( int  pIndex) const
inline
template<class pType>
void MR_FastFifoBase< pType >::Remove ( int  pCount = 1)
inline
template<class pType>
void MR_FastFifoBase< pType >::RemoveTail ( int  pCount = 1)
inline
template<class pType>
int MR_FastFifoBase< pType >::TotalSize ( ) const
inline
template<class pType>
int MR_FastFifoBase< pType >::Used ( ) const
inline

Member Data Documentation

template<class pType>
pType* MR_FastFifoBase< pType >::mArray
protected
template<class pType>
int MR_FastFifoBase< pType >::mArraySize
protected
template<class pType>
int MR_FastFifoBase< pType >::mHead
protected
template<class pType>
int MR_FastFifoBase< pType >::mNbItem
protected

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