Static Public Member Functions | List of all members
ros::message_traits::Header< M, Enable > Struct Template Reference

Header trait. In the default implementation pointer() returns &m.header if HasHeader<M>::value is true, otherwise returns NULL. More...

#include <message_traits.h>

Static Public Member Functions

static std_msgs::Header const * pointer (const M &m)
 
static std_msgs::Header * pointer (M &m)
 

Detailed Description

template<typename M, typename Enable = void>
struct ros::message_traits::Header< M, Enable >

Header trait. In the default implementation pointer() returns &m.header if HasHeader<M>::value is true, otherwise returns NULL.

Definition at line 168 of file message_traits.h.

Member Function Documentation

◆ pointer() [1/2]

template<typename M , typename Enable = void>
static std_msgs::Header const* ros::message_traits::Header< M, Enable >::pointer ( const M &  m)
inlinestatic

Definition at line 171 of file message_traits.h.

◆ pointer() [2/2]

template<typename M , typename Enable = void>
static std_msgs::Header* ros::message_traits::Header< M, Enable >::pointer ( M &  m)
inlinestatic

Definition at line 170 of file message_traits.h.


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


roscpp_traits
Author(s): Josh Faust, Dirk Thomas
autogenerated on Sat Jun 17 2023 02:32:39