5.4.10. StatisticsData

using eprosima::statistics_backend::StatisticsData = std::pair<Timestamp, double>

Type of the data returned by the backend.

The first field represents the time at which the data was recorded. This can be the time of the raw data point if no bins are being used, or the starting time of the bin (see get_data()).

The second field represents the data value itself. This will be the value of the calculated statistic, or the raw data if no statistic has been requested (see get_data()).

See also

get_data()