|
ESPHome 2026.10.2
|
#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 620 of file automation.h.
|
inline |
Definition at line 622 of file automation.h.
|
inline |
Definition at line 629 of file automation.h.
|
inline |
Definition at line 652 of file automation.h.
|
inline |
Check if any action in this action list is currently running.
Definition at line 655 of file automation.h.
|
inline |
Return the number of actions in this action list that are currently running.
Definition at line 661 of file automation.h.
|
inline |
Definition at line 641 of file automation.h.
|
inline |
Definition at line 645 of file automation.h.
|
inlineprotected |
Definition at line 668 of file automation.h.
|
inline |
Definition at line 648 of file automation.h.
|
protected |
Definition at line 672 of file automation.h.