00001
00002 #ifndef GEOMETRY_MSGS_BOOST_SERIALIZATION_QUATERNIONSTAMPED_H
00003 #define GEOMETRY_MSGS_BOOST_SERIALIZATION_QUATERNIONSTAMPED_H
00004
00005 #include <boost/serialization/serialization.hpp>
00006 #include <boost/serialization/nvp.hpp>
00007 #include <geometry_msgs/QuaternionStamped.h>
00008 #include <ros/common.h>
00009 #if ROS_VERSION_MINIMUM(1,4,0)
00010 #include <std_msgs/Header.h>
00011 #else
00012 #include <roslib/Header.h>
00013 #endif
00014 #include "geometry_msgs/boost/Quaternion.h"
00015
00016 namespace boost
00017 {
00018 namespace serialization
00019 {
00020
00021 template<class Archive, class ContainerAllocator>
00022 void serialize(Archive& a, ::geometry_msgs::QuaternionStamped_<ContainerAllocator> & m, unsigned int)
00023 {
00024 a & make_nvp("header",m.header);
00025 a & make_nvp("quaternion",m.quaternion);
00026 }
00027
00028 }
00029 }
00030
00031 #endif // GEOMETRY_MSGS_BOOST_SERIALIZATION_QUATERNIONSTAMPED_H
00032