Struct GenericClient::SharedFutureAndRequestId

Nested Relationships

This struct is a nested type of Class GenericClient.

Inheritance Relationships

Base Type

Struct Documentation

struct SharedFutureAndRequestId : public rclcpp::detail::FutureAndRequestId<std::shared_future<SharedResponse>>

A convenient GenericClient::SharedFuture 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.