|
SBK_BarDrive Library 2.2.1
LED bar meter control and queued animations for Arduino
|
Templated animation controller for SBK_BarMeter<T>. More...
#include <SBK_BarMeterAnimations.h>
Data Structures | |
| struct | QueueEntry |
| struct | Block |
Public Member Functions | |
| SBK_BarMeterAnimations (BarMeterT &barMeter) | |
| Construct an animation controller linked to a bar meter. | |
| ~SBK_BarMeterAnimations () | |
| void | setSegsNum (uint8_t n) |
| Set the total number of segments the animation logic should handle. | |
| bool | update (uint32_t syncTime=millis()) |
| Advance the animation logic based on the current millis(). | |
| SBK_BarMeterAnimations & | animInit () |
| Mark animation as ready to reinitialize in next update cycle. | |
| SBK_BarMeterAnimations & | pause (uint32_t syncTime=millis()) |
| Freeze animation progression and all queue/animation timers. | |
| SBK_BarMeterAnimations & | resume (uint32_t syncTime=millis()) |
| Resume with the same playback time remaining as when paused. | |
| SBK_BarMeterAnimations & | stop () |
| Terminate the animation, loop, and queue, then clear mapped pixels. | |
| SBK_BarMeterAnimations & | enqueue () |
| Add the currently configured animation to the fixed-capacity queue. | |
| SBK_BarMeterAnimations & | enqueueFor (uint32_t duration) |
| Queue the configured animation for a fixed amount of time. | |
| SBK_BarMeterAnimations & | forTime (uint32_t duration) |
| Limit a direct or queued animation to a maximum run time. | |
| SBK_BarMeterAnimations & | enqueueReverseAnim () |
| Queue a state-preserving logic reversal of the preceding entry. | |
| SBK_BarMeterAnimations & | loopQueue () |
| Repeat the entire queue after its final entry completes. | |
| SBK_BarMeterAnimations & | noLoopQueue () |
| Disable repetition; finish the current queue pass before stopping. | |
| SBK_BarMeterAnimations & | startQueue () |
| Start queued playback using the current queue-loop setting. | |
| SBK_BarMeterAnimations & | clearQueue () |
| Discard the queue and disable queue looping without stopping the current animation. | |
| SBK_BarMeterAnimations & | skipCurrent () |
| Abandon the active animation and immediately start the next queue entry. | |
| uint8_t | queuedAnimations () const |
| Return the number of animations waiting behind the active one. | |
| bool | isQueueRunning () const |
| Return true while an animation queue is being processed. | |
| uint8_t | currentQueueIndex () const |
| Return the physical queue slot currently playing, or NO_QUEUE_INDEX. | |
| bool | isQueueIndexPlaying (uint8_t index) const |
| Return true when the requested physical queue slot is currently playing. | |
| bool | queueOverflowed () const |
| Return true if an enqueue operation exceeded the configured capacity. | |
| SBK_BarMeterAnimations & | loop () |
| Set animation to automatically loop when complete. | |
| SBK_BarMeterAnimations & | noLoop () |
| Disable auto-looping. | |
| SBK_BarMeterAnimations & | setDir (bool newDirection) |
| Explicitly set the animation rendering direction. | |
| SBK_BarMeterAnimations & | toggleDir () |
| Toggle the current animation rendering direction. | |
| SBK_BarMeterAnimations & | reverseDir () |
| Reverse the rendering direction compared to the original one. | |
| SBK_BarMeterAnimations & | resetDir () |
| Reset direction to the original setting. | |
| SBK_BarMeterAnimations & | setLogic (bool newLogic) |
| Set rendering logic (true = inverted logic, false = normal logic), example fill logic become empty logic. | |
| SBK_BarMeterAnimations & | toggleLogic () |
| Toggle rendering logic (inverted vs normal), example fill logic become empty logic. | |
| SBK_BarMeterAnimations & | invertLogic () |
| Reverse logic compared to initial state Logic refer to behavior, example : fill/empty, exploding/colliding, etc. | |
| SBK_BarMeterAnimations & | resetLogic () |
| Reset logic to initial (default) value. | |
| SBK_BarMeterAnimations & | stopBlockEmission () |
| Stop emitting new blocks during compatible block animations. | |
| SBK_BarMeterAnimations & | resumeBlockEmission () |
| Resume emitting new blocks during compatible block animations. | |
| SBK_BarMeterAnimations & | stopBlockEmissionAfter (uint32_t duration) |
| Stop new block emission after an animation has run for a duration. | |
| SBK_BarMeterAnimations & | waitTrailingSpace (bool enabled=true) |
| Optionally wait one block spacing after the final block clears. | |
| bool | isRunning () const |
| Query if animation is currently active. | |
| bool | isPaused () const |
| Query if animation is paused. | |
| bool | isLoopEnabled () const |
| Query if animation loop is enabled. | |
| SBK_BarMeterAnimations & | setUpdateInterval (uint16_t interval) |
| Change the primary update interval without restarting the animation. | |
| bool | animPendingLoop () |
| Detect whether animation has completed and is about to loop. | |
| bool | isLogicInverted () |
| Returns true if current logic is different from original logic. | |
| bool | isNonInvertingLogicAnim () |
| Return true if the current animation does not support logic inversion. | |
| bool | isDirectionReversed () |
| Returns true if direction is reversed compared to the original. | |
| bool | isBlockEmissionEnabled () const |
| Query if block emission is enabled. | |
| SBK_BarMeterAnimations & | setAll (bool onff) |
| Set all pixels to the specified state. | |
| SBK_BarMeterAnimations & | setAllOn () |
| Set all pixels ON. | |
| SBK_BarMeterAnimations & | setAllOff () |
| Set all pixels OFF. | |
| SBK_BarMeterAnimations & | wait (uint16_t duration) |
| Wait without blocking or changing pixel states; waits never loop. | |
| SBK_BarMeterAnimations & | blinkPixel (uint8_t index, uint16_t interval=500, uint8_t blinkCount=0) |
| Blink one pixel with equal ON and OFF intervals. | |
| SBK_BarMeterAnimations & | blinkPixel (uint8_t index, uint16_t onInterval, uint16_t offInterval, uint8_t blinkCount) |
| Blink one pixel with independent ON and OFF intervals. | |
| SBK_BarMeterAnimations & | fillUpDur (uint16_t duration, uint8_t maxPercent=100, uint8_t minPercent=0) |
| Start animation that fills the bar upwards over a specified duration. | |
| SBK_BarMeterAnimations & | fillUpIntv (uint16_t updateIntv, const uint8_t *maxPercentPtr, const uint8_t *minPercentPtr=nullptr) |
| Start animation that fills the bar upwards at a fixed interval with live percent tracking. | |
| SBK_BarMeterAnimations & | fillUpIntv (uint16_t updateIntv, uint8_t maxPercent=100, uint8_t minPercent=0) |
| Start animation that fills the bar upwards at a fixed interval. | |
| SBK_BarMeterAnimations & | fillDownDur (uint16_t duration, uint8_t maxPercent=100, uint8_t minPercent=0) |
| Start animation that fills the bar downwards over a specified duration. | |
| SBK_BarMeterAnimations & | fillDownIntv (uint16_t updateIntv, const uint8_t *maxPercentPtr, const uint8_t *minPercentPtr=nullptr) |
| Start animation that fills the bar downwards at a fixed interval with live percent tracking. | |
| SBK_BarMeterAnimations & | fillDownIntv (uint16_t updateIntv, uint8_t maxPercent=100, uint8_t minPercent=0) |
| Start animation that fills the bar downwards at a fixed interval. | |
| SBK_BarMeterAnimations & | emptyDownDur (uint16_t duration, uint8_t maxPercent=100, uint8_t minPercent=0) |
| Start animation that empties the bar from top to bottom over a duration. | |
| SBK_BarMeterAnimations & | emptyDownIntv (uint16_t updateIntv, const uint8_t *maxPercentPtr, const uint8_t *minPercentPtr=nullptr) |
| Start animation that empties the bar from top to bottom at fixed intervals with live range. | |
| SBK_BarMeterAnimations & | emptyDownIntv (uint16_t updateIntv, uint8_t maxPercent=100, uint8_t minPercent=0) |
| Start animation that empties the bar from top to bottom at fixed intervals. | |
| SBK_BarMeterAnimations & | emptyUpDur (uint16_t duration, uint8_t maxPercent=100, uint8_t minPercent=0) |
| Start animation that empties the bar from bottom to top over a duration. | |
| SBK_BarMeterAnimations & | emptyUpIntv (uint16_t updateIntv, const uint8_t *maxPercentPtr, const uint8_t *minPercentPtr=nullptr) |
| Start animation that empties the bar from bottom to top at fixed intervals with live range. | |
| SBK_BarMeterAnimations & | emptyUpIntv (uint16_t updateIntv, uint8_t maxPercent=100, uint8_t minPercent=0) |
| Start animation that empties the bar from bottom to top at fixed intervals. | |
| SBK_BarMeterAnimations & | bounceFillUpDur (uint16_t duration, uint8_t maxPercent=100, uint8_t minPercent=0, uint16_t fillIntv=0) |
| Start animation that fills/empties (bounces) bar upward with fixed range. | |
| SBK_BarMeterAnimations & | bounceFillUpIntv (uint16_t fillIntv, uint16_t emptyIntv, const uint8_t *maxPercentPtr, const uint8_t *minPercentPtr=nullptr) |
| Start animation that fills/empties (bounces) bar upward with live range. | |
| SBK_BarMeterAnimations & | bounceFillUpIntv (uint16_t fillIntv=10, uint16_t emptyIntv=10, uint8_t maxPercent=100, uint8_t minPercent=0) |
| Start animation that fills/empties (bounces) bar upward with fixed range. | |
| SBK_BarMeterAnimations & | bounceFillDownDur (uint16_t duration, uint8_t maxPercent=100, uint8_t minPercent=0, uint16_t fillIntv=0) |
| Start animation that fills/empties (bounces) bar downward. | |
| SBK_BarMeterAnimations & | bounceFillDownIntv (uint16_t fillIntv, uint16_t emptyIntv, const uint8_t *maxPercentPtr, const uint8_t *minPercentPtr=nullptr) |
| Start downward fill/empty (bounce) with live percent range tracking. | |
| SBK_BarMeterAnimations & | bounceFillDownIntv (uint16_t fillIntv=10, uint16_t emptyIntv=10, uint8_t maxPercent=100, uint8_t minPercent=0) |
| Start downwardfill/empty (bounce) with fixed percent range. | |
| SBK_BarMeterAnimations & | bounceFillFromCenterDur (uint16_t duration, uint8_t maxPercent=100, uint8_t minPercent=0, uint16_t fillIntv=0) |
| Bounce fill from center outward with fixed range. | |
| SBK_BarMeterAnimations & | bounceFillFromCenterIntv (uint16_t fillIntv, uint16_t emptyIntv, const uint8_t *maxPercentPtr, const uint8_t *minPercentPtr=nullptr) |
| Bounce fill from center outward with live percent range tracking. | |
| SBK_BarMeterAnimations & | bounceFillFromCenterIntv (uint16_t fillIntv=25, uint16_t emptyIntv=25, uint8_t maxPercent=100, uint8_t minPercent=0) |
| Bounce fill from center outward with fixed range. | |
| SBK_BarMeterAnimations & | bounceFillFromEdgesDur (uint16_t duration, uint8_t maxPercent=100, uint8_t minPercent=0, uint16_t fillIntv=0) |
| Bounce fill from both edges inward with fixed range. | |
| SBK_BarMeterAnimations & | bounceFillFromEdgesIntv (uint16_t fillIntv, uint16_t emptyIntv, const uint8_t *maxPercentPtr, const uint8_t *minPercentPtr=nullptr) |
| Bounce fill from both edges inward with live percent range tracking. | |
| SBK_BarMeterAnimations & | bounceFillFromEdgesIntv (uint16_t fillIntv=25, uint16_t emptyIntv=25, uint8_t maxPercent=100, uint8_t minPercent=0) |
| Bounce fill from both edges inward with fix range. | |
| SBK_BarMeterAnimations & | beatPulse (uint8_t *bpmPtr) |
| Start a beat pulse animation synchronized to a live BPM value. | |
| SBK_BarMeterAnimations & | beatPulse (uint8_t bpm=116) |
| Start a beat pulse animation synchronized to a constant BPM. | |
| SBK_BarMeterAnimations & | explodingBlocks (uint16_t intv=50, uint8_t blockLength=2, uint8_t blockSpacing=1, uint8_t numBlocks=0) |
| Emit mirrored blocks from center outward. | |
| SBK_BarMeterAnimations & | collidingBlocks (uint16_t intv=50, uint8_t blockLength=2, uint8_t blockSpacing=1, uint8_t numBlocks=0) |
| Emit mirrored blocks from edge to center. | |
| SBK_BarMeterAnimations & | scrollingUpBlocks (uint16_t intv=50, uint8_t blockLength=2, uint8_t blockSpacing=1, uint8_t numBlocks=0) |
| Scroll blocks upward. | |
| SBK_BarMeterAnimations & | scrollingDownBlocks (uint16_t intv=50, uint8_t blockLength=2, uint8_t blockSpacing=1, uint8_t numBlocks=0) |
| Scroll blocks downward. | |
| SBK_BarMeterAnimations & | downStackingBlocks (uint16_t intv=50, uint8_t blockLength=1, uint8_t blockSpacing=0) |
| Drop blocks from top and stack from bottom up. | |
| SBK_BarMeterAnimations & | upUnstackingBlocks (uint16_t intv=50, uint8_t blockLength=1, uint8_t blockSpacing=0) |
| Launch blocks upward and unstack from top. | |
| SBK_BarMeterAnimations & | upStackingBlocks (uint16_t intv=50, uint8_t blockLength=1, uint8_t blockSpacing=0) |
| Launch blocks from bottom and stack at the top. | |
| SBK_BarMeterAnimations & | downUnstackingBlocks (uint16_t intv=50, uint8_t blockLength=1, uint8_t blockSpacing=0) |
| Drop blocks from top and unstack from bottom up. | |
| SBK_BarMeterAnimations & | followSignalSmooth (const uint16_t *sigPtr, uint16_t updateIntv=100, uint16_t minMap=0, uint16_t maxMap=1023, uint8_t smoothingFactor=30, uint16_t samplingIntv=5) |
| Follow analog signal with smoothing for fill animation. | |
| SBK_BarMeterAnimations & | followSignalWithPointer (const uint16_t *sigPtr, uint16_t updateIntv=100, uint16_t minMap=0, uint16_t maxMap=1023, uint8_t smoothingFactor=30, uint16_t samplingIntv=5) |
| Follow signal with smoothing and display a pointer. | |
| SBK_BarMeterAnimations & | followDualSignalFromCenter (const uint16_t *sig1Ptr, uint16_t updateIntv=100, const uint16_t *sig2Ptr=nullptr, uint16_t minMap=0, uint16_t maxMap=1023, uint8_t smoothingFactor=30, uint16_t samplingIntv=5) |
| Smoothly fills the lower half and upper half of the bar meter independently from center, based on two signal levels. | |
| SBK_BarMeterAnimations & | followDualSignalFromEdges (const uint16_t *sig1Ptr, uint16_t updateIntv=100, const uint16_t *sig2Ptr=nullptr, uint16_t minMap=0, uint16_t maxMap=1023, uint8_t smoothingFactor=30, uint16_t samplingIntv=5) |
| Smoothly fills the lower half and upper half of the bar meter independently from center, based on two signal levels. | |
| SBK_BarMeterAnimations & | followSignalFloatingPeak (const uint16_t *sigPtr, uint8_t peakHoldTime=20, uint16_t updateIntv=100, uint16_t minMap=0, uint16_t maxMap=1023, uint8_t smoothingFactor=30, uint16_t samplingIntv=5) |
| Follow an analog signal with smoothing and floating peak indicator. | |
| SBK_BarMeterAnimations & | randomFill (uint16_t interval=30) |
| Randomly light up pixels until the bar is full. | |
| SBK_BarMeterAnimations & | randomEmpty (uint16_t interval=30) |
| Randomly turn off pixels until the bar is empty. | |
Static Public Attributes | |
| static constexpr uint8_t | NO_QUEUE_INDEX = 0xFF |
Protected Types | |
| using | AnimUpdateFn = bool (SBK_BarMeterAnimations::*)() |
Protected Member Functions | |
| void | _captureQueueEntry (QueueEntry &entry, bool resetRuntimeState, uint32_t duration) |
| void | _loadQueueEntry (const QueueEntry &entry, bool forceReset=false) |
| void | _startNextQueuedAnimation (bool forceReset=false) |
| void | _initializeStorage () |
| uint8_t * | _randomOrder () |
| void | _resetBlocks (uint8_t &blockCapacity) |
| const uint8_t * | _percentMaxPtr () const |
| const uint8_t * | _percentMinPtr () const |
| const uint8_t * | _liveBpmPtr () const |
| const uint16_t * | _signalPtr1 () const |
| const uint16_t * | _signalPtr2 () const |
| void | _mapMinMaxTrackerFromPtr (const uint8_t *minPercPtr, const uint8_t *maxPercPtr, int8_t minR, uint8_t maxR) |
| void | _mapMinMaxTracker (uint8_t minP, uint8_t maxP, uint8_t minR, uint8_t maxR) |
| uint8_t | _corrPixelToDir (uint8_t pixel) |
| uint8_t | _corrPixelToDirForHalfRange (uint8_t pixel) |
| bool | _setAllOn () |
| bool | _setAllOff () |
| bool | _wait () |
| bool | _blinkPixel () |
| bool | _fillOrEmpty () |
| bool | _bounceFill () |
| bool | _fillFromOrEmptyToCenter () |
| bool | _bounceFillHalfRangeMirrorCenter () |
| bool | _beatPulse () |
| bool | _beatPulseLive () |
| bool | _blocksComplete () |
| void | _emitBlock (int8_t pos) |
| int8_t | _calculateSwitchedEmitTickCounter (uint8_t range) |
| bool | _mirrorBlocks () |
| bool | _scrollingBlocks () |
| bool | _stackingBlocks () |
| bool | _followSignalSmooth () |
| bool | _followSignalWithPointer () |
| bool | _followDualSignalCenterMirror () |
| bool | _followSignalFloatingPeak () |
| bool | _randomPixelUpdater () |
Static Protected Member Functions | |
| template<typename A, typename B> | |
| static auto | _minValue (A a, B b) -> decltype(true ? A() :B()) |
| template<typename A, typename B> | |
| static auto | _maxValue (A a, B b) -> decltype(true ? A() :B()) |
| static void | _normalizePercentRange (uint8_t &minP, uint8_t &maxP) |
| static void | _correctSwapOrEqualMinMax (uint16_t &minVal, uint16_t &maxVal) |
| static uint8_t | _getMappedSignal (uint16_t sig, uint16_t minM, uint16_t maxM, uint8_t minR, uint8_t maxR) |
| static int8_t | _calculateSwitchPosition (int8_t pos, uint8_t blockL, uint8_t range) |
Static Protected Attributes | |
| static constexpr uint8_t | QUEUE_CAPACITY = 4 |
| static constexpr uint8_t | MAX_BLOCK_CAPACITY = 64 |
Templated animation controller for SBK_BarMeter<T>.
This class encapsulates timing logic, block emission, bouncing effects, signal smoothing, and beat-based animations for bar meters. Chainable API makes integration in update loops easy.
| BarMeterT | A specific SBK_BarMeter<DriverT> instance |
Definition at line 58 of file SBK_BarMeterAnimations.h.
|
protected |
Definition at line 1814 of file SBK_BarMeterAnimations.h.
|
inlineexplicit |
Construct an animation controller linked to a bar meter.
| barMeter | Reference to the associated SBK_BarMeter instance. |
Definition at line 67 of file SBK_BarMeterAnimations.h.
References _barMeter, and _initializeStorage().
Referenced by animInit(), beatPulse(), beatPulse(), blinkPixel(), blinkPixel(), bounceFillDownDur(), bounceFillDownIntv(), bounceFillDownIntv(), bounceFillFromCenterDur(), bounceFillFromCenterIntv(), bounceFillFromCenterIntv(), bounceFillFromEdgesDur(), bounceFillFromEdgesIntv(), bounceFillFromEdgesIntv(), bounceFillUpDur(), bounceFillUpIntv(), bounceFillUpIntv(), clearQueue(), collidingBlocks(), downStackingBlocks(), downUnstackingBlocks(), emptyDownDur(), emptyDownIntv(), emptyDownIntv(), emptyUpDur(), emptyUpIntv(), emptyUpIntv(), enqueue(), enqueueFor(), enqueueReverseAnim(), explodingBlocks(), fillDownDur(), fillDownIntv(), fillDownIntv(), fillUpDur(), fillUpIntv(), fillUpIntv(), followDualSignalFromCenter(), followDualSignalFromEdges(), followSignalFloatingPeak(), followSignalSmooth(), followSignalWithPointer(), forTime(), invertLogic(), loop(), loopQueue(), noLoop(), noLoopQueue(), pause(), randomEmpty(), randomFill(), resetDir(), resetLogic(), resume(), resumeBlockEmission(), reverseDir(), scrollingDownBlocks(), scrollingUpBlocks(), setAll(), setAllOff(), setAllOn(), setDir(), setLogic(), setUpdateInterval(), skipCurrent(), startQueue(), stop(), stopBlockEmission(), stopBlockEmissionAfter(), toggleDir(), toggleLogic(), upStackingBlocks(), upUnstackingBlocks(), wait(), and waitTrailingSpace().
|
inline |
Definition at line 72 of file SBK_BarMeterAnimations.h.
References _animationWorkspace.
|
inlineprotected |
Definition at line 2471 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animLogicSet, _animRenderLogicIsInverted, _barMeter, _corrPixelToDir(), _currentTime, _init, _minValue(), _prevAnimRenderLogic, _segsNum, _setAllOff(), beat, currentLevel, lastBeat, lastRandomUpdate, MIN_BASE_LEVEL, MIN_PEAK_LEVEL, PEAK_HOLD_TIME, peakLevel, and prevPeakUpdate.
Referenced by _beatPulseLive(), and beatPulse().
|
inlineprotected |
Definition at line 2545 of file SBK_BarMeterAnimations.h.
References _beatPulse(), _maxValue(), beat, bpm, and bpmPtr.
Referenced by beatPulse().
|
inlineprotected |
Definition at line 2188 of file SBK_BarMeterAnimations.h.
References _barMeter, _counter1, _currentTime, _init, _lastUpdate1, _param1, _param2, _segsNum, _sequenceState, _updateIntv1, and _updateIntv2.
Referenced by blinkPixel().
|
inlineprotected |
Definition at line 2570 of file SBK_BarMeterAnimations.h.
References _animationWorkspace, _currentTime, _emittingBlocksEnabled, _lastUpdate2, _trailingSpacePending, _updateIntv1, _waitTrailingSpace, blockSpacing, emittedBlocksCount, maxBlocks, and requestedNumBlocks.
Referenced by _mirrorBlocks(), and _scrollingBlocks().
|
inlineprotected |
Definition at line 2302 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderLogicIsInverted, _fillOrEmpty(), _sequenceState, _skipPending, _updateIntv1, _updateIntv2, and _updateIntv3.
Referenced by bounceFillDownDur(), bounceFillDownIntv(), bounceFillDownIntv(), bounceFillUpDur(), bounceFillUpIntv(), and bounceFillUpIntv().
|
inlineprotected |
Definition at line 2429 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderLogicIsInverted, _fillFromOrEmptyToCenter(), _sequenceState, _skipPending, _updateIntv1, _updateIntv2, and _updateIntv3.
Referenced by bounceFillFromCenterDur(), bounceFillFromCenterIntv(), bounceFillFromCenterIntv(), bounceFillFromEdgesDur(), bounceFillFromEdgesIntv(), and bounceFillFromEdgesIntv().
|
inlineprotected |
Definition at line 2634 of file SBK_BarMeterAnimations.h.
References _animationWorkspace, _calculateSwitchPosition(), SBK_BarMeterAnimations< BarMeterT >::Block::active, blockLength, blockSpacing, maxBlocks, and SBK_BarMeterAnimations< BarMeterT >::Block::position.
Referenced by _mirrorBlocks(), and _scrollingBlocks().
|
inlinestaticprotected |
Definition at line 2628 of file SBK_BarMeterAnimations.h.
Referenced by _calculateSwitchedEmitTickCounter().
|
inlineprotected |
Definition at line 1913 of file SBK_BarMeterAnimations.h.
References _animDirSet, _AnimInitDirIsReversed, _AnimInitLogicIsInverted, _animLogicSet, _animRenderDirIsReversed, _animRenderLogicIsInverted, _blockEmissionStopAfter, _currentFunc, _emittingBlocksEnabled, _isNonInvertingLogicAnim, _loop, _maxMap, _maxTracker, _minMap, _minTracker, _mirrorHalfRangeDir, _param1, _param2, _param3, _param4, _param5, _updateIntv1, _updateIntv2, _updateIntv3, _usePtr, _valuePtr1, _valuePtr2, _waitTrailingSpace, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::animDirSet, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::animInitDirIsReversed, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::animInitLogicIsInverted, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::animLogicSet, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::animRenderDirIsReversed, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::animRenderLogicIsInverted, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::blockEmissionStopAfter, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::duration, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::emittingBlocksEnabled, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::function, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::isNonInvertingLogicAnim, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::loop, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::maxMap, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::maxTracker, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::minMap, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::minTracker, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::mirrorHalfRangeDir, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::param1, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::param2, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::param3, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::param4, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::param5, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::resetRuntimeState, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::updateIntv1, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::updateIntv2, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::updateIntv3, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::usePtr, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::valuePtr1, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::valuePtr2, and SBK_BarMeterAnimations< BarMeterT >::QueueEntry::waitTrailingSpace.
Referenced by enqueue(), and enqueueFor().
|
inlinestaticprotected |
Definition at line 2136 of file SBK_BarMeterAnimations.h.
Referenced by followDualSignalFromCenter(), followDualSignalFromEdges(), followSignalFloatingPeak(), followSignalSmooth(), and followSignalWithPointer().
|
inlineprotected |
Definition at line 2124 of file SBK_BarMeterAnimations.h.
References _animRenderDirIsReversed, and _segsNum.
Referenced by _beatPulse(), _fillOrEmpty(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _scrollingBlocks(), and _stackingBlocks().
|
inlineprotected |
Definition at line 2128 of file SBK_BarMeterAnimations.h.
References _mirrorHalfRangeDir, and _segsNum.
Referenced by _fillFromOrEmptyToCenter().
|
inlineprotected |
Definition at line 2596 of file SBK_BarMeterAnimations.h.
References _animationWorkspace, SBK_BarMeterAnimations< BarMeterT >::Block::active, blockLength, blockSpacing, emitCooldown, emitIndex, emittedBlocksCount, maxBlocks, SBK_BarMeterAnimations< BarMeterT >::Block::position, and requestedNumBlocks.
Referenced by _mirrorBlocks(), _scrollingBlocks(), and _stackingBlocks().
|
inlineprotected |
Definition at line 2333 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animLogicSet, _animRenderLogicIsInverted, _barMeter, _corrPixelToDirForHalfRange(), _currentTime, _init, _lastUpdate1, _ledTracker1, _mapMinMaxTrackerFromPtr(), _maxTracker, _minTracker, _percentMaxPtr(), _percentMinPtr(), _prevAnimRenderLogic, _segsNum, and _updateIntv1.
Referenced by _bounceFillHalfRangeMirrorCenter().
|
inlineprotected |
Definition at line 2224 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animLogicSet, _animRenderLogicIsInverted, _barMeter, _corrPixelToDir(), _currentTime, _init, _lastUpdate1, _ledTracker1, _mapMinMaxTrackerFromPtr(), _maxTracker, _minTracker, _percentMaxPtr(), _percentMinPtr(), _prevAnimRenderLogic, _segsNum, and _updateIntv1.
Referenced by _bounceFill(), emptyDownIntv(), emptyDownIntv(), emptyUpDur(), emptyUpIntv(), emptyUpIntv(), fillDownDur(), fillDownIntv(), fillDownIntv(), fillUpDur(), fillUpIntv(), and fillUpIntv().
|
inlineprotected |
Definition at line 3094 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animLogicSet, _animRenderLogicIsInverted, _barMeter, _currentTime, _getMappedSignal(), _init, _lastUpdate1, _lastUpdate2, _maxMap, _minMap, _mirrorHalfRangeDir, _prevAnimRenderLogic, _segsNum, _setAllOff(), _signalPtr1(), _signalPtr2(), _smoothedValue1, _smoothedValue2, _updateIntv1, _updateIntv2, and smoothingFactor.
Referenced by followDualSignalFromCenter(), and followDualSignalFromEdges().
|
inlineprotected |
Definition at line 3165 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animLogicSet, _animRenderLogicIsInverted, _barMeter, _corrPixelToDir(), _currentTime, _getMappedSignal(), _init, _lastUpdate1, _lastUpdate2, _maxMap, _minMap, _minValue(), _prevAnimRenderLogic, _segsNum, _setAllOff(), _signalPtr1(), _smoothedValue1, _updateIntv1, _updateIntv2, currentLevel, lastBaseUpdate, lastPeakUpdate, peakHoldTime, peakLevel, and smoothingFactor.
Referenced by followSignalFloatingPeak().
|
inlineprotected |
Definition at line 2998 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animLogicSet, _animRenderLogicIsInverted, _barMeter, _corrPixelToDir(), _currentTime, _getMappedSignal(), _init, _lastUpdate1, _lastUpdate2, _maxMap, _minMap, _prevAnimRenderLogic, _segsNum, _setAllOff(), _signalPtr1(), _smoothedValue1, _updateIntv1, _updateIntv2, and smoothingFactor.
Referenced by followSignalSmooth().
|
inlineprotected |
Definition at line 3040 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animLogicSet, _animRenderLogicIsInverted, _barMeter, _corrPixelToDir(), _currentTime, _getMappedSignal(), _init, _lastUpdate1, _lastUpdate2, _maxMap, _minMap, _prevAnimRenderLogic, _segsNum, _setAllOff(), _signalPtr1(), _smoothedValue1, _updateIntv1, _updateIntv2, and smoothingFactor.
Referenced by followSignalWithPointer().
|
inlinestaticprotected |
Definition at line 2156 of file SBK_BarMeterAnimations.h.
Referenced by _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), and _followSignalWithPointer().
|
inlineprotected |
Definition at line 2036 of file SBK_BarMeterAnimations.h.
References _animationWorkspace, _barMeter, _blockCapacity, _maxTracker, _maxValue(), _minValue(), _segmentCapacity, _segsNum, and MAX_BLOCK_CAPACITY.
Referenced by SBK_BarMeterAnimations().
|
inlineprotected |
Definition at line 2104 of file SBK_BarMeterAnimations.h.
References _valuePtr1.
|
inlineprotected |
Definition at line 1948 of file SBK_BarMeterAnimations.h.
References _activeBlockEmissionStopAfter, _animDirSet, _AnimInitDirIsReversed, _AnimInitLogicIsInverted, _animLogicSet, _animRenderDirIsReversed, _animRenderLogicIsInverted, _counter1, _counter2, _currentFunc, _currentTime, _emittingBlocksEnabled, _init, _isLoopingNow, _isNonInvertingLogicAnim, _isRunning, _lastUpdate1, _lastUpdate2, _lastUpdate3, _ledTracker1, _ledTracker2, _ledTracker3, _loop, _maxMap, _maxTracker, _minMap, _minTracker, _mirrorHalfRangeDir, _param1, _param2, _param3, _param4, _param5, _prevAnimRenderLogic, _queueEntryDuration, _queueEntryTimingPending, _sequenceState, _skipPending, _smoothedValue1, _smoothedValue2, _trailingSpacePending, _updateIntv1, _updateIntv2, _updateIntv3, _usePtr, _valuePtr1, _valuePtr2, _waitTrailingSpace, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::animDirSet, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::animInitDirIsReversed, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::animInitLogicIsInverted, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::animLogicSet, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::animRenderDirIsReversed, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::animRenderLogicIsInverted, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::blockEmissionStopAfter, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::duration, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::emittingBlocksEnabled, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::function, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::isNonInvertingLogicAnim, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::loop, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::maxMap, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::maxTracker, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::minMap, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::minTracker, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::mirrorHalfRangeDir, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::param1, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::param2, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::param3, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::param4, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::param5, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::resetRuntimeState, resume(), SBK_BarMeterAnimations< BarMeterT >::QueueEntry::updateIntv1, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::updateIntv2, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::updateIntv3, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::usePtr, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::valuePtr1, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::valuePtr2, and SBK_BarMeterAnimations< BarMeterT >::QueueEntry::waitTrailingSpace.
Referenced by _startNextQueuedAnimation().
|
inlineprotected |
Definition at line 2118 of file SBK_BarMeterAnimations.h.
References _maxTracker, _minTracker, and _normalizePercentRange().
Referenced by bounceFillDownDur(), bounceFillDownIntv(), bounceFillFromCenterDur(), bounceFillFromCenterIntv(), bounceFillFromEdgesDur(), bounceFillFromEdgesIntv(), bounceFillUpDur(), bounceFillUpIntv(), emptyDownDur(), emptyDownIntv(), emptyUpDur(), emptyUpIntv(), fillDownDur(), fillDownIntv(), fillUpDur(), and fillUpIntv().
|
inlineprotected |
Definition at line 2108 of file SBK_BarMeterAnimations.h.
References _maxTracker, _minTracker, _normalizePercentRange(), and _usePtr.
Referenced by _fillFromOrEmptyToCenter(), _fillOrEmpty(), bounceFillDownIntv(), bounceFillFromCenterIntv(), bounceFillFromEdgesIntv(), bounceFillUpIntv(), emptyDownIntv(), emptyUpIntv(), fillDownIntv(), and fillUpIntv().
|
inlinestaticprotected |
Definition at line 2079 of file SBK_BarMeterAnimations.h.
Referenced by _beatPulseLive(), _initializeStorage(), _mirrorBlocks(), beatPulse(), beatPulse(), blinkPixel(), bounceFillDownDur(), bounceFillDownIntv(), bounceFillDownIntv(), bounceFillFromCenterDur(), bounceFillFromEdgesDur(), bounceFillUpDur(), bounceFillUpIntv(), bounceFillUpIntv(), collidingBlocks(), downStackingBlocks(), downUnstackingBlocks(), emptyDownDur(), emptyDownIntv(), emptyDownIntv(), emptyUpDur(), emptyUpIntv(), emptyUpIntv(), explodingBlocks(), fillDownDur(), fillDownIntv(), fillDownIntv(), fillUpDur(), fillUpIntv(), fillUpIntv(), followDualSignalFromCenter(), followDualSignalFromEdges(), followSignalFloatingPeak(), followSignalSmooth(), followSignalWithPointer(), scrollingDownBlocks(), scrollingUpBlocks(), setUpdateInterval(), upStackingBlocks(), and upUnstackingBlocks().
|
inlinestaticprotected |
Definition at line 2073 of file SBK_BarMeterAnimations.h.
Referenced by _beatPulse(), _followSignalFloatingPeak(), _initializeStorage(), _mirrorBlocks(), _resetBlocks(), beatPulse(), beatPulse(), and setSegsNum().
|
inlineprotected |
Definition at line 2672 of file SBK_BarMeterAnimations.h.
References _animationWorkspace, _AnimInitLogicIsInverted, _animLogicSet, _animRenderLogicIsInverted, _barMeter, _blocksComplete(), _calculateSwitchedEmitTickCounter(), _currentTime, _emitBlock(), _emittingBlocksEnabled, _init, _lastUpdate1, _maxValue(), _minValue(), _prevAnimRenderLogic, _resetBlocks(), _segsNum, _trailingSpacePending, _updateIntv1, SBK_BarMeterAnimations< BarMeterT >::Block::active, blockLength, emitCooldown, emittedBlocksCount, maxBlocks, SBK_BarMeterAnimations< BarMeterT >::Block::position, and requestedNumBlocks.
Referenced by collidingBlocks(), explodingBlocks(), and update().
|
inlinestaticprotected |
Definition at line 2084 of file SBK_BarMeterAnimations.h.
Referenced by _mapMinMaxTracker(), and _mapMinMaxTrackerFromPtr().
|
inlineprotected |
Definition at line 2102 of file SBK_BarMeterAnimations.h.
References _valuePtr1.
Referenced by _fillFromOrEmptyToCenter(), _fillOrEmpty(), bounceFillDownIntv(), bounceFillUpIntv(), emptyDownIntv(), emptyUpIntv(), fillDownIntv(), and fillUpIntv().
|
inlineprotected |
Definition at line 2103 of file SBK_BarMeterAnimations.h.
References _valuePtr2.
Referenced by _fillFromOrEmptyToCenter(), _fillOrEmpty(), bounceFillDownIntv(), bounceFillUpIntv(), emptyDownIntv(), emptyUpIntv(), fillDownIntv(), and fillUpIntv().
|
inlineprotected |
Definition at line 2052 of file SBK_BarMeterAnimations.h.
References _animationWorkspace.
Referenced by _randomPixelUpdater().
|
inlineprotected |
Definition at line 3240 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animLogicSet, _animRenderLogicIsInverted, _barMeter, _currentTime, _init, _lastUpdate1, _prevAnimRenderLogic, _randomCursor, _randomOrder(), _segsNum, _setAllOff(), _setAllOn(), and _updateIntv1.
Referenced by randomEmpty(), and randomFill().
|
inlineprotected |
Definition at line 2057 of file SBK_BarMeterAnimations.h.
References _animationWorkspace, _blockCapacity, _minValue(), and SBK_BarMeterAnimations< BarMeterT >::Block::Block().
Referenced by _mirrorBlocks(), _scrollingBlocks(), and _stackingBlocks().
|
inlineprotected |
Definition at line 2752 of file SBK_BarMeterAnimations.h.
References _animationWorkspace, _AnimInitLogicIsInverted, _animLogicSet, _animRenderLogicIsInverted, _barMeter, _blocksComplete(), _calculateSwitchedEmitTickCounter(), _corrPixelToDir(), _currentTime, _emitBlock(), _emittingBlocksEnabled, _init, _lastUpdate1, _prevAnimRenderLogic, _resetBlocks(), _segsNum, _setAllOff(), _trailingSpacePending, _updateIntv1, SBK_BarMeterAnimations< BarMeterT >::Block::active, blockLength, emitCooldown, emittedBlocksCount, maxBlocks, SBK_BarMeterAnimations< BarMeterT >::Block::position, and requestedNumBlocks.
Referenced by scrollingDownBlocks(), scrollingUpBlocks(), and update().
|
inlineprotected |
Definition at line 2171 of file SBK_BarMeterAnimations.h.
References _barMeter, and _init.
Referenced by _beatPulse(), _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _randomPixelUpdater(), _scrollingBlocks(), and setAllOff().
|
inlineprotected |
Definition at line 2164 of file SBK_BarMeterAnimations.h.
References _barMeter, _init, and _segsNum.
Referenced by _randomPixelUpdater(), and setAllOn().
|
inlineprotected |
Definition at line 2105 of file SBK_BarMeterAnimations.h.
References _valuePtr1.
Referenced by _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), and _followSignalWithPointer().
|
inlineprotected |
Definition at line 2106 of file SBK_BarMeterAnimations.h.
References _valuePtr2.
Referenced by _followDualSignalCenterMirror().
|
inlineprotected |
Definition at line 2819 of file SBK_BarMeterAnimations.h.
References _animationWorkspace, _AnimInitLogicIsInverted, _animLogicSet, _animRenderLogicIsInverted, _barMeter, _corrPixelToDir(), _currentTime, _emitBlock(), _init, _lastUpdate1, _prevAnimRenderLogic, _resetBlocks(), _segsNum, _updateIntv1, SBK_BarMeterAnimations< BarMeterT >::Block::active, blockLength, blockSpacing, emitCooldown, emitIndex, maxBlocks, SBK_BarMeterAnimations< BarMeterT >::Block::position, and stackLevel.
Referenced by downStackingBlocks(), downUnstackingBlocks(), upStackingBlocks(), and upUnstackingBlocks().
|
inlineprotected |
Definition at line 2011 of file SBK_BarMeterAnimations.h.
References _activeBlockEmissionStopAfter, _currentFunc, _currentQueueIndex, _isRunning, _loadQueueEntry(), _queue, _queueActive, _queueCount, _queueHead, _queueLoop, _queueStart, _queueStoredCount, NO_QUEUE_INDEX, and QUEUE_CAPACITY.
Referenced by skipCurrent(), startQueue(), and update().
|
inlineprotected |
Definition at line 2178 of file SBK_BarMeterAnimations.h.
References _currentTime, _init, _lastUpdate1, and _updateIntv1.
|
inline |
Mark animation as ready to reinitialize in next update cycle.
Definition at line 174 of file SBK_BarMeterAnimations.h.
References _init, and SBK_BarMeterAnimations().
|
inline |
Detect whether animation has completed and is about to loop.
Definition at line 619 of file SBK_BarMeterAnimations.h.
References _isLoopingNow, and _skipPending.
|
inline |
Start a beat pulse animation synchronized to a live BPM value.
| bpmPtr | Pointer to a variable holding the BPM value. |
Definition at line 1365 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _beatPulseLive(), _currentFunc, _init, _isNonInvertingLogicAnim, _isRunning, _maxValue(), _minValue(), _param2, _param3, _param4, _segsNum, _updateIntv1, _usePtr, _valuePtr1, bpmPtr, and SBK_BarMeterAnimations().
|
inline |
Start a beat pulse animation synchronized to a constant BPM.
| bpm | Beats per minute. Default is 116. |
Definition at line 1388 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _beatPulse(), _currentFunc, _init, _isNonInvertingLogicAnim, _isRunning, _maxValue(), _minValue(), _param1, _param2, _param3, _param4, _segsNum, _updateIntv1, _usePtr, _valuePtr1, bpm, and SBK_BarMeterAnimations().
|
inline |
Blink one pixel with equal ON and OFF intervals.
| index | Zero-based logical pixel index. |
| interval | ON and OFF duration in milliseconds. |
| blinkCount | Number of complete blinks, or 0 to blink until stopped. |
Definition at line 707 of file SBK_BarMeterAnimations.h.
References blinkPixel(), and SBK_BarMeterAnimations().
Referenced by blinkPixel().
|
inline |
Blink one pixel with independent ON and OFF intervals.
| index | Zero-based logical pixel index. |
| onInterval | ON duration in milliseconds. |
| offInterval | OFF duration in milliseconds. |
| blinkCount | Number of complete blinks, or 0 to blink until stopped. |
Definition at line 719 of file SBK_BarMeterAnimations.h.
References _blinkPixel(), _currentFunc, _init, _isNonInvertingLogicAnim, _isRunning, _maxValue(), _param1, _param2, _updateIntv1, _updateIntv2, _usePtr, and SBK_BarMeterAnimations().
|
inline |
Start animation that fills/empties (bounces) bar downward.
| duration | Total time in milliseconds for full bounce cycle. |
| maxPercent | Maximum fill percentage fill range. Default is 100. |
| minPercent | Minimum fill percentage fill range. Default is 0. |
| fillIntv | Optional interval override for the fill phase. Default is 0 (auto). |
Definition at line 1095 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _bounceFill(), _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxTracker, _maxValue(), _minTracker, _segsNum, _sequenceState, _updateIntv1, _updateIntv2, _updateIntv3, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Start downward fill/empty (bounce) with live percent range tracking.
| fillIntv | Fill interval in ms. |
| emptyIntv | Empty interval in ms. |
| maxPercentPtr | Pointer to max percent fill range. |
| minPercentPtr | Pointer to min percent fill range. Default is nullptr. |
Definition at line 1132 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _bounceFill(), _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTrackerFromPtr(), _maxValue(), _percentMaxPtr(), _percentMinPtr(), _segsNum, _sequenceState, _updateIntv1, _updateIntv2, _updateIntv3, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Start downwardfill/empty (bounce) with fixed percent range.
| fillIntv | Fill interval in ms. Default is 10. |
| emptyIntv | Empty interval in ms. Default is 10. |
| maxPercent | Maximum fill percent. Default is 100. |
| minPercent | Minimum fill percent. Default is 0. |
Definition at line 1158 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _bounceFill(), _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxValue(), _segsNum, _sequenceState, _updateIntv1, _updateIntv2, _updateIntv3, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Bounce fill from center outward with fixed range.
| duration | Total time in milliseconds for full bounce cycle. |
| maxPercent | Maximum fill percentage fill range. Default is 100. |
| minPercent | Minimum fill percentage fill range. Default is 0. |
| fillIntv | Optional interval override for the fill phase. Default is 0 (auto). |
Definition at line 1184 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _bounceFillHalfRangeMirrorCenter(), _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxTracker, _maxValue(), _minTracker, _mirrorHalfRangeDir, _segsNum, _sequenceState, _updateIntv1, _updateIntv2, _updateIntv3, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Bounce fill from center outward with live percent range tracking.
| fillIntv | Fill interval in ms. |
| emptyIntv | Empty interval in ms. |
| maxPercentPtr | Pointer to max percent fill range. |
| minPercentPtr | Pointer to min percent fill range. Default is nullptr. |
Definition at line 1222 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _bounceFillHalfRangeMirrorCenter(), _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTrackerFromPtr(), _mirrorHalfRangeDir, _segsNum, _sequenceState, _updateIntv1, _updateIntv2, _updateIntv3, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Bounce fill from center outward with fixed range.
| fillIntv | Fill interval in ms. Default is 25. |
| emptyIntv | Empty interval in ms. Default is 25. |
| maxPercent | Maximum range percent to animate. Default is 100. |
| minPercent | Minimum range percent to animate. Default is 0. |
Definition at line 1249 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _bounceFillHalfRangeMirrorCenter(), _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _mirrorHalfRangeDir, _segsNum, _sequenceState, _updateIntv1, _updateIntv2, _updateIntv3, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Bounce fill from both edges inward with fixed range.
| duration | Total time in milliseconds for full bounce cycle. |
| maxPercent | Maximum fill percentage fill range. Default is 100. |
| minPercent | Minimum fill percentage fill range. Default is 0. |
| fillIntv | Optional interval override for the fill phase. Default is 0 (auto). |
Definition at line 1276 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _bounceFillHalfRangeMirrorCenter(), _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxTracker, _maxValue(), _minTracker, _mirrorHalfRangeDir, _segsNum, _sequenceState, _updateIntv1, _updateIntv2, _updateIntv3, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Bounce fill from both edges inward with live percent range tracking.
| fillIntv | Fill interval in ms. |
| emptyIntv | Empty interval in ms. |
| maxPercentPtr | Pointer to max percent fill range. |
| minPercentPtr | Pointer to min percent fill range. Default is nullptr. |
Definition at line 1314 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _bounceFillHalfRangeMirrorCenter(), _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTrackerFromPtr(), _mirrorHalfRangeDir, _segsNum, _sequenceState, _updateIntv1, _updateIntv2, _updateIntv3, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Bounce fill from both edges inward with fix range.
| fillIntv | Fill interval in ms. Default is 25. |
| emptyIntv | Empty interval in ms. Default is 25. |
| maxPercent | Maximum range percent to animate. Default is 100. |
| minPercent | Minimum range percent to animate. Default is 0. |
Definition at line 1341 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _bounceFillHalfRangeMirrorCenter(), _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _mirrorHalfRangeDir, _segsNum, _sequenceState, _updateIntv1, _updateIntv2, _updateIntv3, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Start animation that fills/empties (bounces) bar upward with fixed range.
| duration | Total time in milliseconds for full bounce cycle. |
| maxPercent | Maximum fill percentage (0–100). Default is 100. |
| minPercent | Minimum fill percentage (0–100). Default is 0. |
| fillIntv | Optional fixed interval for the fill phase. Default is 0 (auto). |
Definition at line 1008 of file SBK_BarMeterAnimations.h.
References _animRenderDirIsReversed, _bounceFill(), _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxTracker, _maxValue(), _minTracker, _segsNum, _sequenceState, _updateIntv1, _updateIntv2, _updateIntv3, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Start animation that fills/empties (bounces) bar upward with live range.
| fillIntv | Fill interval in ms. |
| emptyIntv | Empty interval in ms. |
| maxPercentPtr | Pointer to maximum percentage fill range value. |
| minPercentPtr | Pointer to minimum percentage fill range value (optional). Default is nullptr. |
Definition at line 1044 of file SBK_BarMeterAnimations.h.
References _animRenderDirIsReversed, _bounceFill(), _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTrackerFromPtr(), _maxValue(), _percentMaxPtr(), _percentMinPtr(), _segsNum, _sequenceState, _updateIntv1, _updateIntv2, _updateIntv3, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Start animation that fills/empties (bounces) bar upward with fixed range.
| fillIntv | Fill interval in ms. Default is 10. |
| emptyIntv | Empty interval in ms. Default is 10. |
| maxPercent | Max fill percent fill range. Default is 100. |
| minPercent | Min fill percent fill range. Default is 0. |
Definition at line 1069 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _bounceFill(), _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxValue(), _segsNum, _sequenceState, _updateIntv1, _updateIntv2, _updateIntv3, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Discard the queue and disable queue looping without stopping the current animation.
Definition at line 381 of file SBK_BarMeterAnimations.h.
References _currentQueueIndex, _queueActive, _queueCount, _queueHead, _queueLoop, _queueOverflow, _queueStart, _queueStoredCount, _queueTail, NO_QUEUE_INDEX, and SBK_BarMeterAnimations().
Referenced by stop().
|
inline |
Emit mirrored blocks from edge to center.
| intv | Step interval in milliseconds. Default is 50. |
| blockLength | Number of pixels per block. Default is 2. |
| blockSpacing | Space between blocks. Default is 1. |
| numBlocks | Number of blocks to emit (0 = infinite). Default is 0. |
Definition at line 1442 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _isNonInvertingLogicAnim, _isRunning, _maxValue(), _mirrorBlocks(), _param1, _param2, _param3, _param4, _segsNum, _trailingSpacePending, _updateIntv1, _waitTrailingSpace, blockLength, blockSpacing, and SBK_BarMeterAnimations().
|
inline |
Return the physical queue slot currently playing, or NO_QUEUE_INDEX.
Definition at line 430 of file SBK_BarMeterAnimations.h.
References _currentQueueIndex.
|
inline |
Drop blocks from top and stack from bottom up.
| intv | Update interval in milliseconds. Default is 50. |
| blockLength | Number of segments per block. Default is 1. |
| blockSpacing | Space between blocks. Default is 0. |
Definition at line 1523 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _emittingBlocksEnabled, _init, _isNonInvertingLogicAnim, _isRunning, _maxValue(), _param1, _param2, _param3, _param4, _stackingBlocks(), _updateIntv1, blockLength, blockSpacing, and SBK_BarMeterAnimations().
|
inline |
Drop blocks from top and unstack from bottom up.
| intv | Update interval in milliseconds. Default is 50. |
| blockLength | Number of segments per block. Default is 1. |
| blockSpacing | Space between blocks. Default is 0. |
Definition at line 1595 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _emittingBlocksEnabled, _init, _isNonInvertingLogicAnim, _isRunning, _maxValue(), _param1, _param2, _param3, _param4, _stackingBlocks(), _updateIntv1, blockLength, blockSpacing, and SBK_BarMeterAnimations().
|
inline |
Start animation that empties the bar from top to bottom over a duration.
| duration | Total time in milliseconds. |
| maxPercent | Top of the max fill range (0–100). Default is 100. |
| minPercent | Bottom of the min fill range (0–100). Default is 0. |
Definition at line 875 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxTracker, _maxValue(), _minTracker, _segsNum, _usePtr, _valuePtr1, _valuePtr2, emptyDownIntv(), and SBK_BarMeterAnimations().
|
inline |
Start animation that empties the bar from top to bottom at fixed intervals with live range.
| updateIntv | Time between updates in milliseconds. |
| maxPercentPtr | Pointer to maximum fill range percent value (0–100). |
| minPercentPtr | Optional pointer to minimum fill range percent value (0–100). Default is nullptr. |
Definition at line 896 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTrackerFromPtr(), _maxValue(), _percentMaxPtr(), _percentMinPtr(), _segsNum, _updateIntv1, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
Referenced by emptyDownDur().
|
inline |
Start animation that empties the bar from top to bottom at fixed intervals.
| updateIntv | Time between updates in milliseconds. |
| maxPercent | Top of the max fill range (0–100). Default is 100. |
| minPercent | Bottom of the min fill range (0–100). Default is 0. |
Definition at line 918 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxValue(), _segsNum, _updateIntv1, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Start animation that empties the bar from bottom to top over a duration.
| duration | Total animation duration in milliseconds. |
| maxPercent | Top of the fill range (0-100). Default is 100. |
| minPercent | Bottom of the fill range (0-100). Default is 0. |
Definition at line 940 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxTracker, _maxValue(), _minTracker, _segsNum, _updateIntv1, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Start animation that empties the bar from bottom to top at fixed intervals with live range.
| updateIntv | Time between updates in milliseconds. |
| maxPercentPtr | Pointer to top max fill range percent value. |
| minPercentPtr | Pointer to bottom min fill range percent value (optional). Default is nullptr. |
Definition at line 963 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTrackerFromPtr(), _maxValue(), _percentMaxPtr(), _percentMinPtr(), _segsNum, _updateIntv1, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Start animation that empties the bar from bottom to top at fixed intervals.
| updateIntv | Time between updates in milliseconds. |
| maxPercent | Top of the max fill range (0–100). Default is 100. |
| minPercent | Bottom of the min fill range (0–100). Default is 0. |
Definition at line 985 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxValue(), _segsNum, _updateIntv1, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Add the currently configured animation to the fixed-capacity queue.
Configure an animation with any starter and optional modifiers, then call enqueue(). The animation is captured but does not run until startQueue(). If the queue is full, the command is discarded and queueOverflowed() becomes true.
Definition at line 236 of file SBK_BarMeterAnimations.h.
References _animationDuration, _blockEmissionStopAfter, _captureQueueEntry(), _currentFunc, _isRunning, _queue, _queueCount, _queueOverflow, _queueStoredCount, _queueTail, QUEUE_CAPACITY, and SBK_BarMeterAnimations().
|
inline |
Queue the configured animation for a fixed amount of time.
The queue advances immediately after duration milliseconds even if the animation loops or is intrinsically continuous.
| duration | Maximum time this queue entry remains active, in milliseconds. |
Definition at line 267 of file SBK_BarMeterAnimations.h.
References _animationDuration, _blockEmissionStopAfter, _captureQueueEntry(), _currentFunc, _isRunning, _queue, _queueCount, _queueOverflow, _queueStoredCount, _queueTail, QUEUE_CAPACITY, and SBK_BarMeterAnimations().
|
inline |
Queue a state-preserving logic reversal of the preceding entry.
The preceding queued animation is copied, its supported logic is reversed, and its runtime trackers and workspace are preserved at the handoff. Configure looping with loop() or noLoop() before calling this command. Apply forTime() or stopBlockEmissionAfter() separately when timing is needed.
Definition at line 325 of file SBK_BarMeterAnimations.h.
References _loop, _queue, _queueCount, _queueOverflow, _queueStoredCount, _queueTail, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::animInitLogicIsInverted, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::animRenderLogicIsInverted, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::blockEmissionStopAfter, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::duration, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::loop, QUEUE_CAPACITY, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::resetRuntimeState, and SBK_BarMeterAnimations().
|
inline |
Emit mirrored blocks from center outward.
| intv | Step interval in milliseconds. Default is 50. |
| blockLength | Number of pixels per block. Default is 2. |
| blockSpacing | Space between blocks. Default is 1. |
| numBlocks | Number of blocks to emit (0 = infinite). Default is 0. |
Definition at line 1415 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _isNonInvertingLogicAnim, _isRunning, _maxValue(), _mirrorBlocks(), _param1, _param2, _param3, _param4, _segsNum, _trailingSpacePending, _updateIntv1, _waitTrailingSpace, blockLength, blockSpacing, and SBK_BarMeterAnimations().
|
inline |
Start animation that fills the bar downwards over a specified duration.
| duration | Total time in milliseconds. |
| maxPercent | Top of the max fill range (0–100). Default is 100. |
| minPercent | Bottom of the min fill range (0–100). Default is 0. |
Definition at line 807 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxTracker, _maxValue(), _minTracker, _segsNum, _updateIntv1, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Start animation that fills the bar downwards at a fixed interval with live percent tracking.
| updateIntv | Time between updates in milliseconds. |
| maxPercentPtr | Pointer to maximum fill range percent value (0–100). |
| minPercentPtr | Optional pointer to minimum fill range percent value (0–100). Default is nullptr. |
Definition at line 830 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTrackerFromPtr(), _maxTracker, _maxValue(), _minTracker, _percentMaxPtr(), _percentMinPtr(), _segsNum, _updateIntv1, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Start animation that fills the bar downwards at a fixed interval.
| updateIntv | Time between updates in milliseconds. |
| maxPercent | Top of the max fill range (0–100). Default is 100. |
| minPercent | Bottom of the min fill range (0–100). Default is 0. |
Definition at line 853 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxValue(), _segsNum, _updateIntv1, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Start animation that fills the bar upwards over a specified duration.
| duration | Total time in milliseconds. |
| maxPercent | Top of the max fill range (0–100). Default is 100. |
| minPercent | Bottom of the min fill range (0–100). Default is 0. |
Definition at line 740 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxTracker, _maxValue(), _minTracker, _segsNum, _updateIntv1, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Start animation that fills the bar upwards at a fixed interval with live percent tracking.
| updateIntv | Time between updates in milliseconds. |
| maxPercentPtr | Pointer to maximum fill range percent value (0–100). |
| minPercentPtr | Optional pointer to minimum fill range percent value (0–100). Default is nullptr. |
Definition at line 763 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTrackerFromPtr(), _maxValue(), _percentMaxPtr(), _percentMinPtr(), _segsNum, _updateIntv1, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Start animation that fills the bar upwards at a fixed interval.
| updateIntv | Time between updates in milliseconds. |
| maxPercent | Top of the max fill range (0–100). Default is 100. |
| minPercent | Bottom of the min fill range (0–100). Default is 0. |
Definition at line 785 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxValue(), _segsNum, _updateIntv1, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Smoothly fills the lower half and upper half of the bar meter independently from center, based on two signal levels.
| sig1Ptr | Pointer to analog signal 1 for the bottom half (center to bottom). |
| updateIntv | Update interval in milliseconds. Default is 100. |
| sig2Ptr | Pointer to signal2 for top half (center to top). Default nullptr, signal 1 will be mirrored. |
| minMap | Minimum raw value to map. Default 0. |
| maxMap | Maximum raw value to map. Default 1023. |
| smoothingFactor | Smoothing strength 0–100. Default is 30. |
| samplingIntv | signal sampling rate. Default is 5. |
Definition at line 1683 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _correctSwapOrEqualMinMax(), _currentFunc, _followDualSignalCenterMirror(), _init, _isNonInvertingLogicAnim, _isRunning, _maxMap, _maxValue(), _minMap, _param1, _updateIntv1, _updateIntv2, _valuePtr1, _valuePtr2, SBK_BarMeterAnimations(), and smoothingFactor.
|
inline |
Smoothly fills the lower half and upper half of the bar meter independently from center, based on two signal levels.
| sig1Ptr | Pointer to signal 1 for the bottom half (bottom edge to center). |
| updateIntv | Update interval in milliseconds. Default is 100. |
| sig2Ptr | Pointer to signal 2 for the top half (top edge to center). Default nullptr mirrors signal 1. |
| minMap | Minimum raw value to map. Default 0. |
| maxMap | Maximum raw value to map. Default 1023. |
| smoothingFactor | Smoothing strength 0–100. Default is 30. |
| samplingIntv | signal sampling rate. Default is 5. |
Definition at line 1716 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _correctSwapOrEqualMinMax(), _currentFunc, _followDualSignalCenterMirror(), _init, _isNonInvertingLogicAnim, _isRunning, _maxMap, _maxValue(), _minMap, _param1, _updateIntv1, _updateIntv2, _valuePtr1, _valuePtr2, SBK_BarMeterAnimations(), and smoothingFactor.
|
inline |
Follow an analog signal with smoothing and floating peak indicator.
This animation fills the bar based on a smoothed analog input value and displays a peak marker that holds momentarily before decaying.
| sigPtr | Pointer to the analog signal value (e.g., from analogRead()). |
| peakHoldTime | Duration (in ms) to hold the peak before it begins to decay. |
| updateIntv | Bar update interval in milliseconds. Default is 100 ms. |
| minMap | Minimum expected raw signal value. Default is 0. |
| maxMap | Maximum expected raw signal value. Default is 1023. |
| smoothingFactor | Signal smoothing strength (0–100). Higher = smoother. Default is 30. |
| samplingIntv | Signal sampling interval in milliseconds. Default is 5 ms. |
Definition at line 1752 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _correctSwapOrEqualMinMax(), _currentFunc, _followSignalFloatingPeak(), _init, _isNonInvertingLogicAnim, _isRunning, _maxMap, _maxValue(), _minMap, _param1, _updateIntv1, _updateIntv2, _updateIntv3, _valuePtr1, peakHoldTime, SBK_BarMeterAnimations(), and smoothingFactor.
|
inline |
Follow analog signal with smoothing for fill animation.
| sigPtr | Pointer to analog signal. |
| updateIntv | Update interval in milliseconds. Default is 100. |
| minMap | Minimum input value. Default is 0. |
| maxMap | Maximum input value. Default is 1023. |
| smoothingFactor | Smoothing strength 0–100. Default is 30. |
| samplingIntv | signal sampling rate. Default is 5. |
Definition at line 1622 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _correctSwapOrEqualMinMax(), _currentFunc, _followSignalSmooth(), _init, _isNonInvertingLogicAnim, _isRunning, _maxMap, _maxValue(), _minMap, _param1, _updateIntv1, _updateIntv2, _valuePtr1, SBK_BarMeterAnimations(), and smoothingFactor.
|
inline |
Follow signal with smoothing and display a pointer.
| sigPtr | Pointer to analog signal. |
| updateIntv | Update interval in milliseconds. Default is 100. |
| minMap | Minimum input value. Default is 0. |
| maxMap | Maximum input value. Default is 1023. |
| smoothingFactor | Smoothing strength 0–100. Default is 30. |
| samplingIntv | signal sampling rate. Default is 5. |
Definition at line 1652 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _correctSwapOrEqualMinMax(), _currentFunc, _followSignalWithPointer(), _init, _isNonInvertingLogicAnim, _isRunning, _maxMap, _maxValue(), _minMap, _param1, _updateIntv1, _updateIntv2, _valuePtr1, SBK_BarMeterAnimations(), and smoothingFactor.
|
inline |
Limit a direct or queued animation to a maximum run time.
After a direct animation starter, this schedules the active animation. When called after an enqueue operation, it modifies the most recently queued entry. A queued animation advances immediately when the deadline expires; a direct animation stops while preserving its displayed pixels.
| duration | Maximum animation run time in milliseconds; zero disables it. |
Definition at line 300 of file SBK_BarMeterAnimations.h.
References _animationDuration, _currentFunc, _queue, _queueCount, _queueEntryDuration, _queueEntryTimingPending, _queueTail, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::duration, QUEUE_CAPACITY, and SBK_BarMeterAnimations().
|
inline |
Reverse logic compared to initial state Logic refer to behavior, example : fill/empty, exploding/colliding, etc.
Some animations do not support logic inversion; this function has no effect on them.
Definition at line 521 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animLogicSet, _animRenderLogicIsInverted, _isNonInvertingLogicAnim, and SBK_BarMeterAnimations().
|
inline |
Query if block emission is enabled.
Definition at line 656 of file SBK_BarMeterAnimations.h.
References _emittingBlocksEnabled.
|
inline |
Returns true if direction is reversed compared to the original.
Definition at line 647 of file SBK_BarMeterAnimations.h.
References _AnimInitDirIsReversed, and _animRenderDirIsReversed.
|
inline |
Returns true if current logic is different from original logic.
Definition at line 635 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, and _animRenderLogicIsInverted.
|
inline |
Query if animation loop is enabled.
Definition at line 609 of file SBK_BarMeterAnimations.h.
References _loop.
|
inline |
Return true if the current animation does not support logic inversion.
Definition at line 644 of file SBK_BarMeterAnimations.h.
References _isNonInvertingLogicAnim.
|
inline |
Query if animation is paused.
Definition at line 606 of file SBK_BarMeterAnimations.h.
References _isPaused.
|
inline |
Return true when the requested physical queue slot is currently playing.
Definition at line 433 of file SBK_BarMeterAnimations.h.
References _currentQueueIndex, and _queueActive.
|
inline |
Return true while an animation queue is being processed.
Definition at line 427 of file SBK_BarMeterAnimations.h.
References _queueActive.
|
inline |
Query if animation is currently active.
Definition at line 603 of file SBK_BarMeterAnimations.h.
References _isRunning.
|
inline |
Set animation to automatically loop when complete.
Definition at line 442 of file SBK_BarMeterAnimations.h.
References _currentFunc, _loop, _wait(), and SBK_BarMeterAnimations().
|
inline |
Repeat the entire queue after its final entry completes.
Definition at line 354 of file SBK_BarMeterAnimations.h.
References _queueLoop, and SBK_BarMeterAnimations().
|
inline |
Disable auto-looping.
Animation will stop when complete.
Definition at line 451 of file SBK_BarMeterAnimations.h.
References _loop, and SBK_BarMeterAnimations().
|
inline |
Disable repetition; finish the current queue pass before stopping.
Definition at line 361 of file SBK_BarMeterAnimations.h.
References _queueLoop, and SBK_BarMeterAnimations().
|
inline |
Freeze animation progression and all queue/animation timers.
| syncTime | Use the same clock as update(); defaults to millis(). |
Definition at line 184 of file SBK_BarMeterAnimations.h.
References _isPaused, _pausedAt, and SBK_BarMeterAnimations().
|
inline |
Return the number of animations waiting behind the active one.
Definition at line 424 of file SBK_BarMeterAnimations.h.
References _queueCount.
|
inline |
Return true if an enqueue operation exceeded the configured capacity.
Definition at line 439 of file SBK_BarMeterAnimations.h.
References _queueOverflow.
|
inline |
Randomly turn off pixels until the bar is empty.
| interval | Update interval in milliseconds. Default is 30. |
Definition at line 1796 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _init, _isNonInvertingLogicAnim, _isRunning, _randomPixelUpdater(), _updateIntv1, and SBK_BarMeterAnimations().
|
inline |
Randomly light up pixels until the bar is full.
| interval | Update interval in milliseconds. Default is 30. |
Definition at line 1778 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _init, _isNonInvertingLogicAnim, _isRunning, _randomPixelUpdater(), _updateIntv1, and SBK_BarMeterAnimations().
|
inline |
Reset direction to the original setting.
Definition at line 482 of file SBK_BarMeterAnimations.h.
References _animDirSet, _AnimInitDirIsReversed, _animRenderDirIsReversed, and SBK_BarMeterAnimations().
|
inline |
Reset logic to initial (default) value.
Logic refer to behavior, example : fill/empty, exploding/colliding, etc. Some animations do not support logic inversion; this function has no effect on them.
Definition at line 535 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animLogicSet, _animRenderLogicIsInverted, _isNonInvertingLogicAnim, and SBK_BarMeterAnimations().
|
inline |
Resume with the same playback time remaining as when paused.
| syncTime | Use the same clock as update(); defaults to millis(). |
Definition at line 198 of file SBK_BarMeterAnimations.h.
References _isPaused, _pausedAt, _pausedTime, and SBK_BarMeterAnimations().
Referenced by _loadQueueEntry(), skipCurrent(), and stop().
|
inline |
Resume emitting new blocks during compatible block animations.
Definition at line 552 of file SBK_BarMeterAnimations.h.
References _emittingBlocksEnabled, and SBK_BarMeterAnimations().
|
inline |
Reverse the rendering direction compared to the original one.
Definition at line 474 of file SBK_BarMeterAnimations.h.
References _animDirSet, _AnimInitDirIsReversed, _animRenderDirIsReversed, and SBK_BarMeterAnimations().
|
inline |
Scroll blocks downward.
| intv | Update interval in ms. Default is 50. |
| blockLength | Block length in segments. Default is 2. |
| blockSpacing | Space between blocks. Default is 1. |
| numBlocks | Number of blocks to show. 0 = infinite. Default is 0. |
Definition at line 1497 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _isNonInvertingLogicAnim, _isRunning, _maxValue(), _param1, _param2, _param3, _param4, _scrollingBlocks(), _segsNum, _trailingSpacePending, _updateIntv1, _waitTrailingSpace, blockLength, blockSpacing, and SBK_BarMeterAnimations().
|
inline |
Scroll blocks upward.
| intv | Update interval in ms. Default is 50. |
| blockLength | Block length in segments. Default is 2. |
| blockSpacing | Space between blocks. Default is 1. |
| numBlocks | Number of blocks to show. 0 = infinite. Default is 0. |
Definition at line 1470 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _isNonInvertingLogicAnim, _isRunning, _maxValue(), _param1, _param2, _param3, _param4, _scrollingBlocks(), _segsNum, _trailingSpacePending, _updateIntv1, _waitTrailingSpace, blockLength, blockSpacing, and SBK_BarMeterAnimations().
|
inline |
Set all pixels to the specified state.
| onff | Desired pixel state: true = on, false = off. |
Definition at line 663 of file SBK_BarMeterAnimations.h.
References SBK_BarMeterAnimations(), setAllOff(), and setAllOn().
|
inline |
Set all pixels OFF.
Definition at line 679 of file SBK_BarMeterAnimations.h.
References _currentFunc, _init, _isRunning, _setAllOff(), and SBK_BarMeterAnimations().
Referenced by setAll().
|
inline |
Set all pixels ON.
Definition at line 668 of file SBK_BarMeterAnimations.h.
References _currentFunc, _init, _isRunning, _setAllOn(), and SBK_BarMeterAnimations().
Referenced by setAll().
|
inline |
Explicitly set the animation rendering direction.
Definition at line 458 of file SBK_BarMeterAnimations.h.
References _animDirSet, _animRenderDirIsReversed, and SBK_BarMeterAnimations().
|
inline |
Set rendering logic (true = inverted logic, false = normal logic), example fill logic become empty logic.
Logic refer to behavior, example : fill/empty, exploding/colliding, etc.
Definition at line 493 of file SBK_BarMeterAnimations.h.
References _animLogicSet, _animRenderLogicIsInverted, _isNonInvertingLogicAnim, and SBK_BarMeterAnimations().
|
inline |
Set the total number of segments the animation logic should handle.
Typically called automatically from SBK_BarDrive.
| n | Number of segments in the bar. |
Definition at line 82 of file SBK_BarMeterAnimations.h.
References _maxTracker, _minValue(), _segmentCapacity, and _segsNum.
|
inline |
Change the primary update interval without restarting the animation.
Definition at line 612 of file SBK_BarMeterAnimations.h.
References _maxValue(), _updateIntv1, and SBK_BarMeterAnimations().
|
inline |
Abandon the active animation and immediately start the next queue entry.
Unlike stop(), this preserves pending queue entries. If no entry remains, the active animation and queue are stopped cleanly.
Definition at line 401 of file SBK_BarMeterAnimations.h.
References _currentFunc, _currentQueueIndex, _isLoopingNow, _isRunning, _loop, _queueActive, _skipPending, _startNextQueuedAnimation(), NO_QUEUE_INDEX, resume(), and SBK_BarMeterAnimations().
|
inline |
Start queued playback using the current queue-loop setting.
Definition at line 368 of file SBK_BarMeterAnimations.h.
References _queueActive, _queueCount, _queueHead, _queueStart, _startNextQueuedAnimation(), and SBK_BarMeterAnimations().
|
inline |
Terminate the animation, loop, and queue, then clear mapped pixels.
Definition at line 209 of file SBK_BarMeterAnimations.h.
References _activeBlockEmissionStopAfter, _animationDuration, _animLogicSet, _barMeter, _blockEmissionStopAfter, _currentFunc, _init, _isLoopingNow, _isRunning, _loop, _queueEntryDuration, _skipPending, clearQueue(), resume(), and SBK_BarMeterAnimations().
|
inline |
Stop emitting new blocks during compatible block animations.
Definition at line 545 of file SBK_BarMeterAnimations.h.
References _emittingBlocksEnabled, and SBK_BarMeterAnimations().
|
inline |
Stop new block emission after an animation has run for a duration.
After a direct animation starter, this schedules the active animation. When called after an enqueue operation, it modifies the most recently queued entry. Compatible mirrored and scrolling block animations keep updating until their active blocks leave the display. This has no effect on other animation types.
| duration | Time in milliseconds before new block emission stops. |
Definition at line 568 of file SBK_BarMeterAnimations.h.
References _activeBlockEmissionStopAfter, _blockEmissionStopAfter, _currentFunc, _queue, _queueCount, _queueEntryTimingPending, _queueTail, SBK_BarMeterAnimations< BarMeterT >::QueueEntry::blockEmissionStopAfter, QUEUE_CAPACITY, and SBK_BarMeterAnimations().
|
inline |
Toggle the current animation rendering direction.
Definition at line 466 of file SBK_BarMeterAnimations.h.
References _animDirSet, _animRenderDirIsReversed, and SBK_BarMeterAnimations().
|
inline |
Toggle rendering logic (inverted vs normal), example fill logic become empty logic.
Logic refer to behavior, example : fill/empty, exploding/colliding, etc. Some animations do not support logic inversion; this function has no effect on them.
Definition at line 507 of file SBK_BarMeterAnimations.h.
References _animLogicSet, _animRenderLogicIsInverted, _isNonInvertingLogicAnim, and SBK_BarMeterAnimations().
|
inline |
Advance the animation logic based on the current millis().
| syncTime | Optional timestamp to synchronize animation. |
Definition at line 93 of file SBK_BarMeterAnimations.h.
References _activeBlockEmissionStopAfter, _currentFunc, _currentQueueIndex, _currentTime, _emittingBlocksEnabled, _init, _isLoopingNow, _isPaused, _isRunning, _loop, _mirrorBlocks(), _pausedTime, _queueActive, _queueEntryDuration, _queueEntryStartedAt, _queueEntryTimingPending, _scrollingBlocks(), _skipPending, _startNextQueuedAnimation(), and NO_QUEUE_INDEX.
|
inline |
Launch blocks from bottom and stack at the top.
| intv | Update interval in milliseconds. Default is 50. |
| blockLength | Number of segments per block. Default is 1. |
| blockSpacing | Space between blocks. Default is 0. |
Definition at line 1571 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _emittingBlocksEnabled, _init, _isNonInvertingLogicAnim, _isRunning, _maxValue(), _param1, _param2, _param3, _param4, _stackingBlocks(), _updateIntv1, blockLength, blockSpacing, and SBK_BarMeterAnimations().
|
inline |
Launch blocks upward and unstack from top.
| intv | Update interval in milliseconds. Default is 50. |
| blockLength | Number of segments per block. Default is 1. |
| blockSpacing | Space between blocks. Default is 0. |
Definition at line 1547 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _emittingBlocksEnabled, _init, _isNonInvertingLogicAnim, _isRunning, _maxValue(), _param1, _param2, _param3, _param4, _stackingBlocks(), _updateIntv1, blockLength, blockSpacing, and SBK_BarMeterAnimations().
|
inline |
Wait without blocking or changing pixel states; waits never loop.
| duration | Wait duration in milliseconds. |
Definition at line 691 of file SBK_BarMeterAnimations.h.
References _currentFunc, _init, _isRunning, _loop, _updateIntv1, _wait(), and SBK_BarMeterAnimations().
|
inline |
Optionally wait one block spacing after the final block clears.
Applies to mirrored and scrolling blocks. Call after the animation starter (each starter defaults to false), before enqueue(), or after enqueue() to modify that entry. Reverse entries inherit the setting. The pause-aware delay is blockSpacing * the current update interval; forTime() still wins.
Definition at line 593 of file SBK_BarMeterAnimations.h.
References _currentFunc, _queue, _queueCount, _queueTail, _waitTrailingSpace, QUEUE_CAPACITY, SBK_BarMeterAnimations(), and waitTrailingSpace().
Referenced by waitTrailingSpace().
|
protected |
Definition at line 1855 of file SBK_BarMeterAnimations.h.
Referenced by _loadQueueEntry(), _startNextQueuedAnimation(), stop(), stopBlockEmissionAfter(), and update().
|
protected |
Definition at line 1878 of file SBK_BarMeterAnimations.h.
Referenced by enqueue(), enqueueFor(), forTime(), and stop().
|
protected |
Definition at line 1908 of file SBK_BarMeterAnimations.h.
Referenced by _blocksComplete(), _calculateSwitchedEmitTickCounter(), _emitBlock(), _initializeStorage(), _mirrorBlocks(), _randomOrder(), _resetBlocks(), _scrollingBlocks(), _stackingBlocks(), and ~SBK_BarMeterAnimations().
|
protected |
Definition at line 1873 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _loadQueueEntry(), resetDir(), reverseDir(), setDir(), and toggleDir().
|
protected |
Definition at line 1872 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _loadQueueEntry(), isDirectionReversed(), resetDir(), and reverseDir().
|
protected |
Definition at line 1864 of file SBK_BarMeterAnimations.h.
Referenced by _beatPulse(), _bounceFill(), _bounceFillHalfRangeMirrorCenter(), _captureQueueEntry(), _fillFromOrEmptyToCenter(), _fillOrEmpty(), _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _loadQueueEntry(), _mirrorBlocks(), _randomPixelUpdater(), _scrollingBlocks(), _stackingBlocks(), beatPulse(), beatPulse(), bounceFillDownDur(), bounceFillDownIntv(), bounceFillDownIntv(), bounceFillFromCenterDur(), bounceFillFromCenterIntv(), bounceFillFromCenterIntv(), bounceFillFromEdgesDur(), bounceFillFromEdgesIntv(), bounceFillFromEdgesIntv(), bounceFillUpIntv(), collidingBlocks(), downStackingBlocks(), downUnstackingBlocks(), emptyDownDur(), emptyDownIntv(), emptyDownIntv(), emptyUpDur(), emptyUpIntv(), emptyUpIntv(), explodingBlocks(), fillDownDur(), fillDownIntv(), fillDownIntv(), fillUpDur(), fillUpIntv(), fillUpIntv(), followDualSignalFromCenter(), followDualSignalFromEdges(), followSignalFloatingPeak(), followSignalSmooth(), followSignalWithPointer(), invertLogic(), isLogicInverted(), randomEmpty(), randomFill(), resetLogic(), scrollingDownBlocks(), scrollingUpBlocks(), upStackingBlocks(), and upUnstackingBlocks().
|
protected |
Definition at line 1869 of file SBK_BarMeterAnimations.h.
Referenced by _beatPulse(), _captureQueueEntry(), _fillFromOrEmptyToCenter(), _fillOrEmpty(), _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _loadQueueEntry(), _mirrorBlocks(), _randomPixelUpdater(), _scrollingBlocks(), _stackingBlocks(), invertLogic(), resetLogic(), setLogic(), stop(), and toggleLogic().
|
protected |
Definition at line 1871 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _corrPixelToDir(), _loadQueueEntry(), beatPulse(), beatPulse(), bounceFillDownDur(), bounceFillDownIntv(), bounceFillDownIntv(), bounceFillFromCenterDur(), bounceFillFromCenterIntv(), bounceFillFromCenterIntv(), bounceFillFromEdgesDur(), bounceFillFromEdgesIntv(), bounceFillFromEdgesIntv(), bounceFillUpDur(), bounceFillUpIntv(), bounceFillUpIntv(), collidingBlocks(), downStackingBlocks(), downUnstackingBlocks(), emptyDownDur(), emptyDownIntv(), emptyDownIntv(), emptyUpDur(), emptyUpIntv(), emptyUpIntv(), explodingBlocks(), fillDownDur(), fillDownIntv(), fillDownIntv(), fillUpDur(), fillUpIntv(), fillUpIntv(), followDualSignalFromCenter(), followDualSignalFromEdges(), followSignalFloatingPeak(), followSignalSmooth(), followSignalWithPointer(), isDirectionReversed(), randomEmpty(), randomFill(), resetDir(), reverseDir(), scrollingDownBlocks(), scrollingUpBlocks(), setDir(), toggleDir(), upStackingBlocks(), and upUnstackingBlocks().
|
protected |
Definition at line 1865 of file SBK_BarMeterAnimations.h.
Referenced by _beatPulse(), _bounceFill(), _bounceFillHalfRangeMirrorCenter(), _captureQueueEntry(), _fillFromOrEmptyToCenter(), _fillOrEmpty(), _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _loadQueueEntry(), _mirrorBlocks(), _randomPixelUpdater(), _scrollingBlocks(), _stackingBlocks(), invertLogic(), isLogicInverted(), resetLogic(), setLogic(), and toggleLogic().
|
protected |
Definition at line 1810 of file SBK_BarMeterAnimations.h.
Referenced by _beatPulse(), _blinkPixel(), _fillFromOrEmptyToCenter(), _fillOrEmpty(), _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _initializeStorage(), _mirrorBlocks(), _randomPixelUpdater(), _scrollingBlocks(), _setAllOff(), _setAllOn(), _stackingBlocks(), SBK_BarMeterAnimations(), and stop().
|
protected |
Definition at line 1910 of file SBK_BarMeterAnimations.h.
Referenced by _initializeStorage(), and _resetBlocks().
|
protected |
Definition at line 1879 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), enqueue(), enqueueFor(), stop(), and stopBlockEmissionAfter().
|
protected |
Definition at line 1897 of file SBK_BarMeterAnimations.h.
Referenced by _blinkPixel(), and _loadQueueEntry().
|
protected |
Definition at line 1897 of file SBK_BarMeterAnimations.h.
Referenced by _loadQueueEntry().
|
protected |
Definition at line 1815 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _loadQueueEntry(), _startNextQueuedAnimation(), beatPulse(), beatPulse(), blinkPixel(), bounceFillDownDur(), bounceFillDownIntv(), bounceFillDownIntv(), bounceFillFromCenterDur(), bounceFillFromCenterIntv(), bounceFillFromCenterIntv(), bounceFillFromEdgesDur(), bounceFillFromEdgesIntv(), bounceFillFromEdgesIntv(), bounceFillUpDur(), bounceFillUpIntv(), bounceFillUpIntv(), collidingBlocks(), downStackingBlocks(), downUnstackingBlocks(), emptyDownIntv(), emptyDownIntv(), emptyUpDur(), emptyUpIntv(), emptyUpIntv(), enqueue(), enqueueFor(), explodingBlocks(), fillDownDur(), fillDownIntv(), fillDownIntv(), fillUpDur(), fillUpIntv(), fillUpIntv(), followDualSignalFromCenter(), followDualSignalFromEdges(), followSignalFloatingPeak(), followSignalSmooth(), followSignalWithPointer(), forTime(), loop(), randomEmpty(), randomFill(), scrollingDownBlocks(), scrollingUpBlocks(), setAllOff(), setAllOn(), skipCurrent(), stop(), stopBlockEmissionAfter(), update(), upStackingBlocks(), upUnstackingBlocks(), wait(), and waitTrailingSpace().
|
protected |
Definition at line 1850 of file SBK_BarMeterAnimations.h.
Referenced by _startNextQueuedAnimation(), clearQueue(), currentQueueIndex(), isQueueIndexPlaying(), skipCurrent(), and update().
|
protected |
Definition at line 1882 of file SBK_BarMeterAnimations.h.
Referenced by _beatPulse(), _blinkPixel(), _blocksComplete(), _fillFromOrEmptyToCenter(), _fillOrEmpty(), _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _loadQueueEntry(), _mirrorBlocks(), _randomPixelUpdater(), _scrollingBlocks(), _stackingBlocks(), _wait(), and update().
|
protected |
Definition at line 1875 of file SBK_BarMeterAnimations.h.
Referenced by _blocksComplete(), _captureQueueEntry(), _loadQueueEntry(), _mirrorBlocks(), _scrollingBlocks(), downStackingBlocks(), downUnstackingBlocks(), isBlockEmissionEnabled(), resumeBlockEmission(), stopBlockEmission(), update(), upStackingBlocks(), and upUnstackingBlocks().
|
protected |
Definition at line 1859 of file SBK_BarMeterAnimations.h.
Referenced by _beatPulse(), _blinkPixel(), _fillFromOrEmptyToCenter(), _fillOrEmpty(), _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _loadQueueEntry(), _mirrorBlocks(), _randomPixelUpdater(), _scrollingBlocks(), _setAllOff(), _setAllOn(), _stackingBlocks(), _wait(), animInit(), beatPulse(), beatPulse(), blinkPixel(), downStackingBlocks(), downUnstackingBlocks(), followDualSignalFromCenter(), followDualSignalFromEdges(), followSignalFloatingPeak(), followSignalSmooth(), followSignalWithPointer(), randomEmpty(), randomFill(), setAllOff(), setAllOn(), stop(), update(), upStackingBlocks(), upUnstackingBlocks(), and wait().
|
protected |
Definition at line 1863 of file SBK_BarMeterAnimations.h.
Referenced by _loadQueueEntry(), animPendingLoop(), skipCurrent(), stop(), and update().
|
protected |
Definition at line 1867 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _loadQueueEntry(), beatPulse(), beatPulse(), blinkPixel(), bounceFillDownDur(), bounceFillDownIntv(), bounceFillDownIntv(), bounceFillFromCenterDur(), bounceFillFromCenterIntv(), bounceFillFromCenterIntv(), bounceFillFromEdgesDur(), bounceFillFromEdgesIntv(), bounceFillFromEdgesIntv(), bounceFillUpDur(), bounceFillUpIntv(), bounceFillUpIntv(), collidingBlocks(), downStackingBlocks(), downUnstackingBlocks(), emptyDownDur(), emptyDownIntv(), emptyDownIntv(), emptyUpDur(), emptyUpIntv(), emptyUpIntv(), explodingBlocks(), fillDownDur(), fillDownIntv(), fillDownIntv(), fillUpDur(), fillUpIntv(), fillUpIntv(), followDualSignalFromCenter(), followDualSignalFromEdges(), followSignalFloatingPeak(), followSignalSmooth(), followSignalWithPointer(), invertLogic(), isNonInvertingLogicAnim(), randomEmpty(), randomFill(), resetLogic(), scrollingDownBlocks(), scrollingUpBlocks(), setLogic(), toggleLogic(), upStackingBlocks(), and upUnstackingBlocks().
|
protected |
Definition at line 1861 of file SBK_BarMeterAnimations.h.
Referenced by isPaused(), pause(), resume(), and update().
|
protected |
Definition at line 1860 of file SBK_BarMeterAnimations.h.
Referenced by _loadQueueEntry(), _startNextQueuedAnimation(), beatPulse(), beatPulse(), blinkPixel(), bounceFillDownDur(), bounceFillDownIntv(), bounceFillDownIntv(), bounceFillFromCenterDur(), bounceFillFromCenterIntv(), bounceFillFromCenterIntv(), bounceFillFromEdgesDur(), bounceFillFromEdgesIntv(), bounceFillFromEdgesIntv(), bounceFillUpDur(), bounceFillUpIntv(), bounceFillUpIntv(), collidingBlocks(), downStackingBlocks(), downUnstackingBlocks(), emptyDownDur(), emptyDownIntv(), emptyDownIntv(), emptyUpDur(), emptyUpIntv(), emptyUpIntv(), enqueue(), enqueueFor(), explodingBlocks(), fillDownDur(), fillDownIntv(), fillDownIntv(), fillUpDur(), fillUpIntv(), fillUpIntv(), followDualSignalFromCenter(), followDualSignalFromEdges(), followSignalFloatingPeak(), followSignalSmooth(), followSignalWithPointer(), isRunning(), randomEmpty(), randomFill(), scrollingDownBlocks(), scrollingUpBlocks(), setAllOff(), setAllOn(), skipCurrent(), stop(), update(), upStackingBlocks(), upUnstackingBlocks(), and wait().
|
protected |
Definition at line 1885 of file SBK_BarMeterAnimations.h.
Referenced by _blinkPixel(), _fillFromOrEmptyToCenter(), _fillOrEmpty(), _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _loadQueueEntry(), _mirrorBlocks(), _randomPixelUpdater(), _scrollingBlocks(), _stackingBlocks(), and _wait().
|
protected |
Definition at line 1885 of file SBK_BarMeterAnimations.h.
Referenced by _blocksComplete(), _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), and _loadQueueEntry().
|
protected |
Definition at line 1885 of file SBK_BarMeterAnimations.h.
Referenced by _loadQueueEntry().
|
protected |
Definition at line 1892 of file SBK_BarMeterAnimations.h.
Referenced by _fillFromOrEmptyToCenter(), _fillOrEmpty(), and _loadQueueEntry().
|
protected |
Definition at line 1892 of file SBK_BarMeterAnimations.h.
Referenced by _loadQueueEntry().
|
protected |
Definition at line 1892 of file SBK_BarMeterAnimations.h.
Referenced by _loadQueueEntry().
|
protected |
Definition at line 1862 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _loadQueueEntry(), enqueueReverseAnim(), isLoopEnabled(), loop(), noLoop(), skipCurrent(), stop(), update(), and wait().
|
protected |
Definition at line 1896 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _loadQueueEntry(), followDualSignalFromCenter(), followDualSignalFromEdges(), followSignalFloatingPeak(), followSignalSmooth(), and followSignalWithPointer().
|
protected |
Definition at line 1893 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _fillFromOrEmptyToCenter(), _fillOrEmpty(), _initializeStorage(), _loadQueueEntry(), _mapMinMaxTracker(), _mapMinMaxTrackerFromPtr(), bounceFillDownDur(), bounceFillFromCenterDur(), bounceFillFromEdgesDur(), bounceFillUpDur(), emptyDownDur(), emptyUpDur(), fillDownDur(), fillDownIntv(), fillUpDur(), and setSegsNum().
|
protected |
Definition at line 1896 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _loadQueueEntry(), followDualSignalFromCenter(), followDualSignalFromEdges(), followSignalFloatingPeak(), followSignalSmooth(), and followSignalWithPointer().
|
protected |
Definition at line 1893 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _fillFromOrEmptyToCenter(), _fillOrEmpty(), _loadQueueEntry(), _mapMinMaxTracker(), _mapMinMaxTrackerFromPtr(), bounceFillDownDur(), bounceFillFromCenterDur(), bounceFillFromEdgesDur(), bounceFillUpDur(), emptyDownDur(), emptyUpDur(), fillDownDur(), fillDownIntv(), and fillUpDur().
|
protected |
Definition at line 1868 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _corrPixelToDirForHalfRange(), _followDualSignalCenterMirror(), _loadQueueEntry(), bounceFillFromCenterDur(), bounceFillFromCenterIntv(), bounceFillFromCenterIntv(), bounceFillFromEdgesDur(), bounceFillFromEdgesIntv(), and bounceFillFromEdgesIntv().
|
protected |
Definition at line 1894 of file SBK_BarMeterAnimations.h.
Referenced by _blinkPixel(), _captureQueueEntry(), _loadQueueEntry(), beatPulse(), blinkPixel(), collidingBlocks(), downStackingBlocks(), downUnstackingBlocks(), explodingBlocks(), followDualSignalFromCenter(), followDualSignalFromEdges(), followSignalFloatingPeak(), followSignalSmooth(), followSignalWithPointer(), scrollingDownBlocks(), scrollingUpBlocks(), upStackingBlocks(), and upUnstackingBlocks().
|
protected |
Definition at line 1894 of file SBK_BarMeterAnimations.h.
Referenced by _blinkPixel(), _captureQueueEntry(), _loadQueueEntry(), beatPulse(), beatPulse(), blinkPixel(), collidingBlocks(), downStackingBlocks(), downUnstackingBlocks(), explodingBlocks(), scrollingDownBlocks(), scrollingUpBlocks(), upStackingBlocks(), and upUnstackingBlocks().
|
protected |
Definition at line 1894 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _loadQueueEntry(), beatPulse(), beatPulse(), collidingBlocks(), downStackingBlocks(), downUnstackingBlocks(), explodingBlocks(), scrollingDownBlocks(), scrollingUpBlocks(), upStackingBlocks(), and upUnstackingBlocks().
|
protected |
Definition at line 1894 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _loadQueueEntry(), beatPulse(), beatPulse(), collidingBlocks(), downStackingBlocks(), downUnstackingBlocks(), explodingBlocks(), scrollingDownBlocks(), scrollingUpBlocks(), upStackingBlocks(), and upUnstackingBlocks().
|
protected |
Definition at line 1894 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), and _loadQueueEntry().
|
protected |
Definition at line 1883 of file SBK_BarMeterAnimations.h.
|
protected |
Definition at line 1884 of file SBK_BarMeterAnimations.h.
|
protected |
Definition at line 1866 of file SBK_BarMeterAnimations.h.
Referenced by _beatPulse(), _fillFromOrEmptyToCenter(), _fillOrEmpty(), _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _loadQueueEntry(), _mirrorBlocks(), _randomPixelUpdater(), _scrollingBlocks(), and _stackingBlocks().
|
protected |
Definition at line 1843 of file SBK_BarMeterAnimations.h.
Referenced by _startNextQueuedAnimation(), enqueue(), enqueueFor(), enqueueReverseAnim(), forTime(), stopBlockEmissionAfter(), and waitTrailingSpace().
|
protected |
Definition at line 1851 of file SBK_BarMeterAnimations.h.
Referenced by _startNextQueuedAnimation(), clearQueue(), isQueueIndexPlaying(), isQueueRunning(), skipCurrent(), startQueue(), and update().
|
protected |
Definition at line 1846 of file SBK_BarMeterAnimations.h.
Referenced by _startNextQueuedAnimation(), clearQueue(), enqueue(), enqueueFor(), enqueueReverseAnim(), forTime(), queuedAnimations(), startQueue(), stopBlockEmissionAfter(), and waitTrailingSpace().
|
protected |
Definition at line 1853 of file SBK_BarMeterAnimations.h.
Referenced by _loadQueueEntry(), forTime(), stop(), and update().
|
protected |
Definition at line 1854 of file SBK_BarMeterAnimations.h.
Referenced by update().
|
protected |
Definition at line 1856 of file SBK_BarMeterAnimations.h.
Referenced by _loadQueueEntry(), forTime(), stopBlockEmissionAfter(), and update().
|
protected |
Definition at line 1844 of file SBK_BarMeterAnimations.h.
Referenced by _startNextQueuedAnimation(), clearQueue(), and startQueue().
|
protected |
Definition at line 1849 of file SBK_BarMeterAnimations.h.
Referenced by _startNextQueuedAnimation(), clearQueue(), loopQueue(), and noLoopQueue().
|
protected |
Definition at line 1852 of file SBK_BarMeterAnimations.h.
Referenced by clearQueue(), enqueue(), enqueueFor(), enqueueReverseAnim(), and queueOverflowed().
|
protected |
Definition at line 1848 of file SBK_BarMeterAnimations.h.
Referenced by _startNextQueuedAnimation(), clearQueue(), and startQueue().
|
protected |
Definition at line 1847 of file SBK_BarMeterAnimations.h.
Referenced by _startNextQueuedAnimation(), clearQueue(), enqueue(), enqueueFor(), and enqueueReverseAnim().
|
protected |
Definition at line 1845 of file SBK_BarMeterAnimations.h.
Referenced by clearQueue(), enqueue(), enqueueFor(), enqueueReverseAnim(), forTime(), stopBlockEmissionAfter(), and waitTrailingSpace().
|
protected |
Definition at line 1911 of file SBK_BarMeterAnimations.h.
Referenced by _randomPixelUpdater().
|
protected |
Definition at line 1909 of file SBK_BarMeterAnimations.h.
Referenced by _initializeStorage(), and setSegsNum().
|
protected |
Definition at line 1811 of file SBK_BarMeterAnimations.h.
Referenced by _beatPulse(), _blinkPixel(), _corrPixelToDir(), _corrPixelToDirForHalfRange(), _fillFromOrEmptyToCenter(), _fillOrEmpty(), _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _initializeStorage(), _mirrorBlocks(), _randomPixelUpdater(), _scrollingBlocks(), _setAllOn(), _stackingBlocks(), beatPulse(), beatPulse(), bounceFillDownDur(), bounceFillDownIntv(), bounceFillDownIntv(), bounceFillFromCenterDur(), bounceFillFromCenterIntv(), bounceFillFromCenterIntv(), bounceFillFromEdgesDur(), bounceFillFromEdgesIntv(), bounceFillFromEdgesIntv(), bounceFillUpDur(), bounceFillUpIntv(), bounceFillUpIntv(), collidingBlocks(), emptyDownDur(), emptyDownIntv(), emptyDownIntv(), emptyUpDur(), emptyUpIntv(), emptyUpIntv(), explodingBlocks(), fillDownDur(), fillDownIntv(), fillDownIntv(), fillUpDur(), fillUpIntv(), fillUpIntv(), scrollingDownBlocks(), scrollingUpBlocks(), and setSegsNum().
|
protected |
Definition at line 1891 of file SBK_BarMeterAnimations.h.
Referenced by _blinkPixel(), _bounceFill(), _bounceFillHalfRangeMirrorCenter(), _loadQueueEntry(), bounceFillDownDur(), bounceFillDownIntv(), bounceFillDownIntv(), bounceFillFromCenterDur(), bounceFillFromCenterIntv(), bounceFillFromCenterIntv(), bounceFillFromEdgesDur(), bounceFillFromEdgesIntv(), bounceFillFromEdgesIntv(), bounceFillUpDur(), bounceFillUpIntv(), and bounceFillUpIntv().
|
protected |
Definition at line 1870 of file SBK_BarMeterAnimations.h.
Referenced by _bounceFill(), _bounceFillHalfRangeMirrorCenter(), _loadQueueEntry(), animPendingLoop(), skipCurrent(), stop(), and update().
|
protected |
Definition at line 1895 of file SBK_BarMeterAnimations.h.
Referenced by _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), and _loadQueueEntry().
|
protected |
Definition at line 1895 of file SBK_BarMeterAnimations.h.
Referenced by _followDualSignalCenterMirror(), and _loadQueueEntry().
|
protected |
Definition at line 1877 of file SBK_BarMeterAnimations.h.
Referenced by _blocksComplete(), _loadQueueEntry(), _mirrorBlocks(), _scrollingBlocks(), collidingBlocks(), explodingBlocks(), scrollingDownBlocks(), and scrollingUpBlocks().
|
protected |
Definition at line 1888 of file SBK_BarMeterAnimations.h.
Referenced by _blinkPixel(), _blocksComplete(), _bounceFill(), _bounceFillHalfRangeMirrorCenter(), _captureQueueEntry(), _fillFromOrEmptyToCenter(), _fillOrEmpty(), _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _loadQueueEntry(), _mirrorBlocks(), _randomPixelUpdater(), _scrollingBlocks(), _stackingBlocks(), _wait(), beatPulse(), beatPulse(), blinkPixel(), bounceFillDownDur(), bounceFillDownIntv(), bounceFillDownIntv(), bounceFillFromCenterDur(), bounceFillFromCenterIntv(), bounceFillFromCenterIntv(), bounceFillFromEdgesDur(), bounceFillFromEdgesIntv(), bounceFillFromEdgesIntv(), bounceFillUpDur(), bounceFillUpIntv(), bounceFillUpIntv(), collidingBlocks(), downStackingBlocks(), downUnstackingBlocks(), emptyDownIntv(), emptyDownIntv(), emptyUpDur(), emptyUpIntv(), emptyUpIntv(), explodingBlocks(), fillDownDur(), fillDownIntv(), fillDownIntv(), fillUpDur(), fillUpIntv(), fillUpIntv(), followDualSignalFromCenter(), followDualSignalFromEdges(), followSignalFloatingPeak(), followSignalSmooth(), followSignalWithPointer(), randomEmpty(), randomFill(), scrollingDownBlocks(), scrollingUpBlocks(), setUpdateInterval(), upStackingBlocks(), upUnstackingBlocks(), and wait().
|
protected |
Definition at line 1888 of file SBK_BarMeterAnimations.h.
Referenced by _blinkPixel(), _bounceFill(), _bounceFillHalfRangeMirrorCenter(), _captureQueueEntry(), _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _loadQueueEntry(), blinkPixel(), bounceFillDownDur(), bounceFillDownIntv(), bounceFillDownIntv(), bounceFillFromCenterDur(), bounceFillFromCenterIntv(), bounceFillFromCenterIntv(), bounceFillFromEdgesDur(), bounceFillFromEdgesIntv(), bounceFillFromEdgesIntv(), bounceFillUpDur(), bounceFillUpIntv(), bounceFillUpIntv(), followDualSignalFromCenter(), followDualSignalFromEdges(), followSignalFloatingPeak(), followSignalSmooth(), and followSignalWithPointer().
|
protected |
Definition at line 1888 of file SBK_BarMeterAnimations.h.
Referenced by _bounceFill(), _bounceFillHalfRangeMirrorCenter(), _captureQueueEntry(), _loadQueueEntry(), bounceFillDownDur(), bounceFillDownIntv(), bounceFillDownIntv(), bounceFillFromCenterDur(), bounceFillFromCenterIntv(), bounceFillFromCenterIntv(), bounceFillFromEdgesDur(), bounceFillFromEdgesIntv(), bounceFillFromEdgesIntv(), bounceFillUpDur(), bounceFillUpIntv(), bounceFillUpIntv(), and followSignalFloatingPeak().
|
protected |
Definition at line 1874 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _loadQueueEntry(), _mapMinMaxTrackerFromPtr(), beatPulse(), beatPulse(), blinkPixel(), bounceFillDownDur(), bounceFillDownIntv(), bounceFillDownIntv(), bounceFillFromCenterDur(), bounceFillFromCenterIntv(), bounceFillFromCenterIntv(), bounceFillFromEdgesDur(), bounceFillFromEdgesIntv(), bounceFillFromEdgesIntv(), bounceFillUpDur(), bounceFillUpIntv(), bounceFillUpIntv(), emptyDownDur(), emptyDownIntv(), emptyDownIntv(), emptyUpDur(), emptyUpIntv(), emptyUpIntv(), fillDownDur(), fillDownIntv(), fillDownIntv(), fillUpDur(), fillUpIntv(), and fillUpIntv().
|
protected |
Definition at line 1899 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _liveBpmPtr(), _loadQueueEntry(), _percentMaxPtr(), _signalPtr1(), beatPulse(), beatPulse(), bounceFillDownDur(), bounceFillDownIntv(), bounceFillDownIntv(), bounceFillFromCenterDur(), bounceFillFromCenterIntv(), bounceFillFromCenterIntv(), bounceFillFromEdgesDur(), bounceFillFromEdgesIntv(), bounceFillFromEdgesIntv(), bounceFillUpDur(), bounceFillUpIntv(), bounceFillUpIntv(), emptyDownDur(), emptyDownIntv(), emptyDownIntv(), emptyUpDur(), emptyUpIntv(), emptyUpIntv(), fillDownDur(), fillDownIntv(), fillDownIntv(), fillUpDur(), fillUpIntv(), fillUpIntv(), followDualSignalFromCenter(), followDualSignalFromEdges(), followSignalFloatingPeak(), followSignalSmooth(), and followSignalWithPointer().
|
protected |
Definition at line 1899 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _loadQueueEntry(), _percentMinPtr(), _signalPtr2(), bounceFillDownDur(), bounceFillDownIntv(), bounceFillDownIntv(), bounceFillFromCenterDur(), bounceFillFromCenterIntv(), bounceFillFromCenterIntv(), bounceFillFromEdgesDur(), bounceFillFromEdgesIntv(), bounceFillFromEdgesIntv(), bounceFillUpDur(), bounceFillUpIntv(), bounceFillUpIntv(), emptyDownDur(), emptyDownIntv(), emptyDownIntv(), emptyUpDur(), emptyUpIntv(), emptyUpIntv(), fillDownDur(), fillDownIntv(), fillDownIntv(), fillUpDur(), fillUpIntv(), fillUpIntv(), followDualSignalFromCenter(), and followDualSignalFromEdges().
|
protected |
Definition at line 1876 of file SBK_BarMeterAnimations.h.
Referenced by _blocksComplete(), _captureQueueEntry(), _loadQueueEntry(), collidingBlocks(), explodingBlocks(), scrollingDownBlocks(), scrollingUpBlocks(), and waitTrailingSpace().
|
staticconstexprprotected |
Definition at line 1907 of file SBK_BarMeterAnimations.h.
Referenced by _initializeStorage().
|
staticconstexpr |
Definition at line 61 of file SBK_BarMeterAnimations.h.
Referenced by _startNextQueuedAnimation(), clearQueue(), skipCurrent(), and update().
|
staticconstexprprotected |
Definition at line 1817 of file SBK_BarMeterAnimations.h.
Referenced by _startNextQueuedAnimation(), enqueue(), enqueueFor(), enqueueReverseAnim(), forTime(), stopBlockEmissionAfter(), and waitTrailingSpace().