ESPHome  2024.2.0
Public Member Functions | Protected Attributes
esphome::sensor::OrFilter::PhiNode Class Reference

#include <filter.h>

Inheritance diagram for esphome::sensor::OrFilter::PhiNode:

Public Member Functions

 PhiNode (OrFilter *or_parent)
optional< float > new_value (float value) override
- Public Member Functions inherited from esphome::sensor::Filter
virtual void initialize (Sensor *parent, Filter *next)
 Initialize this filter, please note this can be called more than once. More...
void input (float value)
void output (float value)

Protected Attributes

- Protected Attributes inherited from esphome::sensor::Filter
friend Sensor
Filternext_ {nullptr}
Sensorparent_ {nullptr}

Detailed Description

Definition at line 380 of file filter.h.

Constructor & Destructor Documentation

◆ PhiNode()

esphome::sensor::OrFilter::PhiNode::PhiNode ( OrFilter or_parent)

Definition at line 355 of file filter.cpp.

Member Function Documentation

◆ new_value()

optional< float > esphome::sensor::OrFilter::PhiNode::new_value ( float  value)

Implements esphome::sensor::Filter.

Definition at line 357 of file filter.cpp.

Field Documentation

◆ or_parent_

OrFilter* esphome::sensor::OrFilter::PhiNode::or_parent_

Definition at line 386 of file filter.h.

The documentation for this class was generated from the following files: