Namespace: DadGUI::iBypassOnOffManager Files: cBypassOnOffManager.h Directory: DAD_FORGE/GUI/Core/ Inheritance: Interface (Abstract Class) Description: Interface defining the contract for managing audio effect states (Bypass, Off, On).
📋 Class Description
iBypassOnOffManager is an interface (abstract class) that defines the essential methods for managing audio effect state changes. It ensures that any state management class (such as cBypass_On_Off_Manager or cOn_Off_Manager) implements configuration, state change, and state reading functions.
🎯 Enumerations and Associated Structures
eEffectState_t
Represents the different possible states of an effect.
Element
Value
Description
bypass
0
Effect is bypassed (direct signal)
off
1
Effect is disabled (signal cut/muted)
on
2
Effect is active (processed signal)
📚 Public Methods
Initialize
Element
Details
Method
void Initialize()
Description
Pure virtual method for initializing the instance.
Return
void
setState
Element
Details
Method
void setState(eEffectState_t State)
Description
Pure virtual method to set the target state of the effect.
Parameter(s)
Â
State
eEffectState_t: The desired target state.
Return
void
getTargetState
Element
Details
Method
eEffectState_t getTargetState() const
Description
Retrieves the target state toward which the effect is transitioning.
Return
eEffectState_t: The current target state.
getState
Element
Details
Method
eEffectState_t getState() const
Description
Retrieves the current internal state of the effect (actual state after transition).
Return
eEffectState_t: The current internal state.
🔒 Protected / Private Methods
Protected Variables
Member
Type
Description
m_TargetState
eEffectState_t
Target state toward which the transition is initiated.
m_InternalState
eEffectState_t
Current actual state of the effect (used for transition tracking).
DAD_FORGE/DSP - Dad Design DSP Library Copyright (c) 2024-2026 Dad Design.