$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-srs_public/doc_stacks/2013-03-05_12-22-34.333426/srs_public/srs_env_model/srv/IsNewCollisionMap.srv */ 00002 #ifndef SRS_ENV_MODEL_SERVICE_ISNEWCOLLISIONMAP_H 00003 #define SRS_ENV_MODEL_SERVICE_ISNEWCOLLISIONMAP_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 00022 namespace srs_env_model 00023 { 00024 template <class ContainerAllocator> 00025 struct IsNewCollisionMapRequest_ { 00026 typedef IsNewCollisionMapRequest_<ContainerAllocator> Type; 00027 00028 IsNewCollisionMapRequest_() 00029 : my_time() 00030 { 00031 } 00032 00033 IsNewCollisionMapRequest_(const ContainerAllocator& _alloc) 00034 : my_time() 00035 { 00036 } 00037 00038 typedef ros::Time _my_time_type; 00039 ros::Time my_time; 00040 00041 00042 private: 00043 static const char* __s_getDataType_() { return "srs_env_model/IsNewCollisionMapRequest"; } 00044 public: 00045 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00046 00047 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00048 00049 private: 00050 static const char* __s_getMD5Sum_() { return "60f189e40cfeaefbc79e6cdbd1605364"; } 00051 public: 00052 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00053 00054 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00055 00056 private: 00057 static const char* __s_getServerMD5Sum_() { return "9928155b25d14a5d033ef79b80eca3b3"; } 00058 public: 00059 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00060 00061 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00062 00063 private: 00064 static const char* __s_getMessageDefinition_() { return "time my_time\n\ 00065 \n\ 00066 "; } 00067 public: 00068 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00069 00070 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00071 00072 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00073 { 00074 ros::serialization::OStream stream(write_ptr, 1000000000); 00075 ros::serialization::serialize(stream, my_time); 00076 return stream.getData(); 00077 } 00078 00079 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00080 { 00081 ros::serialization::IStream stream(read_ptr, 1000000000); 00082 ros::serialization::deserialize(stream, my_time); 00083 return stream.getData(); 00084 } 00085 00086 ROS_DEPRECATED virtual uint32_t serializationLength() const 00087 { 00088 uint32_t size = 0; 00089 size += ros::serialization::serializationLength(my_time); 00090 return size; 00091 } 00092 00093 typedef boost::shared_ptr< ::srs_env_model::IsNewCollisionMapRequest_<ContainerAllocator> > Ptr; 00094 typedef boost::shared_ptr< ::srs_env_model::IsNewCollisionMapRequest_<ContainerAllocator> const> ConstPtr; 00095 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00096 }; // struct IsNewCollisionMapRequest 00097 typedef ::srs_env_model::IsNewCollisionMapRequest_<std::allocator<void> > IsNewCollisionMapRequest; 00098 00099 typedef boost::shared_ptr< ::srs_env_model::IsNewCollisionMapRequest> IsNewCollisionMapRequestPtr; 00100 typedef boost::shared_ptr< ::srs_env_model::IsNewCollisionMapRequest const> IsNewCollisionMapRequestConstPtr; 00101 00102 00103 template <class ContainerAllocator> 00104 struct IsNewCollisionMapResponse_ { 00105 typedef IsNewCollisionMapResponse_<ContainerAllocator> Type; 00106 00107 IsNewCollisionMapResponse_() 00108 : is_newer(false) 00109 , current_time() 00110 { 00111 } 00112 00113 IsNewCollisionMapResponse_(const ContainerAllocator& _alloc) 00114 : is_newer(false) 00115 , current_time() 00116 { 00117 } 00118 00119 typedef uint8_t _is_newer_type; 00120 uint8_t is_newer; 00121 00122 typedef ros::Time _current_time_type; 00123 ros::Time current_time; 00124 00125 00126 private: 00127 static const char* __s_getDataType_() { return "srs_env_model/IsNewCollisionMapResponse"; } 00128 public: 00129 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00130 00131 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00132 00133 private: 00134 static const char* __s_getMD5Sum_() { return "9d82448ef4bfb7c92da723676c3e0b3b"; } 00135 public: 00136 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00137 00138 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00139 00140 private: 00141 static const char* __s_getServerMD5Sum_() { return "9928155b25d14a5d033ef79b80eca3b3"; } 00142 public: 00143 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00144 00145 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00146 00147 private: 00148 static const char* __s_getMessageDefinition_() { return "bool is_newer\n\ 00149 time current_time\n\ 00150 \n\ 00151 "; } 00152 public: 00153 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00154 00155 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00156 00157 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00158 { 00159 ros::serialization::OStream stream(write_ptr, 1000000000); 00160 ros::serialization::serialize(stream, is_newer); 00161 ros::serialization::serialize(stream, current_time); 00162 return stream.getData(); 00163 } 00164 00165 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00166 { 00167 ros::serialization::IStream stream(read_ptr, 1000000000); 00168 ros::serialization::deserialize(stream, is_newer); 00169 ros::serialization::deserialize(stream, current_time); 00170 return stream.getData(); 00171 } 00172 00173 ROS_DEPRECATED virtual uint32_t serializationLength() const 00174 { 00175 uint32_t size = 0; 00176 size += ros::serialization::serializationLength(is_newer); 00177 size += ros::serialization::serializationLength(current_time); 00178 return size; 00179 } 00180 00181 typedef boost::shared_ptr< ::srs_env_model::IsNewCollisionMapResponse_<ContainerAllocator> > Ptr; 00182 typedef boost::shared_ptr< ::srs_env_model::IsNewCollisionMapResponse_<ContainerAllocator> const> ConstPtr; 00183 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00184 }; // struct IsNewCollisionMapResponse 00185 typedef ::srs_env_model::IsNewCollisionMapResponse_<std::allocator<void> > IsNewCollisionMapResponse; 00186 00187 typedef boost::shared_ptr< ::srs_env_model::IsNewCollisionMapResponse> IsNewCollisionMapResponsePtr; 00188 typedef boost::shared_ptr< ::srs_env_model::IsNewCollisionMapResponse const> IsNewCollisionMapResponseConstPtr; 00189 00190 struct IsNewCollisionMap 00191 { 00192 00193 typedef IsNewCollisionMapRequest Request; 00194 typedef IsNewCollisionMapResponse Response; 00195 Request request; 00196 Response response; 00197 00198 typedef Request RequestType; 00199 typedef Response ResponseType; 00200 }; // struct IsNewCollisionMap 00201 } // namespace srs_env_model 00202 00203 namespace ros 00204 { 00205 namespace message_traits 00206 { 00207 template<class ContainerAllocator> struct IsMessage< ::srs_env_model::IsNewCollisionMapRequest_<ContainerAllocator> > : public TrueType {}; 00208 template<class ContainerAllocator> struct IsMessage< ::srs_env_model::IsNewCollisionMapRequest_<ContainerAllocator> const> : public TrueType {}; 00209 template<class ContainerAllocator> 00210 struct MD5Sum< ::srs_env_model::IsNewCollisionMapRequest_<ContainerAllocator> > { 00211 static const char* value() 00212 { 00213 return "60f189e40cfeaefbc79e6cdbd1605364"; 00214 } 00215 00216 static const char* value(const ::srs_env_model::IsNewCollisionMapRequest_<ContainerAllocator> &) { return value(); } 00217 static const uint64_t static_value1 = 0x60f189e40cfeaefbULL; 00218 static const uint64_t static_value2 = 0xc79e6cdbd1605364ULL; 00219 }; 00220 00221 template<class ContainerAllocator> 00222 struct DataType< ::srs_env_model::IsNewCollisionMapRequest_<ContainerAllocator> > { 00223 static const char* value() 00224 { 00225 return "srs_env_model/IsNewCollisionMapRequest"; 00226 } 00227 00228 static const char* value(const ::srs_env_model::IsNewCollisionMapRequest_<ContainerAllocator> &) { return value(); } 00229 }; 00230 00231 template<class ContainerAllocator> 00232 struct Definition< ::srs_env_model::IsNewCollisionMapRequest_<ContainerAllocator> > { 00233 static const char* value() 00234 { 00235 return "time my_time\n\ 00236 \n\ 00237 "; 00238 } 00239 00240 static const char* value(const ::srs_env_model::IsNewCollisionMapRequest_<ContainerAllocator> &) { return value(); } 00241 }; 00242 00243 template<class ContainerAllocator> struct IsFixedSize< ::srs_env_model::IsNewCollisionMapRequest_<ContainerAllocator> > : public TrueType {}; 00244 } // namespace message_traits 00245 } // namespace ros 00246 00247 00248 namespace ros 00249 { 00250 namespace message_traits 00251 { 00252 template<class ContainerAllocator> struct IsMessage< ::srs_env_model::IsNewCollisionMapResponse_<ContainerAllocator> > : public TrueType {}; 00253 template<class ContainerAllocator> struct IsMessage< ::srs_env_model::IsNewCollisionMapResponse_<ContainerAllocator> const> : public TrueType {}; 00254 template<class ContainerAllocator> 00255 struct MD5Sum< ::srs_env_model::IsNewCollisionMapResponse_<ContainerAllocator> > { 00256 static const char* value() 00257 { 00258 return "9d82448ef4bfb7c92da723676c3e0b3b"; 00259 } 00260 00261 static const char* value(const ::srs_env_model::IsNewCollisionMapResponse_<ContainerAllocator> &) { return value(); } 00262 static const uint64_t static_value1 = 0x9d82448ef4bfb7c9ULL; 00263 static const uint64_t static_value2 = 0x2da723676c3e0b3bULL; 00264 }; 00265 00266 template<class ContainerAllocator> 00267 struct DataType< ::srs_env_model::IsNewCollisionMapResponse_<ContainerAllocator> > { 00268 static const char* value() 00269 { 00270 return "srs_env_model/IsNewCollisionMapResponse"; 00271 } 00272 00273 static const char* value(const ::srs_env_model::IsNewCollisionMapResponse_<ContainerAllocator> &) { return value(); } 00274 }; 00275 00276 template<class ContainerAllocator> 00277 struct Definition< ::srs_env_model::IsNewCollisionMapResponse_<ContainerAllocator> > { 00278 static const char* value() 00279 { 00280 return "bool is_newer\n\ 00281 time current_time\n\ 00282 \n\ 00283 "; 00284 } 00285 00286 static const char* value(const ::srs_env_model::IsNewCollisionMapResponse_<ContainerAllocator> &) { return value(); } 00287 }; 00288 00289 template<class ContainerAllocator> struct IsFixedSize< ::srs_env_model::IsNewCollisionMapResponse_<ContainerAllocator> > : public TrueType {}; 00290 } // namespace message_traits 00291 } // namespace ros 00292 00293 namespace ros 00294 { 00295 namespace serialization 00296 { 00297 00298 template<class ContainerAllocator> struct Serializer< ::srs_env_model::IsNewCollisionMapRequest_<ContainerAllocator> > 00299 { 00300 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00301 { 00302 stream.next(m.my_time); 00303 } 00304 00305 ROS_DECLARE_ALLINONE_SERIALIZER; 00306 }; // struct IsNewCollisionMapRequest_ 00307 } // namespace serialization 00308 } // namespace ros 00309 00310 00311 namespace ros 00312 { 00313 namespace serialization 00314 { 00315 00316 template<class ContainerAllocator> struct Serializer< ::srs_env_model::IsNewCollisionMapResponse_<ContainerAllocator> > 00317 { 00318 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00319 { 00320 stream.next(m.is_newer); 00321 stream.next(m.current_time); 00322 } 00323 00324 ROS_DECLARE_ALLINONE_SERIALIZER; 00325 }; // struct IsNewCollisionMapResponse_ 00326 } // namespace serialization 00327 } // namespace ros 00328 00329 namespace ros 00330 { 00331 namespace service_traits 00332 { 00333 template<> 00334 struct MD5Sum<srs_env_model::IsNewCollisionMap> { 00335 static const char* value() 00336 { 00337 return "9928155b25d14a5d033ef79b80eca3b3"; 00338 } 00339 00340 static const char* value(const srs_env_model::IsNewCollisionMap&) { return value(); } 00341 }; 00342 00343 template<> 00344 struct DataType<srs_env_model::IsNewCollisionMap> { 00345 static const char* value() 00346 { 00347 return "srs_env_model/IsNewCollisionMap"; 00348 } 00349 00350 static const char* value(const srs_env_model::IsNewCollisionMap&) { return value(); } 00351 }; 00352 00353 template<class ContainerAllocator> 00354 struct MD5Sum<srs_env_model::IsNewCollisionMapRequest_<ContainerAllocator> > { 00355 static const char* value() 00356 { 00357 return "9928155b25d14a5d033ef79b80eca3b3"; 00358 } 00359 00360 static const char* value(const srs_env_model::IsNewCollisionMapRequest_<ContainerAllocator> &) { return value(); } 00361 }; 00362 00363 template<class ContainerAllocator> 00364 struct DataType<srs_env_model::IsNewCollisionMapRequest_<ContainerAllocator> > { 00365 static const char* value() 00366 { 00367 return "srs_env_model/IsNewCollisionMap"; 00368 } 00369 00370 static const char* value(const srs_env_model::IsNewCollisionMapRequest_<ContainerAllocator> &) { return value(); } 00371 }; 00372 00373 template<class ContainerAllocator> 00374 struct MD5Sum<srs_env_model::IsNewCollisionMapResponse_<ContainerAllocator> > { 00375 static const char* value() 00376 { 00377 return "9928155b25d14a5d033ef79b80eca3b3"; 00378 } 00379 00380 static const char* value(const srs_env_model::IsNewCollisionMapResponse_<ContainerAllocator> &) { return value(); } 00381 }; 00382 00383 template<class ContainerAllocator> 00384 struct DataType<srs_env_model::IsNewCollisionMapResponse_<ContainerAllocator> > { 00385 static const char* value() 00386 { 00387 return "srs_env_model/IsNewCollisionMap"; 00388 } 00389 00390 static const char* value(const srs_env_model::IsNewCollisionMapResponse_<ContainerAllocator> &) { return value(); } 00391 }; 00392 00393 } // namespace service_traits 00394 } // namespace ros 00395 00396 #endif // SRS_ENV_MODEL_SERVICE_ISNEWCOLLISIONMAP_H 00397