kget
bt::SampleQueue Class Reference
#include <timeestimator.h>
Detailed Description
Simple queue class for samples.Optimized for speed and size without possibility to dynamically resize itself.
Definition at line 35 of file timeestimator.h.
Public Member Functions | |
| int | count () |
| Uint32 | first () |
| bool | isFull () |
| Uint32 | last () |
| void | push (Uint32 sample) |
| SampleQueue (int max) | |
| Uint32 | sum () |
| ~SampleQueue () | |
Constructor & Destructor Documentation
| bt::SampleQueue::SampleQueue | ( | int | max | ) |
Definition at line 179 of file timeestimator.cpp.
| bt::SampleQueue::~SampleQueue | ( | ) |
Definition at line 192 of file timeestimator.cpp.
Member Function Documentation
| int bt::SampleQueue::count | ( | ) |
This function will return the number of samples in queue until it counts m_size number of elements.
After this point it will always return m_size since no samples are being deleted.
Definition at line 231 of file timeestimator.cpp.
| Uint32 bt::SampleQueue::first | ( | ) |
Definition at line 216 of file timeestimator.cpp.
| bool bt::SampleQueue::isFull | ( | ) |
Definition at line 226 of file timeestimator.cpp.
| Uint32 bt::SampleQueue::last | ( | ) |
Definition at line 221 of file timeestimator.cpp.
| void bt::SampleQueue::push | ( | Uint32 | sample | ) |
Inserts new sample into the queue.
The oldest sample is overwritten.
Definition at line 197 of file timeestimator.cpp.
| Uint32 bt::SampleQueue::sum | ( | ) |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference