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

#include <function_traits.hpp>

Inheritance diagram for rclcpp::function_traits::function_traits< ReturnTypeT(Args ...)>:
Inheritance graph
[legend]
Collaboration diagram for rclcpp::function_traits::function_traits< ReturnTypeT(Args ...)>:
Collaboration graph
[legend]

Public Types

using arguments = std::tuple< Args ... >
 
template<std::size_t N>
using argument_type = typename std::tuple_element< N, arguments >::type
 
using return_type = ReturnTypeT
 

Static Public Attributes

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

Member Typedef Documentation

◆ arguments

template<typename ReturnTypeT , typename ... Args>
using rclcpp::function_traits::function_traits< ReturnTypeT(Args ...)>::arguments = std::tuple<Args ...>

◆ argument_type

template<typename ReturnTypeT , typename ... Args>
template<std::size_t N>
using rclcpp::function_traits::function_traits< ReturnTypeT(Args ...)>::argument_type = typename std::tuple_element<N, arguments>::type

◆ return_type

template<typename ReturnTypeT , typename ... Args>
using rclcpp::function_traits::function_traits< ReturnTypeT(Args ...)>::return_type = ReturnTypeT

Member Data Documentation

◆ arity

template<typename ReturnTypeT , typename ... Args>
constexpr std::size_t rclcpp::function_traits::function_traits< ReturnTypeT(Args ...)>::arity = std::tuple_size<arguments>::value
static

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