ESPHome 2026.6.0-dev
Loading...
Searching...
No Matches
esphome::router::SwitchOutputAction< Ts > Class Template Reference

#include <router_speaker.h>

Inheritance diagram for esphome::router::SwitchOutputAction< Ts >:
esphome::Action< Ts... >

Public Member Functions

 SwitchOutputAction (Router *parent)
 
 TEMPLATABLE_VALUE (speaker::Speaker *, target) void play(const Ts &...x) override
 
- Public Member Functions inherited from esphome::Action< Ts... >
virtual void play_complex (const Ts &...x)
 
virtual void stop_complex ()
 
virtual bool is_running ()
 Check if this or any of the following actions are currently running.
 
int num_running_total ()
 The total number of actions that are currently running in this plus any of the following actions in the chain.
 

Protected Attributes

Routerparent_
 
- Protected Attributes inherited from esphome::Action< Ts... >
friend ActionList< Ts... >
 
Action< Ts... > * next_
 
int num_running_
 The number of instances of this sequence in the list of actions that is currently being executed.
 

Additional Inherited Members

- Protected Member Functions inherited from esphome::Action< Ts... >
virtual void play (const Ts &...x)=0
 
void play_next_ (const Ts &...x)
 
void play_next_tuple_ (const std::tuple< Ts... > &tuple, std::index_sequence< S... >)
 
void play_next_tuple_ (const std::tuple< Ts... > &tuple)
 
virtual void stop ()
 
void stop_next_ ()
 
bool is_running_next_ ()
 

Detailed Description

template<typename... Ts>
class esphome::router::SwitchOutputAction< Ts >

Definition at line 80 of file router_speaker.h.

Constructor & Destructor Documentation

◆ SwitchOutputAction()

template<typename... Ts>
esphome::router::SwitchOutputAction< Ts >::SwitchOutputAction ( Router * parent)
inlineexplicit

Definition at line 82 of file router_speaker.h.

Member Function Documentation

◆ TEMPLATABLE_VALUE()

template<typename... Ts>
esphome::router::SwitchOutputAction< Ts >::TEMPLATABLE_VALUE ( speaker::Speaker * ,
target  ) const &
inlineoverride

Definition at line 83 of file router_speaker.h.

Field Documentation

◆ parent_

template<typename... Ts>
Router* esphome::router::SwitchOutputAction< Ts >::parent_
protected

Definition at line 87 of file router_speaker.h.


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