Struct Client::FutureAndRequestId
Defined in File client.hpp
Nested Relationships
This struct is a nested type of Template Class Client.
Inheritance Relationships
Base Type
public rclcpp::detail::FutureAndRequestId< std::future< SharedResponse > >
(Template Struct FutureAndRequestId)
Struct Documentation
-
struct FutureAndRequestId : public rclcpp::detail::FutureAndRequestId<std::future<SharedResponse>>
A convenient Client::Future and request id pair.
Public members:
future: a std::future<SharedResponse>.
request_id: the request id associated with the future.
All the other methods are equivalent to the ones std::future provides.
Public Functions
Deprecated, use
.future.share()
instead.Allow implicit conversions to
std::shared_future
by value.
See std::future::share().