00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-map_msgs/doc_stacks/2013-05-31_08-20-41.450426/map_msgs/srv/SetMapProjections.srv */ 00002 #ifndef MAP_MSGS_SERVICE_SETMAPPROJECTIONS_H 00003 #define MAP_MSGS_SERVICE_SETMAPPROJECTIONS_H 00004 #include <string> 00005 #include <vector> 00006 #include <map> 00007 #include <ostream> 00008 #include "ros/serialization.h" 00009 #include "ros/builtin_message_traits.h" 00010 #include "ros/message_operations.h" 00011 #include "ros/time.h" 00012 00013 #include "ros/macros.h" 00014 00015 #include "ros/assert.h" 00016 00017 #include "ros/service_traits.h" 00018 00019 00020 00021 #include "map_msgs/ProjectedMapInfo.h" 00022 00023 namespace map_msgs 00024 { 00025 template <class ContainerAllocator> 00026 struct SetMapProjectionsRequest_ { 00027 typedef SetMapProjectionsRequest_<ContainerAllocator> Type; 00028 00029 SetMapProjectionsRequest_() 00030 { 00031 } 00032 00033 SetMapProjectionsRequest_(const ContainerAllocator& _alloc) 00034 { 00035 } 00036 00037 00038 typedef boost::shared_ptr< ::map_msgs::SetMapProjectionsRequest_<ContainerAllocator> > Ptr; 00039 typedef boost::shared_ptr< ::map_msgs::SetMapProjectionsRequest_<ContainerAllocator> const> ConstPtr; 00040 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00041 }; // struct SetMapProjectionsRequest 00042 typedef ::map_msgs::SetMapProjectionsRequest_<std::allocator<void> > SetMapProjectionsRequest; 00043 00044 typedef boost::shared_ptr< ::map_msgs::SetMapProjectionsRequest> SetMapProjectionsRequestPtr; 00045 typedef boost::shared_ptr< ::map_msgs::SetMapProjectionsRequest const> SetMapProjectionsRequestConstPtr; 00046 00047 00048 template <class ContainerAllocator> 00049 struct SetMapProjectionsResponse_ { 00050 typedef SetMapProjectionsResponse_<ContainerAllocator> Type; 00051 00052 SetMapProjectionsResponse_() 00053 : projected_maps_info() 00054 { 00055 } 00056 00057 SetMapProjectionsResponse_(const ContainerAllocator& _alloc) 00058 : projected_maps_info(_alloc) 00059 { 00060 } 00061 00062 typedef std::vector< ::map_msgs::ProjectedMapInfo_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::map_msgs::ProjectedMapInfo_<ContainerAllocator> >::other > _projected_maps_info_type; 00063 std::vector< ::map_msgs::ProjectedMapInfo_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::map_msgs::ProjectedMapInfo_<ContainerAllocator> >::other > projected_maps_info; 00064 00065 00066 typedef boost::shared_ptr< ::map_msgs::SetMapProjectionsResponse_<ContainerAllocator> > Ptr; 00067 typedef boost::shared_ptr< ::map_msgs::SetMapProjectionsResponse_<ContainerAllocator> const> ConstPtr; 00068 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00069 }; // struct SetMapProjectionsResponse 00070 typedef ::map_msgs::SetMapProjectionsResponse_<std::allocator<void> > SetMapProjectionsResponse; 00071 00072 typedef boost::shared_ptr< ::map_msgs::SetMapProjectionsResponse> SetMapProjectionsResponsePtr; 00073 typedef boost::shared_ptr< ::map_msgs::SetMapProjectionsResponse const> SetMapProjectionsResponseConstPtr; 00074 00075 struct SetMapProjections 00076 { 00077 00078 typedef SetMapProjectionsRequest Request; 00079 typedef SetMapProjectionsResponse Response; 00080 Request request; 00081 Response response; 00082 00083 typedef Request RequestType; 00084 typedef Response ResponseType; 00085 }; // struct SetMapProjections 00086 } // namespace map_msgs 00087 00088 namespace ros 00089 { 00090 namespace message_traits 00091 { 00092 template<class ContainerAllocator> struct IsMessage< ::map_msgs::SetMapProjectionsRequest_<ContainerAllocator> > : public TrueType {}; 00093 template<class ContainerAllocator> struct IsMessage< ::map_msgs::SetMapProjectionsRequest_<ContainerAllocator> const> : public TrueType {}; 00094 template<class ContainerAllocator> 00095 struct MD5Sum< ::map_msgs::SetMapProjectionsRequest_<ContainerAllocator> > { 00096 static const char* value() 00097 { 00098 return "d41d8cd98f00b204e9800998ecf8427e"; 00099 } 00100 00101 static const char* value(const ::map_msgs::SetMapProjectionsRequest_<ContainerAllocator> &) { return value(); } 00102 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00103 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00104 }; 00105 00106 template<class ContainerAllocator> 00107 struct DataType< ::map_msgs::SetMapProjectionsRequest_<ContainerAllocator> > { 00108 static const char* value() 00109 { 00110 return "map_msgs/SetMapProjectionsRequest"; 00111 } 00112 00113 static const char* value(const ::map_msgs::SetMapProjectionsRequest_<ContainerAllocator> &) { return value(); } 00114 }; 00115 00116 template<class ContainerAllocator> 00117 struct Definition< ::map_msgs::SetMapProjectionsRequest_<ContainerAllocator> > { 00118 static const char* value() 00119 { 00120 return "\n\ 00121 "; 00122 } 00123 00124 static const char* value(const ::map_msgs::SetMapProjectionsRequest_<ContainerAllocator> &) { return value(); } 00125 }; 00126 00127 template<class ContainerAllocator> struct IsFixedSize< ::map_msgs::SetMapProjectionsRequest_<ContainerAllocator> > : public TrueType {}; 00128 } // namespace message_traits 00129 } // namespace ros 00130 00131 00132 namespace ros 00133 { 00134 namespace message_traits 00135 { 00136 template<class ContainerAllocator> struct IsMessage< ::map_msgs::SetMapProjectionsResponse_<ContainerAllocator> > : public TrueType {}; 00137 template<class ContainerAllocator> struct IsMessage< ::map_msgs::SetMapProjectionsResponse_<ContainerAllocator> const> : public TrueType {}; 00138 template<class ContainerAllocator> 00139 struct MD5Sum< ::map_msgs::SetMapProjectionsResponse_<ContainerAllocator> > { 00140 static const char* value() 00141 { 00142 return "d7980a33202421c8cd74565e57a4d229"; 00143 } 00144 00145 static const char* value(const ::map_msgs::SetMapProjectionsResponse_<ContainerAllocator> &) { return value(); } 00146 static const uint64_t static_value1 = 0xd7980a33202421c8ULL; 00147 static const uint64_t static_value2 = 0xcd74565e57a4d229ULL; 00148 }; 00149 00150 template<class ContainerAllocator> 00151 struct DataType< ::map_msgs::SetMapProjectionsResponse_<ContainerAllocator> > { 00152 static const char* value() 00153 { 00154 return "map_msgs/SetMapProjectionsResponse"; 00155 } 00156 00157 static const char* value(const ::map_msgs::SetMapProjectionsResponse_<ContainerAllocator> &) { return value(); } 00158 }; 00159 00160 template<class ContainerAllocator> 00161 struct Definition< ::map_msgs::SetMapProjectionsResponse_<ContainerAllocator> > { 00162 static const char* value() 00163 { 00164 return "map_msgs/ProjectedMapInfo[] projected_maps_info\n\ 00165 \n\ 00166 \n\ 00167 ================================================================================\n\ 00168 MSG: map_msgs/ProjectedMapInfo\n\ 00169 string frame_id\n\ 00170 float64 x\n\ 00171 float64 y\n\ 00172 float64 width\n\ 00173 float64 height\n\ 00174 float64 min_z\n\ 00175 float64 max_z\n\ 00176 "; 00177 } 00178 00179 static const char* value(const ::map_msgs::SetMapProjectionsResponse_<ContainerAllocator> &) { return value(); } 00180 }; 00181 00182 } // namespace message_traits 00183 } // namespace ros 00184 00185 namespace ros 00186 { 00187 namespace serialization 00188 { 00189 00190 template<class ContainerAllocator> struct Serializer< ::map_msgs::SetMapProjectionsRequest_<ContainerAllocator> > 00191 { 00192 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00193 { 00194 } 00195 00196 ROS_DECLARE_ALLINONE_SERIALIZER; 00197 }; // struct SetMapProjectionsRequest_ 00198 } // namespace serialization 00199 } // namespace ros 00200 00201 00202 namespace ros 00203 { 00204 namespace serialization 00205 { 00206 00207 template<class ContainerAllocator> struct Serializer< ::map_msgs::SetMapProjectionsResponse_<ContainerAllocator> > 00208 { 00209 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00210 { 00211 stream.next(m.projected_maps_info); 00212 } 00213 00214 ROS_DECLARE_ALLINONE_SERIALIZER; 00215 }; // struct SetMapProjectionsResponse_ 00216 } // namespace serialization 00217 } // namespace ros 00218 00219 namespace ros 00220 { 00221 namespace service_traits 00222 { 00223 template<> 00224 struct MD5Sum<map_msgs::SetMapProjections> { 00225 static const char* value() 00226 { 00227 return "d7980a33202421c8cd74565e57a4d229"; 00228 } 00229 00230 static const char* value(const map_msgs::SetMapProjections&) { return value(); } 00231 }; 00232 00233 template<> 00234 struct DataType<map_msgs::SetMapProjections> { 00235 static const char* value() 00236 { 00237 return "map_msgs/SetMapProjections"; 00238 } 00239 00240 static const char* value(const map_msgs::SetMapProjections&) { return value(); } 00241 }; 00242 00243 template<class ContainerAllocator> 00244 struct MD5Sum<map_msgs::SetMapProjectionsRequest_<ContainerAllocator> > { 00245 static const char* value() 00246 { 00247 return "d7980a33202421c8cd74565e57a4d229"; 00248 } 00249 00250 static const char* value(const map_msgs::SetMapProjectionsRequest_<ContainerAllocator> &) { return value(); } 00251 }; 00252 00253 template<class ContainerAllocator> 00254 struct DataType<map_msgs::SetMapProjectionsRequest_<ContainerAllocator> > { 00255 static const char* value() 00256 { 00257 return "map_msgs/SetMapProjections"; 00258 } 00259 00260 static const char* value(const map_msgs::SetMapProjectionsRequest_<ContainerAllocator> &) { return value(); } 00261 }; 00262 00263 template<class ContainerAllocator> 00264 struct MD5Sum<map_msgs::SetMapProjectionsResponse_<ContainerAllocator> > { 00265 static const char* value() 00266 { 00267 return "d7980a33202421c8cd74565e57a4d229"; 00268 } 00269 00270 static const char* value(const map_msgs::SetMapProjectionsResponse_<ContainerAllocator> &) { return value(); } 00271 }; 00272 00273 template<class ContainerAllocator> 00274 struct DataType<map_msgs::SetMapProjectionsResponse_<ContainerAllocator> > { 00275 static const char* value() 00276 { 00277 return "map_msgs/SetMapProjections"; 00278 } 00279 00280 static const char* value(const map_msgs::SetMapProjectionsResponse_<ContainerAllocator> &) { return value(); } 00281 }; 00282 00283 } // namespace service_traits 00284 } // namespace ros 00285 00286 #endif // MAP_MSGS_SERVICE_SETMAPPROJECTIONS_H 00287