rclcpp  master
C++ ROS Client Library API
Public Types | Static Public Attributes | List of all members
rclcpp::function_traits::function_traits< FunctionT > Struct Template Reference

#include <function_traits.hpp>

Inheritance diagram for rclcpp::function_traits::function_traits< FunctionT >:
Inheritance graph
[legend]
Collaboration diagram for rclcpp::function_traits::function_traits< FunctionT >:
Collaboration graph
[legend]

Public Types

using arguments = typename tuple_tail< typename function_traits< decltype(&FunctionT::operator())>::arguments >::type
 
template<std::size_t N>
using argument_type = typename std::tuple_element< N, arguments >::type
 
using return_type = typename function_traits< decltype(&FunctionT::operator())>::return_type
 

Static Public Attributes

static constexpr std::size_t arity = std::tuple_size<arguments>::value
 

Member Typedef Documentation

◆ arguments

template<typename FunctionT>
using rclcpp::function_traits::function_traits< FunctionT >::arguments = typename tuple_tail< typename function_traits<decltype( &FunctionT::operator())>::arguments>::type

◆ argument_type

template<typename FunctionT>
template<std::size_t N>
using rclcpp::function_traits::function_traits< FunctionT >::argument_type = typename std::tuple_element<N, arguments>::type

◆ return_type

template<typename FunctionT>
using rclcpp::function_traits::function_traits< FunctionT >::return_type = typename function_traits<decltype( &FunctionT::operator())>::return_type

Member Data Documentation

◆ arity

template<typename FunctionT>
constexpr std::size_t rclcpp::function_traits::function_traits< FunctionT >::arity = std::tuple_size<arguments>::value
static

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