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

#include <filter.h>

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

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

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

Detailed Description

Definition at line 381 of file filter.h.

Constructor & Destructor Documentation

◆ PhiNode()

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

Definition at line 359 of file filter.cpp.

Member Function Documentation

◆ new_value()

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

Implements esphome::sensor::Filter.

Definition at line 361 of file filter.cpp.

Field Documentation

◆ or_parent_

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

Definition at line 387 of file filter.h.


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