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 ros::Time * | pointer (M &m) |
static ros::Time const * | pointer (const M &m) |
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 208 of file message_traits.h.
static ros::Time* ros::message_traits::TimeStamp< M, Enable >::pointer | ( | M & | m | ) | [inline, static] |
Definition at line 210 of file message_traits.h.
static ros::Time const* ros::message_traits::TimeStamp< M, Enable >::pointer | ( | const M & | m | ) | [inline, static] |
Definition at line 211 of file message_traits.h.