|
ESPHome 2026.11.0-dev
|
Loop continuation for RepeatAction that increments iteration and repeats or continues. More...
#include <base_automation.h>
Public Member Functions | |
| RepeatLoopContinuation (RepeatAction< Ts... > *parent) | |
| void | play (const uint32_t &iteration, const Ts &...x) override |
Public Member Functions inherited from esphome::Action< uint32_t, Ts... > | |
| virtual void | play_complex (const Ts &...x) |
| void | stop_complex () |
| 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 | |
| RepeatAction< Ts... > * | parent_ |
Protected Attributes inherited from esphome::Action< uint32_t, 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< uint32_t, Ts... > | |
| virtual void | play (const Ts &...x)=0 |
| For a branch owner (if, while), play() runs when the branch finishes. | |
| 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_ () |
| bool | next_is_owner_ () const |
| Action * | owner_ () const |
| Only valid when next_is_owner_(). | |
| Action * | chain_next_ () const |
Static Protected Member Functions inherited from esphome::Action< uint32_t, Ts... > | |
| static Action * | tag_owner (Action *owner) |
Static Protected Attributes inherited from esphome::Action< uint32_t, Ts... > | |
| static constexpr uintptr_t | OWNER_TAG |
Loop continuation for RepeatAction that increments iteration and repeats or continues.
Repeat keeps a continuation: its body takes an extra uint32_t, so it cannot be tagged.
Definition at line 408 of file base_automation.h.
|
inlineexplicit |
Definition at line 410 of file base_automation.h.
|
override |
Definition at line 452 of file base_automation.h.
|
protected |
Definition at line 415 of file base_automation.h.