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:


moveit_core
Author(s): Ioan Sucan , Sachin Chitta , Acorn Pooley
autogenerated on Sun Nov 3 2024 03:26:16