|
nros C++ API
Lightweight ROS 2 client for embedded real-time systems (C++ headers)
|
rclcpp::Future<T> — single-shot deferred result. More...
#include <cstdint>#include <cstddef>#include "rclcpp/result.hpp"#include "rclcpp/size_bound.hpp"#include "rclcpp/logging.hpp"

Go to the source code of this file.
Classes | |
| class | rclcpp::Future< T, Cap > |
| struct | rclcpp::detail::PendingLink |
| struct | rclcpp::detail::PendingList |
Namespaces | |
| namespace | rclcpp |
| namespace | rclcpp::detail |
| namespace | rclcpp_action |
Typedefs | |
| typedef int | nros_cpp_ret_t |
| using | rclcpp::detail::PumpFn = nros_cpp_ret_t (*)(void*) |
| using | rclcpp::detail::TakeSeqFn = nros_cpp_ret_t (*)(void*, uint8_t*, size_t, size_t*, int64_t*) |
Functions | |
| nros_cpp_ret_t | nros_cpp_spin_once (void *handle, int32_t timeout_ms) |
| uint64_t | nros_cpp_time_ns (void) |
Variables | |
| constexpr int | rclcpp::detail::MAX_STALE_DRAIN_PER_POLL = 8 |
| constexpr int64_t | rclcpp::detail::SEQUENCE_ID_UNKNOWN = (-9223372036854775807LL - 1) |
rclcpp::Future<T> — single-shot deferred result.
| typedef int nros_cpp_ret_t |
| nros_cpp_ret_t nros_cpp_spin_once | ( | void * | handle, |
| int32_t | timeout_ms ) |
| uint64_t nros_cpp_time_ns | ( | void | ) |
Monotonic time in nanoseconds. Used by Future::wait() to budget its spin loop by wall-clock, not iteration count (Phase 89.2).