MCPcopy Create free account
hub / github.com/christophhart/HISE / isSuspended

Method isSuspended

hi_scripting/scripting/api/ScriptingApiObjects.cpp:3224–3234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3222}
3223
3224bool ScriptingObjects::ScriptingEffect::isSuspended() const
3225{
3226 if(checkValidObject())
3227 {
3228 auto fx = const_cast<ScriptingEffect*>(this)->getEffect();
3229
3230 return fx->isSuspendedOnSilence() && fx->isCurrentlySuspended();
3231 }
3232
3233 return false;
3234}
3235
3236String ScriptingObjects::ScriptingEffect::exportState()
3237{

Callers

nothing calls this directly

Calls 3

isCurrentlySuspendedMethod · 0.80
getEffectMethod · 0.45
isSuspendedOnSilenceMethod · 0.45

Tested by

no test coverage detected