Sound Byte Libs 0.5.1-121-g3358a44
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
sbl::dsp::primitives::BlockGuard Class Reference

Detailed Description

Definition at line 15 of file block_guard.hpp.

#include <block_guard.hpp>

Public Member Functions

void begin ()
 
void add (float v)
 
bool tripped () const
 True if anything added since begin() was non-finite.
 

Member Function Documentation

◆ begin()

void sbl::dsp::primitives::BlockGuard::begin ( )
inline
Note
All public methods are ISR-safe — bounded computation, no I/O.

Definition at line 19 of file block_guard.hpp.

Referenced by sbl::dsp::pm::StringBase< Exciter, Load, MaxPeriod >::process().

◆ add()

void sbl::dsp::primitives::BlockGuard::add ( float  v)
inline

◆ tripped()

bool sbl::dsp::primitives::BlockGuard::tripped ( ) const
inline

True if anything added since begin() was non-finite.

Definition at line 23 of file block_guard.hpp.

Referenced by sbl::dsp::pm::StringBase< Exciter, Load, MaxPeriod >::process().


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