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 * | pointer (M &m) |
static std::string const * | pointer (const M &m) |
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 188 of file message_traits.h.
static std::string* ros::message_traits::FrameId< M, Enable >::pointer | ( | M & | m | ) | [inline, static] |
Definition at line 190 of file message_traits.h.
static std::string const* ros::message_traits::FrameId< M, Enable >::pointer | ( | const M & | m | ) | [inline, static] |
Definition at line 191 of file message_traits.h.