ESPHome  2024.10.2
Public Member Functions | Protected Attributes
esphome::lightwaverf::SendRawAction< Ts > Class Template Reference

#include <lightwaverf.h>

Inheritance diagram for esphome::lightwaverf::SendRawAction< Ts >:
esphome::Action< Ts... >

Public Member Functions

 SendRawAction (LightWaveRF *parent)
 
 TEMPLATABLE_VALUE (int, repeat)
 
 TEMPLATABLE_VALUE (int, inverted)
 
 TEMPLATABLE_VALUE (int, pulse_length)
 
 TEMPLATABLE_VALUE (std::vector< uint8_t >, code)
 
void set_repeats (const int &data)
 
void set_inverted (const int &data)
 
void set_pulse_length (const int &data)
 
void set_data (const std::vector< uint8_t > &data)
 
void play (Ts... x)
 
- Public Member Functions inherited from esphome::Action< Ts... >
virtual void play_complex (Ts... x)
 
virtual void stop_complex ()
 
virtual bool is_running ()
 Check if this or any of the following actions are currently running. More...
 
int num_running_total ()
 The total number of actions that are currently running in this plus any of the following actions in the chain. More...
 

Protected Attributes

LightWaveRFparent_
 
- 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. More...
 

Additional Inherited Members

- Protected Member Functions inherited from esphome::Action< Ts... >
void play_next_ (Ts... x)
 
void play_next_tuple_ (const std::tuple< Ts... > &tuple, seq< 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::lightwaverf::SendRawAction< Ts >

Definition at line 41 of file lightwaverf.h.

Constructor & Destructor Documentation

◆ SendRawAction()

template<typename... Ts>
esphome::lightwaverf::SendRawAction< Ts >::SendRawAction ( LightWaveRF parent)
inline

Definition at line 43 of file lightwaverf.h.

Member Function Documentation

◆ play()

template<typename... Ts>
void esphome::lightwaverf::SendRawAction< Ts >::play ( Ts...  x)
inlinevirtual

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

Definition at line 54 of file lightwaverf.h.

◆ set_data()

template<typename... Ts>
void esphome::lightwaverf::SendRawAction< Ts >::set_data ( const std::vector< uint8_t > &  data)
inline

Definition at line 52 of file lightwaverf.h.

◆ set_inverted()

template<typename... Ts>
void esphome::lightwaverf::SendRawAction< Ts >::set_inverted ( const int &  data)
inline

Definition at line 50 of file lightwaverf.h.

◆ set_pulse_length()

template<typename... Ts>
void esphome::lightwaverf::SendRawAction< Ts >::set_pulse_length ( const int &  data)
inline

Definition at line 51 of file lightwaverf.h.

◆ set_repeats()

template<typename... Ts>
void esphome::lightwaverf::SendRawAction< Ts >::set_repeats ( const int &  data)
inline

Definition at line 49 of file lightwaverf.h.

◆ TEMPLATABLE_VALUE() [1/4]

template<typename... Ts>
esphome::lightwaverf::SendRawAction< Ts >::TEMPLATABLE_VALUE ( int  ,
repeat   
)

◆ TEMPLATABLE_VALUE() [2/4]

template<typename... Ts>
esphome::lightwaverf::SendRawAction< Ts >::TEMPLATABLE_VALUE ( int  ,
inverted   
)

◆ TEMPLATABLE_VALUE() [3/4]

template<typename... Ts>
esphome::lightwaverf::SendRawAction< Ts >::TEMPLATABLE_VALUE ( int  ,
pulse_length   
)

◆ TEMPLATABLE_VALUE() [4/4]

template<typename... Ts>
esphome::lightwaverf::SendRawAction< Ts >::TEMPLATABLE_VALUE ( std::vector< uint8_t >  ,
code   
)

Field Documentation

◆ parent_

template<typename... Ts>
LightWaveRF* esphome::lightwaverf::SendRawAction< Ts >::parent_
protected

Definition at line 64 of file lightwaverf.h.


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