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

Method isActive

hi_scripting/scripting/scriptnode/api/NodeBase.cpp:278–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278bool NodeBase::isActive(bool checkRecursively) const
279{
280 ValueTree p = v_data.getParent();
281
282 if (!checkRecursively)
283 return p.isValid();
284
285 while (p.isValid() && p.getType() != PropertyIds::Network)
286 {
287 p = p.getParent();
288 }
289
290 return p.getType() == PropertyIds::Network;
291}
292
293void NodeBase::checkValid() const
294{

Callers 4

recompiledMethod · 0.45
isFrozenMethod · 0.45
setDynamicParameterMethod · 0.45
drawMidiDropperMethod · 0.45

Calls 3

getParentMethod · 0.45
isValidMethod · 0.45
getTypeMethod · 0.45

Tested by

no test coverage detected