ESPHome 2025.9.0-dev
|
#include <automation.h>
Public Member Functions | |
void | add_action (Action< Ts... > *action) |
void | add_actions (const std::vector< Action< Ts... > * > &actions) |
void | play (Ts... x) |
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<int... S> | |
void | play_tuple_ (const std::tuple< Ts... > &tuple, seq< S... >) |
Protected Attributes | |
Action< Ts... > * | actions_begin_ {nullptr} |
Action< Ts... > * | actions_end_ {nullptr} |
Definition at line 236 of file automation.h.
|
inline |
Definition at line 238 of file automation.h.
|
inline |
Definition at line 246 of file automation.h.
|
inline |
Definition at line 260 of file automation.h.
|
inline |
Check if any action in this action list is currently running.
Definition at line 263 of file automation.h.
|
inline |
Return the number of actions in this action list that are currently running.
Definition at line 269 of file automation.h.
|
inline |
Definition at line 251 of file automation.h.
|
inline |
Definition at line 255 of file automation.h.
|
inlineprotected |
Definition at line 276 of file automation.h.
|
inline |
Definition at line 256 of file automation.h.
|
protected |
Definition at line 280 of file automation.h.
|
protected |
Definition at line 281 of file automation.h.