Struct Client::FutureAndRequestId

Nested Relationships

This struct is a nested type of Template Class Client.

Inheritance Relationships

Base Type

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

inline SharedFuture share() noexcept

See std::future::share().