00001
00002 #ifndef SENSOR_MSGS_BOOST_SERIALIZATION_REGIONOFINTEREST_H
00003 #define SENSOR_MSGS_BOOST_SERIALIZATION_REGIONOFINTEREST_H
00004
00005 #include <boost/serialization/serialization.hpp>
00006 #include <boost/serialization/nvp.hpp>
00007 #include <sensor_msgs/RegionOfInterest.h>
00008
00009 namespace boost
00010 {
00011 namespace serialization
00012 {
00013
00014 template<class Archive, class ContainerAllocator>
00015 void serialize(Archive& a, ::sensor_msgs::RegionOfInterest_<ContainerAllocator> & m, unsigned int)
00016 {
00017 a & make_nvp("x_offset",m.x_offset);
00018 a & make_nvp("y_offset",m.y_offset);
00019 a & make_nvp("height",m.height);
00020 a & make_nvp("width",m.width);
00021 a & make_nvp("do_rectify",m.do_rectify);
00022 }
00023
00024 }
00025 }
00026
00027 #endif // SENSOR_MSGS_BOOST_SERIALIZATION_REGIONOFINTEREST_H
00028