Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
Loading...
Searching...
No Matches
corium::embedded::InterruptLock Class Reference

RAII interrupt locking helper disabling interrupts upon construction and restoring them upon destruction. More...

#include <InterruptLock.hpp>

+ Collaboration diagram for corium::embedded::InterruptLock:

Public Member Functions

 InterruptLock () noexcept
 
 InterruptLock (const InterruptLock &)=delete
 
 InterruptLock (InterruptLock &&)=delete
 
bool isLocked () const noexcept
 
void lock () noexcept
 
InterruptLockoperator= (const InterruptLock &)=delete
 
InterruptLockoperator= (InterruptLock &&)=delete
 
void unlock () noexcept
 
 ~InterruptLock () noexcept
 

Detailed Description

RAII interrupt locking helper disabling interrupts upon construction and restoring them upon destruction.

Constructor & Destructor Documentation

◆ InterruptLock() [1/3]

corium::embedded::InterruptLock::InterruptLock ( )
inlinenoexcept
+ Here is the call graph for this function:

◆ ~InterruptLock()

corium::embedded::InterruptLock::~InterruptLock ( )
inlinenoexcept
+ Here is the call graph for this function:

◆ InterruptLock() [2/3]

corium::embedded::InterruptLock::InterruptLock ( const InterruptLock )
delete

◆ InterruptLock() [3/3]

corium::embedded::InterruptLock::InterruptLock ( InterruptLock &&  )
delete

Member Function Documentation

◆ isLocked()

bool corium::embedded::InterruptLock::isLocked ( ) const
inlinenoexcept

◆ lock()

void corium::embedded::InterruptLock::lock ( )
inlinenoexcept
+ Here is the caller graph for this function:

◆ operator=() [1/2]

InterruptLock & corium::embedded::InterruptLock::operator= ( const InterruptLock )
delete

◆ operator=() [2/2]

InterruptLock & corium::embedded::InterruptLock::operator= ( InterruptLock &&  )
delete

◆ unlock()

void corium::embedded::InterruptLock::unlock ( )
inlinenoexcept
+ Here is the caller graph for this function:

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