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(); | |
template<typename M > | |
const char * | datatype (const M &m) |
returns DataType<M>::value(m); | |
template<typename M > | |
const char * | definition () |
returns Definition<M>::value(); | |
template<typename M > | |
const char * | definition (const M &m) |
returns Definition<M>::value(m); | |
template<typename M > | |
std::string * | frameId (M &m) |
returns FrameId<M>::pointer(m); | |
template<typename M > | |
std::string const * | frameId (const M &m) |
returns FrameId<M>::pointer(m); | |
template<typename M > | |
bool | hasHeader () |
returns HasHeader<M>::value; | |
template<typename M > | |
std_msgs::Header * | header (M &m) |
returns Header<M>::pointer(m); | |
template<typename M > | |
std_msgs::Header const * | header (const M &m) |
returns Header<M>::pointer(m); | |
template<typename M > | |
bool | isFixedSize () |
returns IsFixedSize<M>::value; | |
template<typename M > | |
bool | isSimple () |
returns IsSimple<M>::value; | |
template<typename M > | |
const char * | md5sum () |
returns MD5Sum<M>::value(); | |
template<typename M > | |
const char * | md5sum (const M &m) |
returns MD5Sum<M>::value(m); | |
ROSLIB_CREATE_SIMPLE_TRAITS (uint8_t) | |
ROSLIB_CREATE_SIMPLE_TRAITS (int8_t) | |
ROSLIB_CREATE_SIMPLE_TRAITS (uint16_t) | |
ROSLIB_CREATE_SIMPLE_TRAITS (int16_t) | |
ROSLIB_CREATE_SIMPLE_TRAITS (uint32_t) | |
ROSLIB_CREATE_SIMPLE_TRAITS (int32_t) | |
ROSLIB_CREATE_SIMPLE_TRAITS (uint64_t) | |
ROSLIB_CREATE_SIMPLE_TRAITS (int64_t) | |
ROSLIB_CREATE_SIMPLE_TRAITS (float) | |
ROSLIB_CREATE_SIMPLE_TRAITS (double) | |
ROSLIB_CREATE_SIMPLE_TRAITS (Time) | |
ROSLIB_CREATE_SIMPLE_TRAITS (Duration) | |
template<typename M > | |
ros::Time * | timeStamp (M &m) |
returns TimeStamp<M>::pointer(m); | |
template<typename M > | |
ros::Time const * | timeStamp (const M &m) |
returns TimeStamp<M>::pointer(m); |
const char* ros::message_traits::datatype | ( | ) | [inline] |
returns DataType<M>::value();
Definition at line 235 of file message_traits.h.
const char* ros::message_traits::datatype | ( | const M & | m | ) | [inline] |
returns DataType<M>::value(m);
Definition at line 262 of file message_traits.h.
const char* ros::message_traits::definition | ( | ) | [inline] |
returns Definition<M>::value();
Definition at line 244 of file message_traits.h.
const char* ros::message_traits::definition | ( | const M & | m | ) | [inline] |
returns Definition<M>::value(m);
Definition at line 271 of file message_traits.h.
std::string* ros::message_traits::frameId | ( | M & | m | ) | [inline] |
returns FrameId<M>::pointer(m);
Definition at line 298 of file message_traits.h.
std::string const* ros::message_traits::frameId | ( | const M & | m | ) | [inline] |
returns FrameId<M>::pointer(m);
Definition at line 307 of file message_traits.h.
bool ros::message_traits::hasHeader | ( | ) | [inline] |
returns HasHeader<M>::value;
Definition at line 352 of file message_traits.h.
std_msgs::Header* ros::message_traits::header | ( | M & | m | ) | [inline] |
returns Header<M>::pointer(m);
Definition at line 280 of file message_traits.h.
std_msgs::Header const* ros::message_traits::header | ( | const M & | m | ) | [inline] |
returns Header<M>::pointer(m);
Definition at line 289 of file message_traits.h.
bool ros::message_traits::isFixedSize | ( | ) | [inline] |
returns IsFixedSize<M>::value;
Definition at line 343 of file message_traits.h.
bool ros::message_traits::isSimple | ( | ) | [inline] |
returns IsSimple<M>::value;
Definition at line 334 of file message_traits.h.
const char* ros::message_traits::md5sum | ( | ) | [inline] |
returns MD5Sum<M>::value();
Definition at line 226 of file message_traits.h.
const char* ros::message_traits::md5sum | ( | const M & | m | ) | [inline] |
returns MD5Sum<M>::value(m);
Definition at line 253 of file message_traits.h.
ros::message_traits::ROSLIB_CREATE_SIMPLE_TRAITS | ( | uint8_t | ) |
ros::message_traits::ROSLIB_CREATE_SIMPLE_TRAITS | ( | uint16_t | ) |
ros::message_traits::ROSLIB_CREATE_SIMPLE_TRAITS | ( | int16_t | ) |
ros::message_traits::ROSLIB_CREATE_SIMPLE_TRAITS | ( | uint32_t | ) |
ros::message_traits::ROSLIB_CREATE_SIMPLE_TRAITS | ( | int32_t | ) |
ros::message_traits::ROSLIB_CREATE_SIMPLE_TRAITS | ( | uint64_t | ) |
ros::message_traits::ROSLIB_CREATE_SIMPLE_TRAITS | ( | int64_t | ) |
ros::message_traits::ROSLIB_CREATE_SIMPLE_TRAITS | ( | Duration | ) |
ros::Time* ros::message_traits::timeStamp | ( | M & | m | ) | [inline] |
returns TimeStamp<M>::pointer(m);
Definition at line 316 of file message_traits.h.
ros::Time const* ros::message_traits::timeStamp | ( | const M & | m | ) | [inline] |
returns TimeStamp<M>::pointer(m);
Definition at line 325 of file message_traits.h.