| 36 | } |
| 37 | |
| 38 | void ControlNode::resetChildren() |
| 39 | { |
| 40 | for(auto* child : children_nodes_) |
| 41 | { |
| 42 | if(child->status() == NodeStatus::RUNNING) |
| 43 | { |
| 44 | child->haltNode(); |
| 45 | } |
| 46 | child->resetStatus(); |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | const std::vector<TreeNode*>& ControlNode::children() const |
| 51 | { |
nothing calls this directly
no test coverage detected