| 16 | namespace BT |
| 17 | { |
| 18 | RetryNode::RetryNode(const std::string& name, int NTries) |
| 19 | : DecoratorNode(name, {}) |
| 20 | , max_attempts_(NTries) |
| 21 | , try_count_(0) |
| 22 | , read_parameter_from_ports_(false) |
| 23 | { |
| 24 | setRegistrationID("RetryUntilSuccessful"); |
| 25 | } |
| 26 | |
| 27 | RetryNode::RetryNode(const std::string& name, const NodeConfig& config) |
| 28 | : DecoratorNode(name, config) |
nothing calls this directly
no outgoing calls
no test coverage detected