ESPHome 2026.6.2
Loading...
Searching...
No Matches
esphome::openthread::InstanceLock Class Reference

#include <openthread.h>

Public Member Functions

 InstanceLock (const InstanceLock &)=delete
 
 InstanceLock (InstanceLock &&)=delete
 
InstanceLockoperator= (const InstanceLock &)=delete
 
InstanceLockoperator= (InstanceLock &&)=delete
 
 ~InstanceLock ()
 
 operator bool () const
 
otInstance * get_instance ()
 

Static Public Member Functions

static InstanceLock try_acquire (int delay)
 
static InstanceLock acquire ()
 

Detailed Description

Definition at line 94 of file openthread.h.

Constructor & Destructor Documentation

◆ InstanceLock() [1/2]

esphome::openthread::InstanceLock::InstanceLock ( const InstanceLock & )
delete

◆ InstanceLock() [2/2]

esphome::openthread::InstanceLock::InstanceLock ( InstanceLock && )
delete

◆ ~InstanceLock()

esphome::openthread::InstanceLock::~InstanceLock ( )

Definition at line 247 of file openthread_esp.cpp.

Member Function Documentation

◆ acquire()

InstanceLock esphome::openthread::InstanceLock::acquire ( )
static

Definition at line 226 of file openthread_esp.cpp.

◆ get_instance()

otInstance * esphome::openthread::InstanceLock::get_instance ( )

Definition at line 245 of file openthread_esp.cpp.

◆ operator bool()

esphome::openthread::InstanceLock::operator bool ( ) const
inlineexplicit

Definition at line 106 of file openthread.h.

◆ operator=() [1/2]

InstanceLock & esphome::openthread::InstanceLock::operator= ( const InstanceLock & )
delete

◆ operator=() [2/2]

InstanceLock & esphome::openthread::InstanceLock::operator= ( InstanceLock && )
delete

◆ try_acquire()

InstanceLock esphome::openthread::InstanceLock::try_acquire ( int delay)
static

Definition at line 219 of file openthread_esp.cpp.


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