#include <SampleSet.h>
Collaboration diagram for SampleSet< T, N >:
Public Member Functions | |
SampleSet () | |
Constructor. | |
~SampleSet () | |
Destructor. | |
void | link (SampleSetProxyBase &sampleSetProxy) const |
The function links a proxy to this sample set. | |
int | getNumberOfSamples () const |
The function returns the number of samples in the set. | |
T & | operator[] (int index) |
Access operator. | |
const T & | operator[] (int index) const |
Constant access operator. | |
T * | swap () |
The function swaps the primary and secondary sample set. | |
Private Attributes | |
T * | current |
The actual sample set. | |
T * | other |
The secondary sample set. |
Two independant sets are maintained. As the sample set can be used by different modules that require a different number of samples, the size of the set can be changed at runtime.
Definition at line 99 of file SampleSet.h.
|
Constructor.
Definition at line 109 of file SampleSet.h. |
|
Destructor.
Definition at line 118 of file SampleSet.h. |
|
The function links a proxy to this sample set.
Definition at line 128 of file SampleSet.h. |
|
The function returns the number of samples in the set.
Definition at line 137 of file SampleSet.h. |
|
Access operator.
Definition at line 143 of file SampleSet.h. |
|
Constant access operator.
Definition at line 149 of file SampleSet.h. |
|
The function swaps the primary and secondary sample set.
Definition at line 155 of file SampleSet.h. |
|
The actual sample set.
Definition at line 102 of file SampleSet.h. |
|
The secondary sample set.
Definition at line 102 of file SampleSet.h. |