ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
esphome::espnow::SendAction< Ts > Class Template Referencefinal

#include <automation.h>

Inheritance diagram for esphome::espnow::SendAction< Ts >:
esphome::Action< Ts... > esphome::Parented< ESPNowComponent >

Protected Member Functions

void play (const Ts &...x) override
 
void stop () override
 
- Protected Member Functions inherited from esphome::Action< Ts... >
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)
 
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
 

Protected Attributes

ActionList< Ts... > sent_
 
ActionList< Ts... > error_
 
struct { 
 
   uint8_t   wait_for_sent: 1 
 
   uint8_t   continue_on_error: 1 
 
   uint8_t   reserved: 6 
 
} flags_ 
 
- Protected Attributes inherited from esphome::Action< 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.
 
- Protected Attributes inherited from esphome::Parented< ESPNowComponent >
ESPNowComponent * parent_
 

Additional Inherited Members

- Public Member Functions inherited from esphome::Action< Ts... >
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.
 
- Public Member Functions inherited from esphome::Parented< ESPNowComponent >
 Parented ()
 
 Parented (ESPNowComponent *parent)
 
ESPNowComponent * get_parent () const
 Get the parent of this object.
 
void set_parent (ESPNowComponent *parent)
 Set the parent of this object.
 
- Static Protected Member Functions inherited from esphome::Action< Ts... >
static Action * tag_owner (Action *owner)
 
- Static Protected Attributes inherited from esphome::Action< Ts... >
static constexpr uintptr_t OWNER_TAG
 

Detailed Description

template<typename... Ts>
class esphome::espnow::SendAction< Ts >

Definition at line 12 of file automation.h.

Member Function Documentation

◆ play()

template<typename... Ts>
void esphome::espnow::SendAction< Ts >::play ( const Ts &... x)
inlineoverrideprotectedvirtual

Implements esphome::Action< Ts... >.

Definition at line 73 of file automation.h.

◆ stop()

template<typename... Ts>
void esphome::espnow::SendAction< Ts >::stop ( )
inlineoverrideprotectedvirtual

Reimplemented from esphome::Action< Ts... >.

Definition at line 75 of file automation.h.

Field Documentation

◆ continue_on_error

template<typename... Ts>
uint8_t esphome::espnow::SendAction< Ts >::continue_on_error

Definition at line 85 of file automation.h.

◆ error_

template<typename... Ts>
ActionList<Ts...> esphome::espnow::SendAction< Ts >::error_
protected

Definition at line 81 of file automation.h.

◆ [struct]

struct { ... } esphome::espnow::SendAction< Ts >::flags_

◆ reserved

template<typename... Ts>
uint8_t esphome::espnow::SendAction< Ts >::reserved

Definition at line 86 of file automation.h.

◆ sent_

template<typename... Ts>
ActionList<Ts...> esphome::espnow::SendAction< Ts >::sent_
protected

Definition at line 80 of file automation.h.

◆ wait_for_sent

template<typename... Ts>
uint8_t esphome::espnow::SendAction< Ts >::wait_for_sent

Definition at line 84 of file automation.h.


The documentation for this class was generated from the following file: