00001
00002 #ifndef STD_MSGS_BOOST_SERIALIZATION_HEADER_H
00003 #define STD_MSGS_BOOST_SERIALIZATION_HEADER_H
00004
00005 #include <boost/serialization/serialization.hpp>
00006 #include <boost/serialization/nvp.hpp>
00007 #include <std_msgs/Header.h>
00008
00009 namespace boost
00010 {
00011 namespace serialization
00012 {
00013
00014 template<class Archive, class ContainerAllocator>
00015 void serialize(Archive& a, ::std_msgs::Header_<ContainerAllocator> & m, unsigned int)
00016 {
00017 a & make_nvp("seq",m.seq);
00018 a & make_nvp("stamp",m.stamp);
00019 a & make_nvp("frame_id",m.frame_id);
00020 }
00021
00022 }
00023 }
00024
00025 #endif // STD_MSGS_BOOST_SERIALIZATION_HEADER_H
00026