#include <RemoveNoise.hh>
Public Member Functions | |
| clSortedArray () | |
| ~clSortedArray () | |
| void | Initialize (const float *, long) |
| Initialize array, optionally with data. | |
| void | InsertTail (float) |
| Insert new value to "tail" of the array. | |
| void | RemoveHead () |
| Remove value from "head" of the array. | |
| void | GetValues (float *, long) |
| Get values in array (in sorted order). | |
| long | GetSize () |
| Get number of values in array. | |
| void | Clear () |
| Clear the array. | |
Private Types | |
| enum | eDataType { TYPE_DOUBLE, TYPE_FLOAT } |
Private Attributes | |
| eDataType | DataType |
| long | lFrontSerial |
| long | lTailSerial |
| ValueMap_t | mapValues |
| ValueMapf_t | mapValuesf |
Definition at line 40 of file RemoveNoise.hh.
|
|
Definition at line 42 of file RemoveNoise.hh. |
|
|
Definition at line 35 of file RemoveNoise.cc. References lFrontSerial, and lTailSerial. |
|
|
Definition at line 42 of file RemoveNoise.cc. |
|
||||||||||||
|
Initialize array, optionally with data.
Definition at line 47 of file RemoveNoise.cc. References Clear(), DataType, InsertTail(), and TYPE_FLOAT. |
|
|
Insert new value to "tail" of the array.
Definition at line 59 of file RemoveNoise.cc. References lTailSerial, and mapValuesf. Referenced by Initialize(). |
|
|
Remove value from "head" of the array.
Definition at line 66 of file RemoveNoise.cc. References DataType, lFrontSerial, mapValuesf, and TYPE_FLOAT. |
|
||||||||||||
|
Get values in array (in sorted order).
Definition at line 87 of file RemoveNoise.cc. References DataType, GetSize(), mapValuesf, and TYPE_FLOAT. |
|
|
Get number of values in array.
Definition at line 109 of file RemoveNoise.cc. References DataType, mapValues, mapValuesf, TYPE_DOUBLE, and TYPE_FLOAT. Referenced by GetValues(). |
|
|
Clear the array.
Definition at line 122 of file RemoveNoise.cc. References lFrontSerial, lTailSerial, mapValues, and mapValuesf. Referenced by Initialize(). |
|
|
Definition at line 55 of file RemoveNoise.hh. Referenced by GetSize(), GetValues(), Initialize(), and RemoveHead(). |
|
|
Definition at line 56 of file RemoveNoise.hh. Referenced by Clear(), clSortedArray(), and RemoveHead(). |
|
|
Definition at line 57 of file RemoveNoise.hh. Referenced by Clear(), clSortedArray(), and InsertTail(). |
|
|
Definition at line 58 of file RemoveNoise.hh. |
|
|
Definition at line 59 of file RemoveNoise.hh. Referenced by Clear(), GetSize(), GetValues(), InsertTail(), and RemoveHead(). |
1.3.3