The NewRealTimeSampleArray class is the base class of every NewRealTimeSampleArray Measurement.
More...
#include <newrealtimesamplearray.h>
The NewRealTimeSampleArray class is the base class of every NewRealTimeSampleArray Measurement.
DECLARE CLASS NewRealTimeSampleArray
Definition at line 82 of file newrealtimesamplearray.h.
NewRealTimeSampleArray::NewRealTimeSampleArray |
( |
QObject * |
parent = 0 | ) |
|
NewRealTimeSampleArray::~NewRealTimeSampleArray |
( |
| ) |
|
|
virtual |
void XMEASLIB::NewRealTimeSampleArray::clear |
( |
| ) |
|
|
inline |
unsigned char XMEASLIB::NewRealTimeSampleArray::getArraySize |
( |
| ) |
const |
|
inline |
Returns the number of values which should be gathered before attached observers are notified by calling the Subject notify() method.
- Returns
- the number of values which are gathered before a notify() is called.
Definition at line 306 of file newrealtimesamplearray.h.
double XMEASLIB::NewRealTimeSampleArray::getMaxValue |
( |
| ) |
const |
|
inline |
double XMEASLIB::NewRealTimeSampleArray::getMinValue |
( |
| ) |
const |
|
inline |
const QVector< double > & XMEASLIB::NewRealTimeSampleArray::getSampleArray |
( |
| ) |
|
|
inline |
Returns the gathered sample array vector.
- Returns
- the current sample array vector.
Definition at line 315 of file newrealtimesamplearray.h.
double XMEASLIB::NewRealTimeSampleArray::getSamplingRate |
( |
| ) |
const |
|
inline |
const QString & XMEASLIB::NewRealTimeSampleArray::getUnit |
( |
| ) |
const |
|
inline |
double NewRealTimeSampleArray::getValue |
( |
| ) |
const |
|
virtual |
Returns the current value set. This method is inherited by Measurement.
- Returns
- the last attached value.
Definition at line 87 of file newrealtimesamplearray.cpp.
void XMEASLIB::NewRealTimeSampleArray::setArraySize |
( |
unsigned char |
ucArraySize | ) |
|
|
inline |
Sets the number of values which should be gathered before attached observers are notified by calling the Subject notify() method.
- Parameters
-
[in] | ucArraySize | the number of values. |
Definition at line 293 of file newrealtimesamplearray.h.
void XMEASLIB::NewRealTimeSampleArray::setMaxValue |
( |
double |
maxValue | ) |
|
|
inline |
Sets the maximal value. If value to set is bigger, current value is set to maximal value.
- Parameters
-
[in] | maxValue | maximal value. |
Definition at line 257 of file newrealtimesamplearray.h.
void XMEASLIB::NewRealTimeSampleArray::setMinValue |
( |
double |
minValue | ) |
|
|
inline |
Sets the minimal value. If current value to set is smaller, current value is set to minimal value.
- Parameters
-
[in] | minValue | minimal value. |
Definition at line 239 of file newrealtimesamplearray.h.
void XMEASLIB::NewRealTimeSampleArray::setSamplingRate |
( |
double |
dSamplingRate | ) |
|
|
inline |
void XMEASLIB::NewRealTimeSampleArray::setUnit |
( |
const QString & |
unit | ) |
|
|
inline |
void NewRealTimeSampleArray::setValue |
( |
double |
v | ) |
|
|
virtual |
Attaches a value to the sample array vector. This method is inherited by Measurement.
- Parameters
-
[in] | v | the value which is attached to the sample array vector. |
Definition at line 96 of file newrealtimesamplearray.cpp.
The documentation for this class was generated from the following files: