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

FrameId trait. In the default implementation pointer() returns &m.header.frame_id if HasHeader<M>::value is true, otherwise returns NULL. value() does not exist, and causes a compile error. More...

#include <message_traits.h>

Static Public Member Functions

static std::string constpointer (const M &m)
 
static std::string * pointer (M &m)
 

Detailed Description

template<typename M, typename Enable = void>
struct roswrap::message_traits::FrameId< M, Enable >

FrameId trait. In the default implementation pointer() returns &m.header.frame_id if HasHeader<M>::value is true, otherwise returns NULL. value() does not exist, and causes a compile error.

Definition at line 189 of file message_traits.h.

Member Function Documentation

◆ pointer() [1/2]

template<typename M , typename Enable = void>
static std::string const* roswrap::message_traits::FrameId< M, Enable >::pointer ( const M &  m)
inlinestatic

Definition at line 192 of file message_traits.h.

◆ pointer() [2/2]

template<typename M , typename Enable = void>
static std::string* roswrap::message_traits::FrameId< M, Enable >::pointer ( M &  m)
inlinestatic

Definition at line 191 of file message_traits.h.


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


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:17