Namespaces | Defines
header.cpp File Reference
#include "ros/header.h"
#include "ros/transport/transport.h"
#include <ros/console.h>
#include <ros/assert.h>
#include <sstream>
#include <cerrno>
Include dependency graph for header.cpp:

Go to the source code of this file.

Namespaces

namespace  ros

Defines

#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); }

Define Documentation

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

Definition at line 47 of file header.cpp.

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

Definition at line 46 of file header.cpp.

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

Definition at line 45 of file header.cpp.

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

Definition at line 44 of file header.cpp.



roscpp
Author(s): Morgan Quigley mquigley@cs.stanford.edu, Josh Faust jfaust@willowgarage.com, Brian Gerkey gerkey@willowgarage.com, Troy Straszheim straszheim@willowgarage.com
autogenerated on Sat Dec 28 2013 17:35:53