ESPHome 2026.1.0-dev
Loading...
Searching...
No Matches
esphome::cc1101::SendPacketAction< Ts > Class Template Reference

#include <cc1101.h>

Inheritance diagram for esphome::cc1101::SendPacketAction< Ts >:
esphome::Action< Ts... > esphome::Parented< CC1101Component >

Public Member Functions

void set_data_template (std::function< std::vector< uint8_t >(Ts...)> func)
 
void set_data_static (const uint8_t *data, size_t len)
 
void play (const Ts &...x) override
 
- Public Member Functions inherited from esphome::Action< Ts... >
virtual void play_complex (const Ts &...x)
 
virtual void stop_complex ()
 
virtual 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< CC1101Component >
 Parented ()
 
 Parented (CC1101Component *parent)
 
CC1101Component * get_parent () const
 Get the parent of this object.
 
void set_parent (CC1101Component *parent)
 Set the parent of this object.
 

Protected Attributes

std::function< std::vector< uint8_t >(Ts...)> data_func_ {}
 
const uint8_t * data_static_ {nullptr}
 
size_t data_static_len_ {0}
 
- 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< CC1101Component >
CC1101Component * parent_
 

Additional Inherited Members

- 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)
 
virtual void stop ()
 
void stop_next_ ()
 
bool is_running_next_ ()
 

Detailed Description

template<typename... Ts>
class esphome::cc1101::SendPacketAction< Ts >

Definition at line 129 of file cc1101.h.

Member Function Documentation

◆ play()

template<typename... Ts>
void esphome::cc1101::SendPacketAction< Ts >::play ( const Ts &... x)
inlineoverridevirtual

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

Definition at line 137 of file cc1101.h.

◆ set_data_static()

template<typename... Ts>
void esphome::cc1101::SendPacketAction< Ts >::set_data_static ( const uint8_t * data,
size_t len )
inline

Definition at line 132 of file cc1101.h.

◆ set_data_template()

template<typename... Ts>
void esphome::cc1101::SendPacketAction< Ts >::set_data_template ( std::function< std::vector< uint8_t >(Ts...)> func)
inline

Definition at line 131 of file cc1101.h.

Field Documentation

◆ data_func_

template<typename... Ts>
std::function<std::vector<uint8_t>(Ts...)> esphome::cc1101::SendPacketAction< Ts >::data_func_ {}
protected

Definition at line 148 of file cc1101.h.

◆ data_static_

template<typename... Ts>
const uint8_t* esphome::cc1101::SendPacketAction< Ts >::data_static_ {nullptr}
protected

Definition at line 149 of file cc1101.h.

◆ data_static_len_

template<typename... Ts>
size_t esphome::cc1101::SendPacketAction< Ts >::data_static_len_ {0}
protected

Definition at line 150 of file cc1101.h.


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