#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.
|
#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); } |
|
◆ ROSCPP_MESSAGE_HAS_DEFINITION
#define ROSCPP_MESSAGE_HAS_DEFINITION |
◆ SROS_DESERIALIZE_BUFFER
#define SROS_DESERIALIZE_BUFFER |
( |
|
ptr, |
|
|
|
data, |
|
|
|
data_size |
|
) |
| { if (data_size > 0) { memcpy(data, ptr, data_size); ptr += data_size; } } |
◆ SROS_DESERIALIZE_PRIMITIVE
#define SROS_DESERIALIZE_PRIMITIVE |
( |
|
ptr, |
|
|
|
data |
|
) |
| { memcpy(&data, ptr, sizeof(data)); ptr += sizeof(data); } |
◆ SROS_SERIALIZE_BUFFER
#define SROS_SERIALIZE_BUFFER |
( |
|
ptr, |
|
|
|
data, |
|
|
|
data_size |
|
) |
| { if (data_size > 0) { memcpy(ptr, data, data_size); ptr += data_size; } } |
◆ SROS_SERIALIZE_PRIMITIVE
#define SROS_SERIALIZE_PRIMITIVE |
( |
|
ptr, |
|
|
|
data |
|
) |
| { memcpy(ptr, &data, sizeof(data)); ptr += sizeof(data); } |
- Deprecated:
- This base-class is deprecated in favor of a template-based serialization and traits system
Definition at line 80 of file message.h.
roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
, Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:36