|
SBK_BarDrive Library 2.1.2
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 () |
| Pause animation progression. | |
| SBK_BarMeterAnimations & | resume () |
| Resume animation after pause. | |
| 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 & | startQueue () |
| Start the first queued animation, if any. | |
| SBK_BarMeterAnimations & | clearQueue () |
| Discard all pending queued animations 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. | |
| 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 () |
| 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 | |
| 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 1749 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(), noLoop(), 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(), and wait().
|
inline |
Definition at line 72 of file SBK_BarMeterAnimations.h.
References _animationWorkspace.
|
inlineprotected |
Definition at line 2362 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animLogicSet, _animRenderLogicIsInverted, _barMeter, _corrPixelToDir(), _currentTime, _init, _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 2436 of file SBK_BarMeterAnimations.h.
References _beatPulse(), beat, bpm, and bpmPtr.
Referenced by beatPulse().
|
inlineprotected |
Definition at line 2091 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 2205 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 2320 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 2499 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 2493 of file SBK_BarMeterAnimations.h.
Referenced by _calculateSwitchedEmitTickCounter().
|
inlineprotected |
Definition at line 1840 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, 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, and SBK_BarMeterAnimations< BarMeterT >::QueueEntry::valuePtr2.
Referenced by enqueue(), and enqueueFor().
|
inlinestaticprotected |
Definition at line 2039 of file SBK_BarMeterAnimations.h.
Referenced by followDualSignalFromCenter(), followDualSignalFromEdges(), followSignalFloatingPeak(), followSignalSmooth(), and followSignalWithPointer().
|
inlineprotected |
Definition at line 2027 of file SBK_BarMeterAnimations.h.
References _animRenderDirIsReversed, and _segsNum.
Referenced by _beatPulse(), _fillOrEmpty(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _scrollingBlocks(), and _stackingBlocks().
|
inlineprotected |
Definition at line 2031 of file SBK_BarMeterAnimations.h.
References _mirrorHalfRangeDir, and _segsNum.
Referenced by _fillFromOrEmptyToCenter().
|
inlineprotected |
Definition at line 2461 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 2236 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 2127 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 2982 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 3053 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, currentLevel, lastBaseUpdate, lastPeakUpdate, peakHoldTime, peakLevel, and smoothingFactor.
Referenced by followSignalFloatingPeak().
|
inlineprotected |
Definition at line 2886 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 2928 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 2059 of file SBK_BarMeterAnimations.h.
Referenced by _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), and _followSignalWithPointer().
|
inlineprotected |
Definition at line 1953 of file SBK_BarMeterAnimations.h.
References _animationWorkspace, _barMeter, _blockCapacity, _maxTracker, _segmentCapacity, _segsNum, and MAX_BLOCK_CAPACITY.
Referenced by SBK_BarMeterAnimations().
|
inlineprotected |
Definition at line 2007 of file SBK_BarMeterAnimations.h.
References _valuePtr1.
|
inlineprotected |
Definition at line 1874 of file SBK_BarMeterAnimations.h.
References _activeBlockEmissionStopAfter, _animDirSet, _AnimInitDirIsReversed, _AnimInitLogicIsInverted, _animLogicSet, _animRenderDirIsReversed, _animRenderLogicIsInverted, _counter1, _counter2, _currentFunc, _currentTime, _emittingBlocksEnabled, _init, _isLoopingNow, _isNonInvertingLogicAnim, _isPaused, _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, _updateIntv1, _updateIntv2, _updateIntv3, _usePtr, _valuePtr1, _valuePtr2, 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, and SBK_BarMeterAnimations< BarMeterT >::QueueEntry::valuePtr2.
Referenced by _startNextQueuedAnimation().
|
inlineprotected |
Definition at line 2021 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 2011 of file SBK_BarMeterAnimations.h.
References _maxTracker, _minTracker, _normalizePercentRange(), and _usePtr.
Referenced by _fillFromOrEmptyToCenter(), _fillOrEmpty(), bounceFillDownIntv(), bounceFillFromCenterIntv(), bounceFillFromEdgesIntv(), bounceFillUpIntv(), emptyDownIntv(), emptyUpIntv(), fillDownIntv(), and fillUpIntv().
|
inlineprotected |
Definition at line 2537 of file SBK_BarMeterAnimations.h.
References _animationWorkspace, _AnimInitLogicIsInverted, _animLogicSet, _animRenderLogicIsInverted, _barMeter, _calculateSwitchedEmitTickCounter(), _currentTime, _emitBlock(), _emittingBlocksEnabled, _init, _lastUpdate1, _prevAnimRenderLogic, _resetBlocks(), _segsNum, _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 1987 of file SBK_BarMeterAnimations.h.
Referenced by _mapMinMaxTracker(), and _mapMinMaxTrackerFromPtr().
|
inlineprotected |
Definition at line 2005 of file SBK_BarMeterAnimations.h.
References _valuePtr1.
Referenced by _fillFromOrEmptyToCenter(), _fillOrEmpty(), bounceFillDownIntv(), bounceFillUpIntv(), emptyDownIntv(), emptyUpIntv(), fillDownIntv(), and fillUpIntv().
|
inlineprotected |
Definition at line 2006 of file SBK_BarMeterAnimations.h.
References _valuePtr2.
Referenced by _fillFromOrEmptyToCenter(), _fillOrEmpty(), bounceFillDownIntv(), bounceFillUpIntv(), emptyDownIntv(), emptyUpIntv(), fillDownIntv(), and fillUpIntv().
|
inlineprotected |
Definition at line 1969 of file SBK_BarMeterAnimations.h.
References _animationWorkspace.
Referenced by _randomPixelUpdater().
|
inlineprotected |
Definition at line 3128 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 1974 of file SBK_BarMeterAnimations.h.
References _animationWorkspace, _blockCapacity, and SBK_BarMeterAnimations< BarMeterT >::Block::Block().
Referenced by _mirrorBlocks(), _scrollingBlocks(), and _stackingBlocks().
|
inlineprotected |
Definition at line 2631 of file SBK_BarMeterAnimations.h.
References _animationWorkspace, _AnimInitLogicIsInverted, _animLogicSet, _animRenderLogicIsInverted, _barMeter, _calculateSwitchedEmitTickCounter(), _corrPixelToDir(), _currentTime, _emitBlock(), _emittingBlocksEnabled, _init, _lastUpdate1, _prevAnimRenderLogic, _resetBlocks(), _segsNum, _setAllOff(), _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 2074 of file SBK_BarMeterAnimations.h.
References _barMeter, and _init.
Referenced by _beatPulse(), _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _randomPixelUpdater(), _scrollingBlocks(), and setAllOff().
|
inlineprotected |
Definition at line 2067 of file SBK_BarMeterAnimations.h.
References _barMeter, _init, and _segsNum.
Referenced by _randomPixelUpdater(), and setAllOn().
|
inlineprotected |
Definition at line 2008 of file SBK_BarMeterAnimations.h.
References _valuePtr1.
Referenced by _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), and _followSignalWithPointer().
|
inlineprotected |
Definition at line 2009 of file SBK_BarMeterAnimations.h.
References _valuePtr2.
Referenced by _followDualSignalCenterMirror().
|
inlineprotected |
Definition at line 2707 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 1935 of file SBK_BarMeterAnimations.h.
References _activeBlockEmissionStopAfter, _currentFunc, _currentQueueIndex, _isRunning, _loadQueueEntry(), _queue, _queueActive, _queueCount, _queueHead, NO_QUEUE_INDEX, and QUEUE_CAPACITY.
Referenced by skipCurrent(), startQueue(), and update().
|
inlineprotected |
Definition at line 2081 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 170 of file SBK_BarMeterAnimations.h.
References _init, and SBK_BarMeterAnimations().
|
inline |
Detect whether animation has completed and is about to loop.
Definition at line 562 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 1308 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _beatPulseLive(), _currentFunc, _init, _isNonInvertingLogicAnim, _isRunning, _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 1331 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _beatPulse(), _currentFunc, _init, _isNonInvertingLogicAnim, _isRunning, _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 650 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 662 of file SBK_BarMeterAnimations.h.
References _blinkPixel(), _currentFunc, _init, _isNonInvertingLogicAnim, _isRunning, _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 1038 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _bounceFill(), _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxTracker, _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 1075 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _bounceFill(), _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTrackerFromPtr(), _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 1101 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _bounceFill(), _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _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 1127 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _bounceFillHalfRangeMirrorCenter(), _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxTracker, _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 1165 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 1192 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 1219 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _bounceFillHalfRangeMirrorCenter(), _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxTracker, _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 1257 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 1284 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 951 of file SBK_BarMeterAnimations.h.
References _animRenderDirIsReversed, _bounceFill(), _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxTracker, _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 987 of file SBK_BarMeterAnimations.h.
References _animRenderDirIsReversed, _bounceFill(), _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTrackerFromPtr(), _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 1012 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _bounceFill(), _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _segsNum, _sequenceState, _updateIntv1, _updateIntv2, _updateIntv3, _usePtr, _valuePtr1, _valuePtr2, and SBK_BarMeterAnimations().
|
inline |
Discard all pending queued animations without stopping the current animation.
Definition at line 344 of file SBK_BarMeterAnimations.h.
References _currentQueueIndex, _queueActive, _queueCount, _queueHead, _queueOverflow, _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 1383 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mirrorBlocks(), _param1, _param2, _param3, _param4, _segsNum, _updateIntv1, blockLength, blockSpacing, and SBK_BarMeterAnimations().
|
inline |
Return the physical queue slot currently playing, or NO_QUEUE_INDEX.
Definition at line 390 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 1458 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _emittingBlocksEnabled, _init, _isNonInvertingLogicAnim, _isRunning, _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 1530 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _emittingBlocksEnabled, _init, _isNonInvertingLogicAnim, _isRunning, _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 818 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxTracker, _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 839 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTrackerFromPtr(), _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 861 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _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 883 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxTracker, _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 906 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTrackerFromPtr(), _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 928 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _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 218 of file SBK_BarMeterAnimations.h.
References _animationDuration, _blockEmissionStopAfter, _captureQueueEntry(), _currentFunc, _isRunning, _queue, _queueCount, _queueOverflow, _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 248 of file SBK_BarMeterAnimations.h.
References _animationDuration, _blockEmissionStopAfter, _captureQueueEntry(), _currentFunc, _isRunning, _queue, _queueCount, _queueOverflow, _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 305 of file SBK_BarMeterAnimations.h.
References _loop, _queue, _queueCount, _queueOverflow, _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 1358 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _isNonInvertingLogicAnim, _isRunning, _mirrorBlocks(), _param1, _param2, _param3, _param4, _segsNum, _updateIntv1, 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 750 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxTracker, _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 773 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTrackerFromPtr(), _maxTracker, _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 796 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _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 683 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _maxTracker, _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 706 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTrackerFromPtr(), _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 728 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _fillOrEmpty(), _isNonInvertingLogicAnim, _isRunning, _mapMinMaxTracker(), _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 1618 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _correctSwapOrEqualMinMax(), _currentFunc, _followDualSignalCenterMirror(), _init, _isNonInvertingLogicAnim, _isRunning, _maxMap, _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 1651 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _correctSwapOrEqualMinMax(), _currentFunc, _followDualSignalCenterMirror(), _init, _isNonInvertingLogicAnim, _isRunning, _maxMap, _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 1687 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _correctSwapOrEqualMinMax(), _currentFunc, _followSignalFloatingPeak(), _init, _isNonInvertingLogicAnim, _isRunning, _maxMap, _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 1557 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _correctSwapOrEqualMinMax(), _currentFunc, _followSignalSmooth(), _init, _isNonInvertingLogicAnim, _isRunning, _maxMap, _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 1587 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _correctSwapOrEqualMinMax(), _currentFunc, _followSignalWithPointer(), _init, _isNonInvertingLogicAnim, _isRunning, _maxMap, _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 280 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 481 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animLogicSet, _animRenderLogicIsInverted, _isNonInvertingLogicAnim, and SBK_BarMeterAnimations().
|
inline |
Query if block emission is enabled.
Definition at line 599 of file SBK_BarMeterAnimations.h.
References _emittingBlocksEnabled.
|
inline |
Returns true if direction is reversed compared to the original.
Definition at line 590 of file SBK_BarMeterAnimations.h.
References _AnimInitDirIsReversed, and _animRenderDirIsReversed.
|
inline |
Returns true if current logic is different from original logic.
Definition at line 578 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, and _animRenderLogicIsInverted.
|
inline |
Query if animation loop is enabled.
Definition at line 552 of file SBK_BarMeterAnimations.h.
References _loop.
|
inline |
Return true if the current animation does not support logic inversion.
Definition at line 587 of file SBK_BarMeterAnimations.h.
References _isNonInvertingLogicAnim.
|
inline |
Query if animation is paused.
Definition at line 549 of file SBK_BarMeterAnimations.h.
References _isPaused.
|
inline |
Return true when the requested physical queue slot is currently playing.
Definition at line 393 of file SBK_BarMeterAnimations.h.
References _currentQueueIndex, and _queueActive.
|
inline |
Return true while an animation queue is being processed.
Definition at line 387 of file SBK_BarMeterAnimations.h.
References _queueActive.
|
inline |
Query if animation is currently active.
Definition at line 546 of file SBK_BarMeterAnimations.h.
References _isRunning.
|
inline |
Set animation to automatically loop when complete.
Definition at line 402 of file SBK_BarMeterAnimations.h.
References _currentFunc, _loop, _wait(), and SBK_BarMeterAnimations().
|
inline |
Disable auto-looping.
Animation will stop when complete.
Definition at line 411 of file SBK_BarMeterAnimations.h.
References _loop, and SBK_BarMeterAnimations().
|
inline |
Pause animation progression.
Definition at line 177 of file SBK_BarMeterAnimations.h.
References _isPaused, and SBK_BarMeterAnimations().
|
inline |
Return the number of animations waiting behind the active one.
Definition at line 384 of file SBK_BarMeterAnimations.h.
References _queueCount.
|
inline |
Return true if an enqueue operation exceeded the configured capacity.
Definition at line 399 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 1731 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 1713 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 442 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 495 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animLogicSet, _animRenderLogicIsInverted, _isNonInvertingLogicAnim, and SBK_BarMeterAnimations().
|
inline |
Resume animation after pause.
Definition at line 184 of file SBK_BarMeterAnimations.h.
References _isPaused, and SBK_BarMeterAnimations().
|
inline |
Resume emitting new blocks during compatible block animations.
Definition at line 512 of file SBK_BarMeterAnimations.h.
References _emittingBlocksEnabled, and SBK_BarMeterAnimations().
|
inline |
Reverse the rendering direction compared to the original one.
Definition at line 434 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 1434 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _isNonInvertingLogicAnim, _isRunning, _param1, _param2, _param3, _param4, _scrollingBlocks(), _segsNum, _updateIntv1, 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 1409 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _isNonInvertingLogicAnim, _isRunning, _param1, _param2, _param3, _param4, _scrollingBlocks(), _segsNum, _updateIntv1, blockLength, blockSpacing, and SBK_BarMeterAnimations().
|
inline |
Set all pixels to the specified state.
| onff | Desired pixel state: true = on, false = off. |
Definition at line 606 of file SBK_BarMeterAnimations.h.
References SBK_BarMeterAnimations(), setAllOff(), and setAllOn().
|
inline |
Set all pixels OFF.
Definition at line 622 of file SBK_BarMeterAnimations.h.
References _currentFunc, _init, _isRunning, _setAllOff(), and SBK_BarMeterAnimations().
Referenced by setAll().
|
inline |
Set all pixels ON.
Definition at line 611 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 418 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 453 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, _segmentCapacity, and _segsNum.
|
inline |
Change the primary update interval without restarting the animation.
Definition at line 555 of file SBK_BarMeterAnimations.h.
References _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 361 of file SBK_BarMeterAnimations.h.
References _currentFunc, _currentQueueIndex, _isLoopingNow, _isPaused, _isRunning, _loop, _queueActive, _queueCount, _skipPending, _startNextQueuedAnimation(), NO_QUEUE_INDEX, and SBK_BarMeterAnimations().
|
inline |
Start the first queued animation, if any.
Definition at line 333 of file SBK_BarMeterAnimations.h.
References _queueActive, _queueCount, _startNextQueuedAnimation(), and SBK_BarMeterAnimations().
|
inline |
Terminate the animation, loop, and queue, then clear mapped pixels.
Definition at line 191 of file SBK_BarMeterAnimations.h.
References _activeBlockEmissionStopAfter, _animationDuration, _animLogicSet, _barMeter, _blockEmissionStopAfter, _currentFunc, _init, _isLoopingNow, _isPaused, _isRunning, _loop, _queueEntryDuration, _skipPending, clearQueue(), and SBK_BarMeterAnimations().
|
inline |
Stop emitting new blocks during compatible block animations.
Definition at line 505 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 528 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 426 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 467 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(), _queueActive, _queueCount, _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 1506 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _emittingBlocksEnabled, _init, _isNonInvertingLogicAnim, _isRunning, _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 1482 of file SBK_BarMeterAnimations.h.
References _AnimInitLogicIsInverted, _animRenderDirIsReversed, _currentFunc, _emittingBlocksEnabled, _init, _isNonInvertingLogicAnim, _isRunning, _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 634 of file SBK_BarMeterAnimations.h.
References _currentFunc, _init, _isRunning, _loop, _updateIntv1, _wait(), and SBK_BarMeterAnimations().
|
protected |
Definition at line 1786 of file SBK_BarMeterAnimations.h.
Referenced by _loadQueueEntry(), _startNextQueuedAnimation(), stop(), stopBlockEmissionAfter(), and update().
|
protected |
Definition at line 1807 of file SBK_BarMeterAnimations.h.
Referenced by enqueue(), enqueueFor(), forTime(), and stop().
|
protected |
Definition at line 1835 of file SBK_BarMeterAnimations.h.
Referenced by _calculateSwitchedEmitTickCounter(), _emitBlock(), _initializeStorage(), _mirrorBlocks(), _randomOrder(), _resetBlocks(), _scrollingBlocks(), _stackingBlocks(), and ~SBK_BarMeterAnimations().
|
protected |
Definition at line 1804 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _loadQueueEntry(), resetDir(), reverseDir(), setDir(), and toggleDir().
|
protected |
Definition at line 1803 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _loadQueueEntry(), isDirectionReversed(), resetDir(), and reverseDir().
|
protected |
Definition at line 1795 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 1800 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 1802 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 1796 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 1745 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 1837 of file SBK_BarMeterAnimations.h.
Referenced by _initializeStorage(), and _resetBlocks().
|
protected |
Definition at line 1808 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), enqueue(), enqueueFor(), stop(), and stopBlockEmissionAfter().
|
protected |
Definition at line 1824 of file SBK_BarMeterAnimations.h.
Referenced by _blinkPixel(), and _loadQueueEntry().
|
protected |
Definition at line 1824 of file SBK_BarMeterAnimations.h.
Referenced by _loadQueueEntry().
|
protected |
Definition at line 1750 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(), and wait().
|
protected |
Definition at line 1781 of file SBK_BarMeterAnimations.h.
Referenced by _startNextQueuedAnimation(), clearQueue(), currentQueueIndex(), isQueueIndexPlaying(), skipCurrent(), and update().
|
protected |
Definition at line 1811 of file SBK_BarMeterAnimations.h.
Referenced by _beatPulse(), _blinkPixel(), _fillFromOrEmptyToCenter(), _fillOrEmpty(), _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _loadQueueEntry(), _mirrorBlocks(), _randomPixelUpdater(), _scrollingBlocks(), _stackingBlocks(), _wait(), and update().
|
protected |
Definition at line 1806 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _loadQueueEntry(), _mirrorBlocks(), _scrollingBlocks(), downStackingBlocks(), downUnstackingBlocks(), isBlockEmissionEnabled(), resumeBlockEmission(), stopBlockEmission(), update(), upStackingBlocks(), and upUnstackingBlocks().
|
protected |
Definition at line 1790 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 1794 of file SBK_BarMeterAnimations.h.
Referenced by _loadQueueEntry(), animPendingLoop(), skipCurrent(), stop(), and update().
|
protected |
Definition at line 1798 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 1792 of file SBK_BarMeterAnimations.h.
Referenced by _loadQueueEntry(), isPaused(), pause(), resume(), skipCurrent(), stop(), and update().
|
protected |
Definition at line 1791 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 1812 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 1812 of file SBK_BarMeterAnimations.h.
Referenced by _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), and _loadQueueEntry().
|
protected |
Definition at line 1812 of file SBK_BarMeterAnimations.h.
Referenced by _loadQueueEntry().
|
protected |
Definition at line 1819 of file SBK_BarMeterAnimations.h.
Referenced by _fillFromOrEmptyToCenter(), _fillOrEmpty(), and _loadQueueEntry().
|
protected |
Definition at line 1819 of file SBK_BarMeterAnimations.h.
Referenced by _loadQueueEntry().
|
protected |
Definition at line 1819 of file SBK_BarMeterAnimations.h.
Referenced by _loadQueueEntry().
|
protected |
Definition at line 1793 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _loadQueueEntry(), enqueueReverseAnim(), isLoopEnabled(), loop(), noLoop(), skipCurrent(), stop(), update(), and wait().
|
protected |
Definition at line 1823 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _loadQueueEntry(), followDualSignalFromCenter(), followDualSignalFromEdges(), followSignalFloatingPeak(), followSignalSmooth(), and followSignalWithPointer().
|
protected |
Definition at line 1820 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 1823 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _loadQueueEntry(), followDualSignalFromCenter(), followDualSignalFromEdges(), followSignalFloatingPeak(), followSignalSmooth(), and followSignalWithPointer().
|
protected |
Definition at line 1820 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 1799 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _corrPixelToDirForHalfRange(), _followDualSignalCenterMirror(), _loadQueueEntry(), bounceFillFromCenterDur(), bounceFillFromCenterIntv(), bounceFillFromCenterIntv(), bounceFillFromEdgesDur(), bounceFillFromEdgesIntv(), and bounceFillFromEdgesIntv().
|
protected |
Definition at line 1821 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 1821 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 1821 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _loadQueueEntry(), beatPulse(), beatPulse(), collidingBlocks(), downStackingBlocks(), downUnstackingBlocks(), explodingBlocks(), scrollingDownBlocks(), scrollingUpBlocks(), upStackingBlocks(), and upUnstackingBlocks().
|
protected |
Definition at line 1821 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), _loadQueueEntry(), beatPulse(), beatPulse(), collidingBlocks(), downStackingBlocks(), downUnstackingBlocks(), explodingBlocks(), scrollingDownBlocks(), scrollingUpBlocks(), upStackingBlocks(), and upUnstackingBlocks().
|
protected |
Definition at line 1821 of file SBK_BarMeterAnimations.h.
Referenced by _captureQueueEntry(), and _loadQueueEntry().
|
protected |
Definition at line 1797 of file SBK_BarMeterAnimations.h.
Referenced by _beatPulse(), _fillFromOrEmptyToCenter(), _fillOrEmpty(), _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), _loadQueueEntry(), _mirrorBlocks(), _randomPixelUpdater(), _scrollingBlocks(), and _stackingBlocks().
|
protected |
Definition at line 1777 of file SBK_BarMeterAnimations.h.
Referenced by _startNextQueuedAnimation(), enqueue(), enqueueFor(), enqueueReverseAnim(), forTime(), and stopBlockEmissionAfter().
|
protected |
Definition at line 1782 of file SBK_BarMeterAnimations.h.
Referenced by _startNextQueuedAnimation(), clearQueue(), isQueueIndexPlaying(), isQueueRunning(), skipCurrent(), startQueue(), and update().
|
protected |
Definition at line 1780 of file SBK_BarMeterAnimations.h.
Referenced by _startNextQueuedAnimation(), clearQueue(), enqueue(), enqueueFor(), enqueueReverseAnim(), forTime(), queuedAnimations(), skipCurrent(), startQueue(), stopBlockEmissionAfter(), and update().
|
protected |
Definition at line 1784 of file SBK_BarMeterAnimations.h.
Referenced by _loadQueueEntry(), forTime(), stop(), and update().
|
protected |
Definition at line 1785 of file SBK_BarMeterAnimations.h.
Referenced by update().
|
protected |
Definition at line 1787 of file SBK_BarMeterAnimations.h.
Referenced by _loadQueueEntry(), forTime(), stopBlockEmissionAfter(), and update().
|
protected |
Definition at line 1778 of file SBK_BarMeterAnimations.h.
Referenced by _startNextQueuedAnimation(), and clearQueue().
|
protected |
Definition at line 1783 of file SBK_BarMeterAnimations.h.
Referenced by clearQueue(), enqueue(), enqueueFor(), enqueueReverseAnim(), and queueOverflowed().
|
protected |
Definition at line 1779 of file SBK_BarMeterAnimations.h.
Referenced by clearQueue(), enqueue(), enqueueFor(), enqueueReverseAnim(), forTime(), and stopBlockEmissionAfter().
|
protected |
Definition at line 1838 of file SBK_BarMeterAnimations.h.
Referenced by _randomPixelUpdater().
|
protected |
Definition at line 1836 of file SBK_BarMeterAnimations.h.
Referenced by _initializeStorage(), and setSegsNum().
|
protected |
Definition at line 1746 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 1818 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 1801 of file SBK_BarMeterAnimations.h.
Referenced by _bounceFill(), _bounceFillHalfRangeMirrorCenter(), _loadQueueEntry(), animPendingLoop(), skipCurrent(), stop(), and update().
|
protected |
Definition at line 1822 of file SBK_BarMeterAnimations.h.
Referenced by _followDualSignalCenterMirror(), _followSignalFloatingPeak(), _followSignalSmooth(), _followSignalWithPointer(), and _loadQueueEntry().
|
protected |
Definition at line 1822 of file SBK_BarMeterAnimations.h.
Referenced by _followDualSignalCenterMirror(), and _loadQueueEntry().
|
protected |
Definition at line 1815 of file SBK_BarMeterAnimations.h.
Referenced by _blinkPixel(), _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 1815 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 1815 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 1805 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 1826 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 1826 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().
|
staticconstexprprotected |
Definition at line 1834 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 1752 of file SBK_BarMeterAnimations.h.
Referenced by _startNextQueuedAnimation(), enqueue(), enqueueFor(), enqueueReverseAnim(), forTime(), and stopBlockEmissionAfter().