rclcpp_action  master
C++ ROS Action Client Library
Public Types | Public Member Functions | Friends | List of all members
rclcpp_action::Client< ActionT >::GoalResponseCallback Class Reference

Compatibility wrapper for goal_response_callback. More...

#include <client.hpp>

Public Types

using NewSignature = std::function< void(typename GoalHandle::SharedPtr)>
 
using OldSignature = std::function< void(std::shared_future< typename GoalHandle::SharedPtr >)>
 

Public Member Functions

 GoalResponseCallback ()=default
 
 GoalResponseCallback (std::nullptr_t)
 
 GoalResponseCallback (OldSignature old_callback)
 
 GoalResponseCallback (NewSignature new_callback)
 
GoalResponseCallbackoperator= (OldSignature old_callback)
 
GoalResponseCallbackoperator= (NewSignature new_callback)
 
void operator() (typename GoalHandle::SharedPtr goal_handle) const
 
void operator() (std::shared_future< typename GoalHandle::SharedPtr > goal_handle_future) const
 
 operator bool () const noexcept
 

Friends

class Client
 

Detailed Description

template<typename ActionT>
class rclcpp_action::Client< ActionT >::GoalResponseCallback

Compatibility wrapper for goal_response_callback.

Member Typedef Documentation

◆ NewSignature

template<typename ActionT >
using rclcpp_action::Client< ActionT >::GoalResponseCallback::NewSignature = std::function<void (typename GoalHandle::SharedPtr)>

◆ OldSignature

template<typename ActionT >
using rclcpp_action::Client< ActionT >::GoalResponseCallback::OldSignature = std::function<void (std::shared_future<typename GoalHandle::SharedPtr>)>

Constructor & Destructor Documentation

◆ GoalResponseCallback() [1/4]

template<typename ActionT >
rclcpp_action::Client< ActionT >::GoalResponseCallback::GoalResponseCallback ( )
default

◆ GoalResponseCallback() [2/4]

template<typename ActionT >
rclcpp_action::Client< ActionT >::GoalResponseCallback::GoalResponseCallback ( std::nullptr_t  )
inline

◆ GoalResponseCallback() [3/4]

template<typename ActionT >
rclcpp_action::Client< ActionT >::GoalResponseCallback::GoalResponseCallback ( OldSignature  old_callback)
inline

◆ GoalResponseCallback() [4/4]

template<typename ActionT >
rclcpp_action::Client< ActionT >::GoalResponseCallback::GoalResponseCallback ( NewSignature  new_callback)
inline

Member Function Documentation

◆ operator=() [1/2]

template<typename ActionT >
GoalResponseCallback& rclcpp_action::Client< ActionT >::GoalResponseCallback::operator= ( OldSignature  old_callback)
inline

◆ operator=() [2/2]

template<typename ActionT >
GoalResponseCallback& rclcpp_action::Client< ActionT >::GoalResponseCallback::operator= ( NewSignature  new_callback)
inline

◆ operator()() [1/2]

template<typename ActionT >
void rclcpp_action::Client< ActionT >::GoalResponseCallback::operator() ( typename GoalHandle::SharedPtr  goal_handle) const
inline

◆ operator()() [2/2]

template<typename ActionT >
void rclcpp_action::Client< ActionT >::GoalResponseCallback::operator() ( std::shared_future< typename GoalHandle::SharedPtr >  goal_handle_future) const
inline

◆ operator bool()

template<typename ActionT >
rclcpp_action::Client< ActionT >::GoalResponseCallback::operator bool ( ) const
inlineexplicitnoexcept

Friends And Related Function Documentation

◆ Client

template<typename ActionT >
friend class Client
friend

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