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 * | frameId (M &m) |
returns FrameId<M>::pointer(m); More... | |
template<typename M > | |
std::string const * | frameId (const M &m) |
returns FrameId<M>::pointer(m); More... | |
template<typename M > | |
bool | hasHeader () |
returns HasHeader<M>::value; More... | |
template<typename M > | |
std_msgs::Header * | header (M &m) |
returns Header<M>::pointer(m); More... | |
template<typename M > | |
std_msgs::Header const * | header (const 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 * | timeStamp (M &m) |
returns TimeStamp<M>::pointer(m); More... | |
template<typename M > | |
ros::Time const * | timeStamp (const M &m) |
returns TimeStamp<M>::pointer(m); More... | |
|
inline |
returns DataType<M>::value();
Definition at line 235 of file message_traits.h.
|
inline |
returns DataType<M>::value(m);
Definition at line 262 of file message_traits.h.
|
inline |
returns Definition<M>::value();
Definition at line 244 of file message_traits.h.
|
inline |
returns Definition<M>::value(m);
Definition at line 271 of file message_traits.h.
|
inline |
returns FrameId<M>::pointer(m);
Definition at line 298 of file message_traits.h.
|
inline |
returns FrameId<M>::pointer(m);
Definition at line 307 of file message_traits.h.
|
inline |
returns HasHeader<M>::value;
Definition at line 352 of file message_traits.h.
|
inline |
returns Header<M>::pointer(m);
Definition at line 280 of file message_traits.h.
|
inline |
returns Header<M>::pointer(m);
Definition at line 289 of file message_traits.h.
|
inline |
returns IsFixedSize<M>::value;
Definition at line 343 of file message_traits.h.
|
inline |
returns IsSimple<M>::value;
Definition at line 334 of file message_traits.h.
|
inline |
returns MD5Sum<M>::value();
Definition at line 226 of file message_traits.h.
|
inline |
returns MD5Sum<M>::value(m);
Definition at line 253 of file message_traits.h.
|
inline |
returns TimeStamp<M>::pointer(m);
Definition at line 316 of file message_traits.h.
|
inline |
returns TimeStamp<M>::pointer(m);
Definition at line 325 of file message_traits.h.