$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-bosch_image_proc/doc_stacks/2013-03-03_11-05-56.754251/bosch_image_proc/camera_self_filter/srv/mask.srv */ 00002 #ifndef CAMERA_SELF_FILTER_SERVICE_MASK_H 00003 #define CAMERA_SELF_FILTER_SERVICE_MASK_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 #include "std_msgs/Header.h" 00020 00021 00022 #include "sensor_msgs/Image.h" 00023 00024 namespace camera_self_filter 00025 { 00026 template <class ContainerAllocator> 00027 struct maskRequest_ { 00028 typedef maskRequest_<ContainerAllocator> Type; 00029 00030 maskRequest_() 00031 : header() 00032 { 00033 } 00034 00035 maskRequest_(const ContainerAllocator& _alloc) 00036 : header(_alloc) 00037 { 00038 } 00039 00040 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00041 ::std_msgs::Header_<ContainerAllocator> header; 00042 00043 00044 private: 00045 static const char* __s_getDataType_() { return "camera_self_filter/maskRequest"; } 00046 public: 00047 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00048 00049 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00050 00051 private: 00052 static const char* __s_getMD5Sum_() { return "d7be0bb39af8fb9129d5a76e6b63a290"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00055 00056 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00057 00058 private: 00059 static const char* __s_getServerMD5Sum_() { return "b38ab8ce976ae4b6660575f6d4ca1ee4"; } 00060 public: 00061 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00062 00063 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00064 00065 private: 00066 static const char* __s_getMessageDefinition_() { return "std_msgs/Header header\n\ 00067 \n\ 00068 ================================================================================\n\ 00069 MSG: std_msgs/Header\n\ 00070 # Standard metadata for higher-level stamped data types.\n\ 00071 # This is generally used to communicate timestamped data \n\ 00072 # in a particular coordinate frame.\n\ 00073 # \n\ 00074 # sequence ID: consecutively increasing ID \n\ 00075 uint32 seq\n\ 00076 #Two-integer timestamp that is expressed as:\n\ 00077 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00078 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00079 # time-handling sugar is provided by the client library\n\ 00080 time stamp\n\ 00081 #Frame this data is associated with\n\ 00082 # 0: no frame\n\ 00083 # 1: global frame\n\ 00084 string frame_id\n\ 00085 \n\ 00086 "; } 00087 public: 00088 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00089 00090 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00091 00092 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00093 { 00094 ros::serialization::OStream stream(write_ptr, 1000000000); 00095 ros::serialization::serialize(stream, header); 00096 return stream.getData(); 00097 } 00098 00099 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00100 { 00101 ros::serialization::IStream stream(read_ptr, 1000000000); 00102 ros::serialization::deserialize(stream, header); 00103 return stream.getData(); 00104 } 00105 00106 ROS_DEPRECATED virtual uint32_t serializationLength() const 00107 { 00108 uint32_t size = 0; 00109 size += ros::serialization::serializationLength(header); 00110 return size; 00111 } 00112 00113 typedef boost::shared_ptr< ::camera_self_filter::maskRequest_<ContainerAllocator> > Ptr; 00114 typedef boost::shared_ptr< ::camera_self_filter::maskRequest_<ContainerAllocator> const> ConstPtr; 00115 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00116 }; // struct maskRequest 00117 typedef ::camera_self_filter::maskRequest_<std::allocator<void> > maskRequest; 00118 00119 typedef boost::shared_ptr< ::camera_self_filter::maskRequest> maskRequestPtr; 00120 typedef boost::shared_ptr< ::camera_self_filter::maskRequest const> maskRequestConstPtr; 00121 00122 00123 template <class ContainerAllocator> 00124 struct maskResponse_ { 00125 typedef maskResponse_<ContainerAllocator> Type; 00126 00127 maskResponse_() 00128 : mask_image() 00129 { 00130 } 00131 00132 maskResponse_(const ContainerAllocator& _alloc) 00133 : mask_image(_alloc) 00134 { 00135 } 00136 00137 typedef ::sensor_msgs::Image_<ContainerAllocator> _mask_image_type; 00138 ::sensor_msgs::Image_<ContainerAllocator> mask_image; 00139 00140 00141 private: 00142 static const char* __s_getDataType_() { return "camera_self_filter/maskResponse"; } 00143 public: 00144 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00145 00146 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00147 00148 private: 00149 static const char* __s_getMD5Sum_() { return "39c74c093fa8b7c6d397ed7cbe6ce11f"; } 00150 public: 00151 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00152 00153 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00154 00155 private: 00156 static const char* __s_getServerMD5Sum_() { return "b38ab8ce976ae4b6660575f6d4ca1ee4"; } 00157 public: 00158 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00159 00160 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00161 00162 private: 00163 static const char* __s_getMessageDefinition_() { return "sensor_msgs/Image mask_image\n\ 00164 \n\ 00165 ================================================================================\n\ 00166 MSG: sensor_msgs/Image\n\ 00167 # This message contains an uncompressed image\n\ 00168 # (0, 0) is at top-left corner of image\n\ 00169 #\n\ 00170 \n\ 00171 Header header # Header timestamp should be acquisition time of image\n\ 00172 # Header frame_id should be optical frame of camera\n\ 00173 # origin of frame should be optical center of cameara\n\ 00174 # +x should point to the right in the image\n\ 00175 # +y should point down in the image\n\ 00176 # +z should point into to plane of the image\n\ 00177 # If the frame_id here and the frame_id of the CameraInfo\n\ 00178 # message associated with the image conflict\n\ 00179 # the behavior is undefined\n\ 00180 \n\ 00181 uint32 height # image height, that is, number of rows\n\ 00182 uint32 width # image width, that is, number of columns\n\ 00183 \n\ 00184 # The legal values for encoding are in file src/image_encodings.cpp\n\ 00185 # If you want to standardize a new string format, join\n\ 00186 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\ 00187 \n\ 00188 string encoding # Encoding of pixels -- channel meaning, ordering, size\n\ 00189 # taken from the list of strings in src/image_encodings.cpp\n\ 00190 \n\ 00191 uint8 is_bigendian # is this data bigendian?\n\ 00192 uint32 step # Full row length in bytes\n\ 00193 uint8[] data # actual matrix data, size is (step * rows)\n\ 00194 \n\ 00195 ================================================================================\n\ 00196 MSG: std_msgs/Header\n\ 00197 # Standard metadata for higher-level stamped data types.\n\ 00198 # This is generally used to communicate timestamped data \n\ 00199 # in a particular coordinate frame.\n\ 00200 # \n\ 00201 # sequence ID: consecutively increasing ID \n\ 00202 uint32 seq\n\ 00203 #Two-integer timestamp that is expressed as:\n\ 00204 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00205 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00206 # time-handling sugar is provided by the client library\n\ 00207 time stamp\n\ 00208 #Frame this data is associated with\n\ 00209 # 0: no frame\n\ 00210 # 1: global frame\n\ 00211 string frame_id\n\ 00212 \n\ 00213 "; } 00214 public: 00215 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00216 00217 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00218 00219 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00220 { 00221 ros::serialization::OStream stream(write_ptr, 1000000000); 00222 ros::serialization::serialize(stream, mask_image); 00223 return stream.getData(); 00224 } 00225 00226 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00227 { 00228 ros::serialization::IStream stream(read_ptr, 1000000000); 00229 ros::serialization::deserialize(stream, mask_image); 00230 return stream.getData(); 00231 } 00232 00233 ROS_DEPRECATED virtual uint32_t serializationLength() const 00234 { 00235 uint32_t size = 0; 00236 size += ros::serialization::serializationLength(mask_image); 00237 return size; 00238 } 00239 00240 typedef boost::shared_ptr< ::camera_self_filter::maskResponse_<ContainerAllocator> > Ptr; 00241 typedef boost::shared_ptr< ::camera_self_filter::maskResponse_<ContainerAllocator> const> ConstPtr; 00242 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00243 }; // struct maskResponse 00244 typedef ::camera_self_filter::maskResponse_<std::allocator<void> > maskResponse; 00245 00246 typedef boost::shared_ptr< ::camera_self_filter::maskResponse> maskResponsePtr; 00247 typedef boost::shared_ptr< ::camera_self_filter::maskResponse const> maskResponseConstPtr; 00248 00249 struct mask 00250 { 00251 00252 typedef maskRequest Request; 00253 typedef maskResponse Response; 00254 Request request; 00255 Response response; 00256 00257 typedef Request RequestType; 00258 typedef Response ResponseType; 00259 }; // struct mask 00260 } // namespace camera_self_filter 00261 00262 namespace ros 00263 { 00264 namespace message_traits 00265 { 00266 template<class ContainerAllocator> struct IsMessage< ::camera_self_filter::maskRequest_<ContainerAllocator> > : public TrueType {}; 00267 template<class ContainerAllocator> struct IsMessage< ::camera_self_filter::maskRequest_<ContainerAllocator> const> : public TrueType {}; 00268 template<class ContainerAllocator> 00269 struct MD5Sum< ::camera_self_filter::maskRequest_<ContainerAllocator> > { 00270 static const char* value() 00271 { 00272 return "d7be0bb39af8fb9129d5a76e6b63a290"; 00273 } 00274 00275 static const char* value(const ::camera_self_filter::maskRequest_<ContainerAllocator> &) { return value(); } 00276 static const uint64_t static_value1 = 0xd7be0bb39af8fb91ULL; 00277 static const uint64_t static_value2 = 0x29d5a76e6b63a290ULL; 00278 }; 00279 00280 template<class ContainerAllocator> 00281 struct DataType< ::camera_self_filter::maskRequest_<ContainerAllocator> > { 00282 static const char* value() 00283 { 00284 return "camera_self_filter/maskRequest"; 00285 } 00286 00287 static const char* value(const ::camera_self_filter::maskRequest_<ContainerAllocator> &) { return value(); } 00288 }; 00289 00290 template<class ContainerAllocator> 00291 struct Definition< ::camera_self_filter::maskRequest_<ContainerAllocator> > { 00292 static const char* value() 00293 { 00294 return "std_msgs/Header header\n\ 00295 \n\ 00296 ================================================================================\n\ 00297 MSG: std_msgs/Header\n\ 00298 # Standard metadata for higher-level stamped data types.\n\ 00299 # This is generally used to communicate timestamped data \n\ 00300 # in a particular coordinate frame.\n\ 00301 # \n\ 00302 # sequence ID: consecutively increasing ID \n\ 00303 uint32 seq\n\ 00304 #Two-integer timestamp that is expressed as:\n\ 00305 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00306 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00307 # time-handling sugar is provided by the client library\n\ 00308 time stamp\n\ 00309 #Frame this data is associated with\n\ 00310 # 0: no frame\n\ 00311 # 1: global frame\n\ 00312 string frame_id\n\ 00313 \n\ 00314 "; 00315 } 00316 00317 static const char* value(const ::camera_self_filter::maskRequest_<ContainerAllocator> &) { return value(); } 00318 }; 00319 00320 } // namespace message_traits 00321 } // namespace ros 00322 00323 00324 namespace ros 00325 { 00326 namespace message_traits 00327 { 00328 template<class ContainerAllocator> struct IsMessage< ::camera_self_filter::maskResponse_<ContainerAllocator> > : public TrueType {}; 00329 template<class ContainerAllocator> struct IsMessage< ::camera_self_filter::maskResponse_<ContainerAllocator> const> : public TrueType {}; 00330 template<class ContainerAllocator> 00331 struct MD5Sum< ::camera_self_filter::maskResponse_<ContainerAllocator> > { 00332 static const char* value() 00333 { 00334 return "39c74c093fa8b7c6d397ed7cbe6ce11f"; 00335 } 00336 00337 static const char* value(const ::camera_self_filter::maskResponse_<ContainerAllocator> &) { return value(); } 00338 static const uint64_t static_value1 = 0x39c74c093fa8b7c6ULL; 00339 static const uint64_t static_value2 = 0xd397ed7cbe6ce11fULL; 00340 }; 00341 00342 template<class ContainerAllocator> 00343 struct DataType< ::camera_self_filter::maskResponse_<ContainerAllocator> > { 00344 static const char* value() 00345 { 00346 return "camera_self_filter/maskResponse"; 00347 } 00348 00349 static const char* value(const ::camera_self_filter::maskResponse_<ContainerAllocator> &) { return value(); } 00350 }; 00351 00352 template<class ContainerAllocator> 00353 struct Definition< ::camera_self_filter::maskResponse_<ContainerAllocator> > { 00354 static const char* value() 00355 { 00356 return "sensor_msgs/Image mask_image\n\ 00357 \n\ 00358 ================================================================================\n\ 00359 MSG: sensor_msgs/Image\n\ 00360 # This message contains an uncompressed image\n\ 00361 # (0, 0) is at top-left corner of image\n\ 00362 #\n\ 00363 \n\ 00364 Header header # Header timestamp should be acquisition time of image\n\ 00365 # Header frame_id should be optical frame of camera\n\ 00366 # origin of frame should be optical center of cameara\n\ 00367 # +x should point to the right in the image\n\ 00368 # +y should point down in the image\n\ 00369 # +z should point into to plane of the image\n\ 00370 # If the frame_id here and the frame_id of the CameraInfo\n\ 00371 # message associated with the image conflict\n\ 00372 # the behavior is undefined\n\ 00373 \n\ 00374 uint32 height # image height, that is, number of rows\n\ 00375 uint32 width # image width, that is, number of columns\n\ 00376 \n\ 00377 # The legal values for encoding are in file src/image_encodings.cpp\n\ 00378 # If you want to standardize a new string format, join\n\ 00379 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\ 00380 \n\ 00381 string encoding # Encoding of pixels -- channel meaning, ordering, size\n\ 00382 # taken from the list of strings in src/image_encodings.cpp\n\ 00383 \n\ 00384 uint8 is_bigendian # is this data bigendian?\n\ 00385 uint32 step # Full row length in bytes\n\ 00386 uint8[] data # actual matrix data, size is (step * rows)\n\ 00387 \n\ 00388 ================================================================================\n\ 00389 MSG: std_msgs/Header\n\ 00390 # Standard metadata for higher-level stamped data types.\n\ 00391 # This is generally used to communicate timestamped data \n\ 00392 # in a particular coordinate frame.\n\ 00393 # \n\ 00394 # sequence ID: consecutively increasing ID \n\ 00395 uint32 seq\n\ 00396 #Two-integer timestamp that is expressed as:\n\ 00397 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00398 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00399 # time-handling sugar is provided by the client library\n\ 00400 time stamp\n\ 00401 #Frame this data is associated with\n\ 00402 # 0: no frame\n\ 00403 # 1: global frame\n\ 00404 string frame_id\n\ 00405 \n\ 00406 "; 00407 } 00408 00409 static const char* value(const ::camera_self_filter::maskResponse_<ContainerAllocator> &) { return value(); } 00410 }; 00411 00412 } // namespace message_traits 00413 } // namespace ros 00414 00415 namespace ros 00416 { 00417 namespace serialization 00418 { 00419 00420 template<class ContainerAllocator> struct Serializer< ::camera_self_filter::maskRequest_<ContainerAllocator> > 00421 { 00422 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00423 { 00424 stream.next(m.header); 00425 } 00426 00427 ROS_DECLARE_ALLINONE_SERIALIZER; 00428 }; // struct maskRequest_ 00429 } // namespace serialization 00430 } // namespace ros 00431 00432 00433 namespace ros 00434 { 00435 namespace serialization 00436 { 00437 00438 template<class ContainerAllocator> struct Serializer< ::camera_self_filter::maskResponse_<ContainerAllocator> > 00439 { 00440 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00441 { 00442 stream.next(m.mask_image); 00443 } 00444 00445 ROS_DECLARE_ALLINONE_SERIALIZER; 00446 }; // struct maskResponse_ 00447 } // namespace serialization 00448 } // namespace ros 00449 00450 namespace ros 00451 { 00452 namespace service_traits 00453 { 00454 template<> 00455 struct MD5Sum<camera_self_filter::mask> { 00456 static const char* value() 00457 { 00458 return "b38ab8ce976ae4b6660575f6d4ca1ee4"; 00459 } 00460 00461 static const char* value(const camera_self_filter::mask&) { return value(); } 00462 }; 00463 00464 template<> 00465 struct DataType<camera_self_filter::mask> { 00466 static const char* value() 00467 { 00468 return "camera_self_filter/mask"; 00469 } 00470 00471 static const char* value(const camera_self_filter::mask&) { return value(); } 00472 }; 00473 00474 template<class ContainerAllocator> 00475 struct MD5Sum<camera_self_filter::maskRequest_<ContainerAllocator> > { 00476 static const char* value() 00477 { 00478 return "b38ab8ce976ae4b6660575f6d4ca1ee4"; 00479 } 00480 00481 static const char* value(const camera_self_filter::maskRequest_<ContainerAllocator> &) { return value(); } 00482 }; 00483 00484 template<class ContainerAllocator> 00485 struct DataType<camera_self_filter::maskRequest_<ContainerAllocator> > { 00486 static const char* value() 00487 { 00488 return "camera_self_filter/mask"; 00489 } 00490 00491 static const char* value(const camera_self_filter::maskRequest_<ContainerAllocator> &) { return value(); } 00492 }; 00493 00494 template<class ContainerAllocator> 00495 struct MD5Sum<camera_self_filter::maskResponse_<ContainerAllocator> > { 00496 static const char* value() 00497 { 00498 return "b38ab8ce976ae4b6660575f6d4ca1ee4"; 00499 } 00500 00501 static const char* value(const camera_self_filter::maskResponse_<ContainerAllocator> &) { return value(); } 00502 }; 00503 00504 template<class ContainerAllocator> 00505 struct DataType<camera_self_filter::maskResponse_<ContainerAllocator> > { 00506 static const char* value() 00507 { 00508 return "camera_self_filter/mask"; 00509 } 00510 00511 static const char* value(const camera_self_filter::maskResponse_<ContainerAllocator> &) { return value(); } 00512 }; 00513 00514 } // namespace service_traits 00515 } // namespace ros 00516 00517 #endif // CAMERA_SELF_FILTER_SERVICE_MASK_H 00518