#include <graph.h>
Definition at line 86 of file graph.h.
◆ ~HistoryData()
esphome::graph::HistoryData::~HistoryData |
( |
| ) |
|
◆ get_length()
int esphome::graph::HistoryData::get_length |
( |
| ) |
const |
|
inline |
◆ get_recent_max()
float esphome::graph::HistoryData::get_recent_max |
( |
| ) |
const |
|
inline |
◆ get_recent_min()
float esphome::graph::HistoryData::get_recent_min |
( |
| ) |
const |
|
inline |
◆ get_value()
float esphome::graph::HistoryData::get_value |
( |
int |
idx | ) |
const |
|
inline |
◆ init()
void esphome::graph::HistoryData::init |
( |
int |
length | ) |
|
◆ set_update_time_ms()
void esphome::graph::HistoryData::set_update_time_ms |
( |
uint32_t |
update_time_ms | ) |
|
|
inline |
◆ take_sample()
void esphome::graph::HistoryData::take_sample |
( |
float |
data | ) |
|
◆ count_
int esphome::graph::HistoryData::count_ {0} |
|
protected |
◆ last_sample_
uint32_t esphome::graph::HistoryData::last_sample_ |
|
protected |
◆ length_
int esphome::graph::HistoryData::length_ |
|
protected |
◆ period_
uint32_t esphome::graph::HistoryData::period_ {0} |
|
protected |
◆ recent_max_
float esphome::graph::HistoryData::recent_max_ {NAN} |
|
protected |
◆ recent_min_
float esphome::graph::HistoryData::recent_min_ {NAN} |
|
protected |
◆ samples_
std::vector<float> esphome::graph::HistoryData::samples_ |
|
protected |
◆ update_time_
uint32_t esphome::graph::HistoryData::update_time_ {0} |
|
protected |
The documentation for this class was generated from the following files:
- /opt/build/esphome/esphome/components/graph/graph.h
- /opt/build/esphome/esphome/components/graph/graph.cpp