| 51 | } |
| 52 | |
| 53 | void DecoratorNode::resetChild() |
| 54 | { |
| 55 | if(child_node_ == nullptr) |
| 56 | { |
| 57 | return; |
| 58 | } |
| 59 | if(child_node_->status() == NodeStatus::RUNNING) |
| 60 | { |
| 61 | child_node_->haltNode(); |
| 62 | } |
| 63 | child_node_->resetStatus(); |
| 64 | } |
| 65 | |
| 66 | SimpleDecoratorNode::SimpleDecoratorNode(const std::string& name, |
| 67 | TickFunctor tick_functor, |
nothing calls this directly
no test coverage detected