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
NonatomicBLERingBufSize< T > Struct Template Reference

#include <MIDI_Interfaces/BLEMIDI/BLERingBuf.hpp>

Detailed Description

template<class T>
struct NonatomicBLERingBufSize< T >

Definition at line 13 of file BLERingBuf.hpp.

+ Collaboration diagram for NonatomicBLERingBufSize< T >:

Public Member Functions

load_acquire () const
 
void add_release (T t)
 
void sub_release (T t)
 

Public Attributes

value
 

Static Public Attributes

static constexpr size_t alignment = alignof(T)
 Alignment for size, and read/write pointers to avoid false sharing.
 

Member Function Documentation

◆ load_acquire()

template<class T >
T load_acquire ( ) const
inline

Definition at line 17 of file BLERingBuf.hpp.

◆ add_release()

template<class T >
void add_release ( T t)
inline

Definition at line 18 of file BLERingBuf.hpp.

◆ sub_release()

template<class T >
void sub_release ( T t)
inline

Definition at line 19 of file BLERingBuf.hpp.

Member Data Documentation

◆ value

template<class T >
T value

Definition at line 14 of file BLERingBuf.hpp.

◆ alignment

template<class T >
constexpr size_t alignment = alignof(T)
staticconstexpr

Alignment for size, and read/write pointers to avoid false sharing.

Definition at line 16 of file BLERingBuf.hpp.


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