Static Public Member Functions | List of all members
rs2rosinternal::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::Headerpointer (M &m)
 
static std_msgs::Header const * pointer (const M &m)
 

Detailed Description

template<typename M, typename Enable = void>
struct rs2rosinternal::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 170 of file message_traits.h.

Member Function Documentation

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

Definition at line 172 of file message_traits.h.

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

Definition at line 173 of file message_traits.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:42