00001
00002 #ifndef GEOMETRY_MSGS_BOOST_SERIALIZATION_QUATERNION_H
00003 #define GEOMETRY_MSGS_BOOST_SERIALIZATION_QUATERNION_H
00004
00005 #include <boost/serialization/serialization.hpp>
00006 #include <boost/serialization/nvp.hpp>
00007 #include <geometry_msgs/Quaternion.h>
00008
00009 namespace boost
00010 {
00011 namespace serialization
00012 {
00013
00014 template<class Archive, class ContainerAllocator>
00015 void serialize(Archive& a, ::geometry_msgs::Quaternion_<ContainerAllocator> & m, unsigned int)
00016 {
00017 a & make_nvp("x",m.x);
00018 a & make_nvp("y",m.y);
00019 a & make_nvp("z",m.z);
00020 a & make_nvp("w",m.w);
00021 }
00022
00023 }
00024 }
00025
00026 #endif // GEOMETRY_MSGS_BOOST_SERIALIZATION_QUATERNION_H
00027