| 55 | {} |
| 56 | |
| 57 | BT::NodeStatus tick() override |
| 58 | { |
| 59 | auto msg = getInput<std::string>("in"); |
| 60 | if(!msg) |
| 61 | { |
| 62 | throw BT::RuntimeError("missing required input [message]: ", msg.error()); |
| 63 | } |
| 64 | setOutput("out", msg.value()); |
| 65 | return BT::NodeStatus::SUCCESS; |
| 66 | } |
| 67 | |
| 68 | static BT::PortsList providedPorts() |
| 69 | { |
nothing calls this directly
no test coverage detected