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

#include <motion_component.h>

Inheritance diagram for esphome::motion::CalibrateHeadingAction< Ts >:
esphome::Action< Ts... >

Public Member Functions

 CalibrateHeadingAction (MotionComponent *parent)
 
void set_save (bool save)
 
Trigger * get_success_trigger ()
 
Trigger * get_error_trigger ()
 
- Public Member Functions inherited from esphome::Action< 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 Member Functions

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

Protected Attributes

MotionComponent * parent_
 
Trigger success_trigger_
 
Trigger error_trigger_
 
bool save_ {false}
 
- 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.
 

Additional Inherited Members

- 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::motion::CalibrateHeadingAction< Ts >

Definition at line 140 of file motion_component.h.

Constructor & Destructor Documentation

◆ CalibrateHeadingAction()

template<typename... Ts>
esphome::motion::CalibrateHeadingAction< Ts >::CalibrateHeadingAction ( MotionComponent * parent)
inlineexplicit

Definition at line 142 of file motion_component.h.

Member Function Documentation

◆ get_error_trigger()

template<typename... Ts>
Trigger * esphome::motion::CalibrateHeadingAction< Ts >::get_error_trigger ( )
inline

Definition at line 145 of file motion_component.h.

◆ get_success_trigger()

template<typename... Ts>
Trigger * esphome::motion::CalibrateHeadingAction< Ts >::get_success_trigger ( )
inline

Definition at line 144 of file motion_component.h.

◆ play()

template<typename... Ts>
void esphome::motion::CalibrateHeadingAction< Ts >::play ( const Ts & ...)
inlineoverrideprotected

Definition at line 148 of file motion_component.h.

◆ set_save()

template<typename... Ts>
void esphome::motion::CalibrateHeadingAction< Ts >::set_save ( bool save)
inline

Definition at line 143 of file motion_component.h.

Field Documentation

◆ error_trigger_

template<typename... Ts>
Trigger esphome::motion::CalibrateHeadingAction< Ts >::error_trigger_
protected

Definition at line 161 of file motion_component.h.

◆ parent_

template<typename... Ts>
MotionComponent* esphome::motion::CalibrateHeadingAction< Ts >::parent_
protected

Definition at line 159 of file motion_component.h.

◆ save_

template<typename... Ts>
bool esphome::motion::CalibrateHeadingAction< Ts >::save_ {false}
protected

Definition at line 162 of file motion_component.h.

◆ success_trigger_

template<typename... Ts>
Trigger esphome::motion::CalibrateHeadingAction< Ts >::success_trigger_
protected

Definition at line 160 of file motion_component.h.


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