faif
|
timeseries - time hold as RealTime More...
#include <TimeSeries.hpp>
Public Types | |
typedef std::vector< TimeValueReal >::iterator | iterator |
typedef std::vector< TimeValueReal >::const_iterator | const_iterator |
Public Member Functions | |
TimeSeriesReal () | |
empty collection More... | |
TimeSeriesReal (const TimeSeriesReal &t) | |
copy c-tor More... | |
TimeSeriesReal (const TimeValueReal *begin, const TimeValueReal *end) | |
c-tor from a range More... | |
TimeSeriesReal (const_iterator begin, const_iterator end) | |
c-tor from a range More... | |
TimeSeriesReal (const long *time_begin, const long *time_end, const Value *value_begin) | |
c-tor from a C style table of timestamps (as long - posix time), and C style table of values More... | |
TimeSeriesReal (const RealTime &start_time, const RealDuration &delta, const Value *value_begin, const Value *value_end) | |
c-tor from C style table of values. The timestamps are calculated from start_time and delta More... | |
TimeSeriesReal (const TimeSeriesReal &ts, const RealTime &offset) | |
c-tor from timeseries - the timestams are modified (the offset is added) More... | |
TimeSeriesReal & | operator= (const TimeSeriesReal &t) |
~TimeSeriesReal () | |
double | getSum () const |
double | getAvg () const |
double | getIntegral () const |
Public Attributes | |
T | elements |
STL member. More... | |
timeseries - time hold as RealTime
|
inline |
empty collection
|
inline |
copy c-tor
|
inline |
c-tor from a range
|
inline |
c-tor from a range
|
inline |
c-tor from a C style table of timestamps (as long - posix time), and C style table of values
tworzy szereg czasowy na podstawie tablicy timestamp (posix) oraz tablicy wartosci
|
inline |
c-tor from C style table of values. The timestamps are calculated from start_time and delta
tworzy szereg czasowy na podstawie tablicy wartosci, czas dla pierwszego pomiaru, delta
faif::timeseries::TimeSeriesReal::TimeSeriesReal | ( | const TimeSeriesReal & | ts, |
const RealTime & | offset | ||
) |
c-tor from timeseries - the timestams are modified (the offset is added)
|
inline |
d-tor
|
inline |
operator =
|
inline |
the sum of values of timeseries
References faif::timeseries::TimeValueReal::getValue().
|
inline |
the average of values of timeseries, 0.0 if the timeseries is empty.
|
inline |
the integral (the area under the line) for timeseries
oblicza calke (pole pod krzywa) dla danego szeregu czasowego
References faif::timeseries::TimeValueDigit::getQuality(), faif::timeseries::TimeValueDigit::getTime(), and faif::timeseries::TimeValueDigit::getValue().
|
inherited |
STL member.