| 16 | namespace BT |
| 17 | { |
| 18 | SequenceNode::SequenceNode(const std::string& name, bool make_async, |
| 19 | const NodeConfiguration& conf) |
| 20 | : ControlNode::ControlNode(name, conf), current_child_idx_(0), asynch_(make_async) |
| 21 | { |
| 22 | if(asynch_) |
| 23 | { |
| 24 | setRegistrationID("AsyncSequence"); |
| 25 | } |
| 26 | else |
| 27 | { |
| 28 | setRegistrationID("Sequence"); |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | void SequenceNode::halt() |
| 33 | { |
nothing calls this directly
no outgoing calls
no test coverage detected