Struct Client::SharedFutureWithRequestAndRequestId

Nested Relationships

This struct is a nested type of Template Class Client.

Inheritance Relationships

Base Type

Struct Documentation

struct SharedFutureWithRequestAndRequestId : public rclcpp::detail::FutureAndRequestId<std::shared_future<std::pair<SharedRequest, SharedResponse>>>

A convenient Client::SharedFutureWithRequest and request id pair.

Public members:

  • future: a std::shared_future<SharedResponse>.

  • request_id: the request id associated with the future.

All the other methods are equivalent to the ones std::shared_future provides.