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

TimeStamp trait. In the default implementation pointer() returns &m.header.stamp 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 rs2rosinternal::Timepointer (M &m)
 
static rs2rosinternal::Time const * pointer (const M &m)
 

Detailed Description

template<typename M, typename Enable = void>
struct rs2rosinternal::message_traits::TimeStamp< M, Enable >

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

Definition at line 209 of file message_traits.h.

Member Function Documentation

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

Definition at line 211 of file message_traits.h.

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

Definition at line 212 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