Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ESP32BLEBackend< Impl >::AtomicSize Struct Reference

Detailed Description

template<class Impl>
struct ESP32BLEBackend< Impl >::AtomicSize

Definition at line 92 of file ESP32Backend.hpp.

+ Collaboration diagram for ESP32BLEBackend< Impl >::AtomicSize:

Public Member Functions

 AtomicSize (uint_fast16_t value)
 
uint_fast16_t load_acquire () const
 
void add_release (uint_fast16_t t)
 
void sub_release (uint_fast16_t t)
 

Public Attributes

std::atomic_uint_fast16_t value
 

Static Public Attributes

static constexpr size_t alignment = 64
 

Constructor & Destructor Documentation

◆ AtomicSize()

template<class Impl >
AtomicSize ( uint_fast16_t value)
inline

Definition at line 98 of file ESP32Backend.hpp.

Member Function Documentation

◆ load_acquire()

template<class Impl >
uint_fast16_t load_acquire ( ) const
inline

Definition at line 100 of file ESP32Backend.hpp.

◆ add_release()

template<class Impl >
void add_release ( uint_fast16_t t)
inline

Definition at line 103 of file ESP32Backend.hpp.

◆ sub_release()

template<class Impl >
void sub_release ( uint_fast16_t t)
inline

Definition at line 106 of file ESP32Backend.hpp.

Member Data Documentation

◆ alignment

template<class Impl >
constexpr size_t alignment = 64
staticconstexpr

Definition at line 96 of file ESP32Backend.hpp.

◆ value

template<class Impl >
std::atomic_uint_fast16_t value

Definition at line 99 of file ESP32Backend.hpp.


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