moveit2
The MoveIt Motion Planning Framework for ROS 2.
Public Member Functions | Static Public Member Functions | List of all members
pybind11::detail::DurationCaster< T > Struct Template Reference

Convert ros::Duration / ros::WallDuration into a float. More...

#include <pybind_rosmsg_typecasters.h>

Public Member Functions

bool load (handle src, bool convert)
 
 PYBIND11_TYPE_CASTER (T, _("Duration"))
 

Static Public Member Functions

static handle cast (T &&src, return_value_policy, handle)
 

Detailed Description

template<typename T>
struct pybind11::detail::DurationCaster< T >

Convert ros::Duration / ros::WallDuration into a float.

Definition at line 61 of file pybind_rosmsg_typecasters.h.

Member Function Documentation

◆ cast()

template<typename T >
static handle pybind11::detail::DurationCaster< T >::cast ( T &&  src,
return_value_policy  ,
handle   
)
inlinestatic

Definition at line 64 of file pybind_rosmsg_typecasters.h.

◆ load()

template<typename T >
bool pybind11::detail::DurationCaster< T >::load ( handle  src,
bool  convert 
)
inline

Definition at line 70 of file pybind_rosmsg_typecasters.h.

◆ PYBIND11_TYPE_CASTER()

template<typename T >
pybind11::detail::DurationCaster< T >::PYBIND11_TYPE_CASTER ( ,
_("Duration")   
)

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