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

Method prepareNodes

hi_scripting/scripting/scriptnode/nodes/NodeContainer.cpp:122–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122void NodeContainer::prepareNodes(PrepareSpecs ps)
123{
124 prepareContainer(ps);
125
126 for (auto n : nodes)
127 {
128 if (n == nullptr)
129 continue;
130
131
132
133 auto& eHandler = asNode()->getRootNetwork()->getExceptionHandler();
134
135 eHandler.removeError(n);
136
137 try
138 {
139 n->prepare(ps);
140 n->reset();
141 }
142 catch (Error& e)
143 {
144 eHandler.addError(n, e);
145 }
146 }
147}
148
149bool NodeContainer::shouldCreatePolyphonicClass() const
150{

Callers

nothing calls this directly

Calls 5

getRootNetworkMethod · 0.80
removeErrorMethod · 0.80
prepareMethod · 0.45
resetMethod · 0.45
addErrorMethod · 0.45

Tested by

no test coverage detected