Namespaces | Macros | Typedefs
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>
Include dependency graph for message.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ros
 

Macros

#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 std::map< std::string, std::string > ros::M_string
 

Macro Definition Documentation

#define ROSCPP_MESSAGE_HAS_DEFINITION

Definition at line 42 of file message.h.

#define SROS_DESERIALIZE_BUFFER (   ptr,
  data,
  data_size 
)    { if (data_size > 0) { memcpy(data, ptr, data_size); ptr += data_size; } }

Definition at line 83 of file message.h.

#define SROS_DESERIALIZE_PRIMITIVE (   ptr,
  data 
)    { memcpy(&data, ptr, sizeof(data)); ptr += sizeof(data); }

Definition at line 82 of file message.h.

#define SROS_SERIALIZE_BUFFER (   ptr,
  data,
  data_size 
)    { if (data_size > 0) { memcpy(ptr, data, data_size); ptr += data_size; } }

Definition at line 81 of file message.h.

#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
autogenerated on Mon Nov 2 2020 03:52:26