message.h File Reference
#include "ros/macros.h"
#include "ros/assert.h"
#include <string>
#include <string.h>
#include <boost/shared_ptr.hpp>
#include <boost/array.hpp>
#include <stdint.h>
Go to the source code of this file.
Classes |
class | ros::Message |
Namespaces |
namespace | ros |
Defines |
#define | ROSCPP_MESSAGE_HAS_DEFINITION |
#define | SROS_DESERIALIZE_BUFFER(ptr, data, data_size) { if (data_size > 0) { memcpy(data, ptr, data_size); ptr += data_size; } } |
#define | SROS_DESERIALIZE_PRIMITIVE(ptr, data) { memcpy(&data, ptr, sizeof(data)); ptr += sizeof(data); } |
#define | SROS_SERIALIZE_BUFFER(ptr, data, data_size) { if (data_size > 0) { memcpy(ptr, data, data_size); ptr += data_size; } } |
#define | SROS_SERIALIZE_PRIMITIVE(ptr, data) { memcpy(ptr, &data, sizeof(data)); ptr += sizeof(data); } |
Typedefs |
typedef boost::shared_ptr
< Message const > | ros::MessageConstPtr |
typedef boost::shared_ptr
< Message > | ros::MessagePtr |
Define Documentation
#define ROSCPP_MESSAGE_HAS_DEFINITION |
#define SROS_DESERIALIZE_BUFFER |
( |
ptr, |
|
|
data, |
|
|
data_size |
|
) |
{ if (data_size > 0) { memcpy(data, ptr, data_size); ptr += data_size; } } |
#define SROS_DESERIALIZE_PRIMITIVE |
( |
ptr, |
|
|
data |
|
) |
{ memcpy(&data, ptr, sizeof(data)); ptr += sizeof(data); } |
#define SROS_SERIALIZE_BUFFER |
( |
ptr, |
|
|
data, |
|
|
data_size |
|
) |
{ if (data_size > 0) { memcpy(ptr, data, data_size); ptr += data_size; } } |
#define SROS_SERIALIZE_PRIMITIVE |
( |
ptr, |
|
|
data |
|
) |
{ memcpy(ptr, &data, sizeof(data)); ptr += sizeof(data); } |