| 306 | } |
| 307 | |
| 308 | inline bool Engine::resetStep(ProcessFlow::Node& step) { |
| 309 | for (int i=0;i<step.v.m_input.size();++i) |
| 310 | step.v.m_input[i].data->clear(); |
| 311 | for (int i=0;i<step.v.m_output.size();++i) |
| 312 | step.v.m_output[i].data->clear(); |
| 313 | if ((step.v.m_id=="Input") || (step.v.m_id=="Output")) |
| 314 | step.v.m_component = NULL; |
| 315 | if (step.v.m_component != NULL) |
| 316 | step.v.m_component->reset(); |
| 317 | return true; |
| 318 | } |
| 319 | |
| 320 | inline bool Engine::processStep(ProcessFlow::Node& step) { |
| 321 | #ifdef DEBUG |