ROS 2 rclcpp + rcl - rolling  rolling-a919a6e5
ROS 2 C++ Client Library with ROS Client Library
Public Member Functions | Public Attributes | List of all members
rclcpp::detail::FutureAndRequestId< FutureT > Struct Template Reference

Public Member Functions

 FutureAndRequestId (FutureT impl, int64_t req_id)
 
 operator FutureT & ()
 Allow implicit conversions to std::future by reference.
 
auto get ()
 See std::future::get().
 
bool valid () const noexcept
 See std::future::valid().
 
void wait () const
 See std::future::wait().
 
template<class Rep , class Period >
std::future_status wait_for (const std::chrono::duration< Rep, Period > &timeout_duration) const
 See std::future::wait_for().
 
template<class Clock , class Duration >
std::future_status wait_until (const std::chrono::time_point< Clock, Duration > &timeout_time) const
 See std::future::wait_until().
 
 FutureAndRequestId (FutureAndRequestId &&other) noexcept=default
 Move constructor.
 
 FutureAndRequestId (const FutureAndRequestId &other)=delete
 Deleted copy constructor, each instance is a unique owner of the future.
 
FutureAndRequestIdoperator= (FutureAndRequestId &&other) noexcept=default
 Move assignment.
 
FutureAndRequestIdoperator= (const FutureAndRequestId &other)=delete
 Deleted copy assignment, each instance is a unique owner of the future.
 
 ~FutureAndRequestId ()=default
 Destructor.
 

Public Attributes

FutureT future
 
int64_t request_id
 

Detailed Description

template<typename FutureT>
struct rclcpp::detail::FutureAndRequestId< FutureT >

Definition at line 61 of file client.hpp.


The documentation for this struct was generated from the following file: