ESPHome  2024.4.0
Public Member Functions
esphome::media_player::IsPlayingCondition< Ts > Class Template Reference

#include <automation.h>

Inheritance diagram for esphome::media_player::IsPlayingCondition< Ts >:
esphome::Condition< Ts... > esphome::Parented< MediaPlayer >

Public Member Functions

bool check (Ts... x) override
 
- Public Member Functions inherited from esphome::Condition< Ts... >
bool check_tuple (const std::tuple< Ts... > &tuple)
 Call check with a tuple of values as parameter. More...
 
- Public Member Functions inherited from esphome::Parented< MediaPlayer >
 Parented ()
 
 Parented (MediaPlayer *parent)
 
MediaPlayer * get_parent () const
 Get the parent of this object. More...
 
void set_parent (MediaPlayer *parent)
 Set the parent of this object. More...
 

Additional Inherited Members

- Protected Member Functions inherited from esphome::Condition< Ts... >
bool check_tuple_ (const std::tuple< Ts... > &tuple, seq< S... >)
 
- Protected Attributes inherited from esphome::Parented< MediaPlayer >
MediaPlayer * parent_
 

Detailed Description

template<typename... Ts>
class esphome::media_player::IsPlayingCondition< Ts >

Definition at line 61 of file automation.h.

Member Function Documentation

◆ check()

template<typename... Ts>
bool esphome::media_player::IsPlayingCondition< Ts >::check ( Ts...  x)
inlineoverridevirtual

Implements esphome::Condition< Ts... >.

Definition at line 63 of file automation.h.


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