|
rclcpp
master
C++ ROS Client Library API
|
Classes | |
| class | MultiThreadedExecutor |
| class | SingleThreadedExecutor |
| Single-threaded executor implementation. More... | |
| class | StaticExecutorEntitiesCollector |
| class | StaticSingleThreadedExecutor |
| Static executor implementation. More... | |
Functions | |
| template<typename ResponseT , typename TimeRepT = int64_t, typename TimeT = std::milli> | |
| rclcpp::FutureReturnCode | spin_node_until_future_complete (rclcpp::Executor &executor, rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_ptr, const std::shared_future< ResponseT > &future, std::chrono::duration< TimeRepT, TimeT > timeout=std::chrono::duration< TimeRepT, TimeT >(-1)) |
| Spin (blocking) until the future is complete, it times out waiting, or rclcpp is interrupted. More... | |
| template<typename NodeT = rclcpp::Node, typename ResponseT , typename TimeRepT = int64_t, typename TimeT = std::milli> | |
| rclcpp::FutureReturnCode | spin_node_until_future_complete (rclcpp::Executor &executor, std::shared_ptr< NodeT > node_ptr, const std::shared_future< ResponseT > &future, std::chrono::duration< TimeRepT, TimeT > timeout=std::chrono::duration< TimeRepT, TimeT >(-1)) |
| rclcpp::FutureReturnCode rclcpp::executors::spin_node_until_future_complete | ( | rclcpp::Executor & | executor, |
| rclcpp::node_interfaces::NodeBaseInterface::SharedPtr | node_ptr, | ||
| const std::shared_future< ResponseT > & | future, | ||
| std::chrono::duration< TimeRepT, TimeT > | timeout = std::chrono::duration<TimeRepT, TimeT>(-1) |
||
| ) |
Spin (blocking) until the future is complete, it times out waiting, or rclcpp is interrupted.
| [in] | executor | The executor which will spin the node. |
| [in] | node_ptr | The node to spin. |
| [in] | future | The future to wait on. If SUCCESS, the future is safe to access after this function |
| [in] | timeout | Optional timeout parameter, which gets passed to Executor::spin_node_once. -1 is block forever, 0 is non-blocking. If the time spent inside the blocking loop exceeds this timeout, return a TIMEOUT return code. |
SUCCESS, INTERRUPTED, or TIMEOUT. | rclcpp::FutureReturnCode rclcpp::executors::spin_node_until_future_complete | ( | rclcpp::Executor & | executor, |
| std::shared_ptr< NodeT > | node_ptr, | ||
| const std::shared_future< ResponseT > & | future, | ||
| std::chrono::duration< TimeRepT, TimeT > | timeout = std::chrono::duration<TimeRepT, TimeT>(-1) |
||
| ) |
1.8.17