Classes | |
struct | DataType |
Specialize to provide the datatype for a message. More... | |
struct | Definition |
Specialize to provide the definition for a message. More... | |
struct | FalseType |
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this type are false values. More... | |
struct | FrameId |
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... | |
struct | FrameId< M, typename boost::enable_if< HasHeader< M > >::type > |
struct | HasHeader |
HasHeader informs whether or not there is a header that gets serialized as the first thing in the message. More... | |
struct | Header |
Header trait. In the default implementation pointer() returns &m.header if HasHeader<M>::value is true, otherwise returns NULL. More... | |
struct | Header< M, typename boost::enable_if< HasHeader< M > >::type > |
struct | IsFixedSize |
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings. More... | |
struct | IsFixedSize< bool > |
struct | IsMessage |
Am I message or not. More... | |
struct | IsSimple |
A simple datatype is one that can be memcpy'd directly in array form, i.e. it's a POD, fixed-size type and sizeof(M) == sum(serializationLength(M:a...)) More... | |
struct | MD5Sum |
Specialize to provide the md5sum for a message. More... | |
struct | TimeStamp |
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... | |
struct | TimeStamp< M, typename boost::enable_if< HasHeader< M > >::type > |
struct | TrueType |
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this type are true values. More... | |
Functions | |
template<typename M > | |
const char * | datatype () |
returns DataType<M>::value(); More... | |
template<typename M > | |
const char * | datatype (const M &m) |
returns DataType<M>::value(m); More... | |
template<typename M > | |
const char * | definition () |
returns Definition<M>::value(); More... | |
template<typename M > | |
const char * | definition (const M &m) |
returns Definition<M>::value(m); More... | |
template<typename M > | |
std::string const * | frameId (const M &m) |
returns FrameId<M>::pointer(m); More... | |
template<typename M > | |
std::string * | frameId (M &m) |
returns FrameId<M>::pointer(m); More... | |
template<typename M > | |
bool | hasHeader () |
returns HasHeader<M>::value; More... | |
template<typename M > | |
std_msgs::Header const * | header (const M &m) |
returns Header<M>::pointer(m); More... | |
template<typename M > | |
std_msgs::Header * | header (M &m) |
returns Header<M>::pointer(m); More... | |
template<typename M > | |
bool | isFixedSize () |
returns IsFixedSize<M>::value; More... | |
template<typename M > | |
bool | isSimple () |
returns IsSimple<M>::value; More... | |
template<typename M > | |
const char * | md5sum () |
returns MD5Sum<M>::value(); More... | |
template<typename M > | |
const char * | md5sum (const M &m) |
returns MD5Sum<M>::value(m); More... | |
template<typename M > | |
ros::Time const * | timeStamp (const M &m) |
returns TimeStamp<M>::pointer(m); More... | |
template<typename M > | |
ros::Time * | timeStamp (M &m) |
returns TimeStamp<M>::pointer(m); More... | |
|
inline |
returns DataType<M>::value();
Definition at line 234 of file message_traits.h.
|
inline |
returns DataType<M>::value(m);
Definition at line 261 of file message_traits.h.
|
inline |
returns Definition<M>::value();
Definition at line 243 of file message_traits.h.
|
inline |
returns Definition<M>::value(m);
Definition at line 270 of file message_traits.h.
|
inline |
returns FrameId<M>::pointer(m);
Definition at line 306 of file message_traits.h.
|
inline |
returns FrameId<M>::pointer(m);
Definition at line 297 of file message_traits.h.
|
inline |
returns HasHeader<M>::value;
Definition at line 351 of file message_traits.h.
|
inline |
returns Header<M>::pointer(m);
Definition at line 288 of file message_traits.h.
|
inline |
returns Header<M>::pointer(m);
Definition at line 279 of file message_traits.h.
|
inline |
returns IsFixedSize<M>::value;
Definition at line 342 of file message_traits.h.
|
inline |
returns IsSimple<M>::value;
Definition at line 333 of file message_traits.h.
|
inline |
returns MD5Sum<M>::value();
Definition at line 225 of file message_traits.h.
|
inline |
returns MD5Sum<M>::value(m);
Definition at line 252 of file message_traits.h.
|
inline |
returns TimeStamp<M>::pointer(m);
Definition at line 324 of file message_traits.h.
|
inline |
returns TimeStamp<M>::pointer(m);
Definition at line 315 of file message_traits.h.