|
ESPHome 2026.11.0b6
|
#include <automation.h>
Public Member Functions | |
| void | add_action (Action< Ts... > *action) |
| void | add_actions (const std::initializer_list< Action< Ts... > * > &actions) |
| void | set_owner (Action< Ts... > *owner) |
Resume owner via play() when the list finishes; call once, after adding 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... >) |
| Action< Ts... > ** | tail_ () |
Protected Attributes | |
| Action< Ts... > * | actions_ {nullptr} |
Definition at line 663 of file automation.h.
|
inline |
Definition at line 665 of file automation.h.
|
inline |
Definition at line 669 of file automation.h.
|
inline |
Definition at line 697 of file automation.h.
|
inline |
Check if any action in this action list is currently running.
Definition at line 700 of file automation.h.
|
inline |
Return the number of actions in this action list that are currently running.
Definition at line 706 of file automation.h.
|
inline |
Definition at line 686 of file automation.h.
|
inline |
Definition at line 690 of file automation.h.
|
inlineprotected |
Definition at line 713 of file automation.h.
|
inline |
Resume owner via play() when the list finishes; call once, after adding actions.
Definition at line 678 of file automation.h.
|
inline |
Definition at line 693 of file automation.h.
|
inlineprotected |
Definition at line 717 of file automation.h.
|
protected |
Definition at line 728 of file automation.h.