|
ESPHome 2026.5.0-dev
|
#include <automation.h>
Public Member Functions | |
| void | add_action (Action< Ts... > *action) |
| void | add_actions (const std::initializer_list< Action< Ts... > * > &actions) |
| void | play (const Ts &...x) ESPHOME_ALWAYS_INLINE |
| void | play_tuple (const std::tuple< Ts... > &tuple) |
| void | stop () |
| bool | empty () const |
| bool | is_running () |
| Check if any action in this action list is currently running. | |
| int | num_running () |
| Return the number of actions in this action list that are currently running. | |
Protected Member Functions | |
| template<size_t... S> | |
| void | play_tuple_ (const std::tuple< Ts... > &tuple, std::index_sequence< S... >) |
Protected Attributes | |
| Action< Ts... > * | actions_ {nullptr} |
Definition at line 574 of file automation.h.
|
inline |
Definition at line 576 of file automation.h.
|
inline |
Definition at line 583 of file automation.h.
|
inline |
Definition at line 606 of file automation.h.
|
inline |
Check if any action in this action list is currently running.
Definition at line 609 of file automation.h.
|
inline |
Return the number of actions in this action list that are currently running.
Definition at line 615 of file automation.h.
|
inline |
Definition at line 595 of file automation.h.
|
inline |
Definition at line 599 of file automation.h.
|
inlineprotected |
Definition at line 622 of file automation.h.
|
inline |
Definition at line 602 of file automation.h.
|
protected |
Definition at line 626 of file automation.h.