$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-cob_environment_perception/doc_stacks/2013-03-01_14-40-06.190572/cob_environment_perception/cob_3d_mapping_msgs/srv/GetFieldOfView.srv */ 00002 #ifndef COB_3D_MAPPING_MSGS_SERVICE_GETFIELDOFVIEW_H 00003 #define COB_3D_MAPPING_MSGS_SERVICE_GETFIELDOFVIEW_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 "cob_3d_mapping_msgs/PointArray.h" 00022 00023 namespace cob_3d_mapping_msgs 00024 { 00025 template <class ContainerAllocator> 00026 struct GetFieldOfViewRequest_ { 00027 typedef GetFieldOfViewRequest_<ContainerAllocator> Type; 00028 00029 GetFieldOfViewRequest_() 00030 : target_frame() 00031 , stamp() 00032 { 00033 } 00034 00035 GetFieldOfViewRequest_(const ContainerAllocator& _alloc) 00036 : target_frame(_alloc) 00037 , stamp() 00038 { 00039 } 00040 00041 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _target_frame_type; 00042 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > target_frame; 00043 00044 typedef ros::Time _stamp_type; 00045 ros::Time stamp; 00046 00047 00048 private: 00049 static const char* __s_getDataType_() { return "cob_3d_mapping_msgs/GetFieldOfViewRequest"; } 00050 public: 00051 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00052 00053 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00054 00055 private: 00056 static const char* __s_getMD5Sum_() { return "38354f48c68a4e6e5cf263de67b97586"; } 00057 public: 00058 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00059 00060 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00061 00062 private: 00063 static const char* __s_getServerMD5Sum_() { return "7b215930b688058d682ed90318df2dbd"; } 00064 public: 00065 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00066 00067 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00068 00069 private: 00070 static const char* __s_getMessageDefinition_() { return "string target_frame\n\ 00071 time stamp\n\ 00072 \n\ 00073 "; } 00074 public: 00075 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00076 00077 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00078 00079 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00080 { 00081 ros::serialization::OStream stream(write_ptr, 1000000000); 00082 ros::serialization::serialize(stream, target_frame); 00083 ros::serialization::serialize(stream, stamp); 00084 return stream.getData(); 00085 } 00086 00087 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00088 { 00089 ros::serialization::IStream stream(read_ptr, 1000000000); 00090 ros::serialization::deserialize(stream, target_frame); 00091 ros::serialization::deserialize(stream, stamp); 00092 return stream.getData(); 00093 } 00094 00095 ROS_DEPRECATED virtual uint32_t serializationLength() const 00096 { 00097 uint32_t size = 0; 00098 size += ros::serialization::serializationLength(target_frame); 00099 size += ros::serialization::serializationLength(stamp); 00100 return size; 00101 } 00102 00103 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::GetFieldOfViewRequest_<ContainerAllocator> > Ptr; 00104 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::GetFieldOfViewRequest_<ContainerAllocator> const> ConstPtr; 00105 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00106 }; // struct GetFieldOfViewRequest 00107 typedef ::cob_3d_mapping_msgs::GetFieldOfViewRequest_<std::allocator<void> > GetFieldOfViewRequest; 00108 00109 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::GetFieldOfViewRequest> GetFieldOfViewRequestPtr; 00110 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::GetFieldOfViewRequest const> GetFieldOfViewRequestConstPtr; 00111 00112 00113 template <class ContainerAllocator> 00114 struct GetFieldOfViewResponse_ { 00115 typedef GetFieldOfViewResponse_<ContainerAllocator> Type; 00116 00117 GetFieldOfViewResponse_() 00118 : fov() 00119 { 00120 } 00121 00122 GetFieldOfViewResponse_(const ContainerAllocator& _alloc) 00123 : fov(_alloc) 00124 { 00125 } 00126 00127 typedef ::cob_3d_mapping_msgs::PointArray_<ContainerAllocator> _fov_type; 00128 ::cob_3d_mapping_msgs::PointArray_<ContainerAllocator> fov; 00129 00130 00131 private: 00132 static const char* __s_getDataType_() { return "cob_3d_mapping_msgs/GetFieldOfViewResponse"; } 00133 public: 00134 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00135 00136 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00137 00138 private: 00139 static const char* __s_getMD5Sum_() { return "26975d3cc04f3662907b4a9ad86bb61b"; } 00140 public: 00141 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00142 00143 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00144 00145 private: 00146 static const char* __s_getServerMD5Sum_() { return "7b215930b688058d682ed90318df2dbd"; } 00147 public: 00148 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00149 00150 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00151 00152 private: 00153 static const char* __s_getMessageDefinition_() { return "PointArray fov\n\ 00154 \n\ 00155 \n\ 00156 ================================================================================\n\ 00157 MSG: cob_3d_mapping_msgs/PointArray\n\ 00158 # DEPRECATED: An array of poses with a header for global reference.\n\ 00159 \n\ 00160 Header header\n\ 00161 \n\ 00162 geometry_msgs/Point[] points\n\ 00163 \n\ 00164 ================================================================================\n\ 00165 MSG: std_msgs/Header\n\ 00166 # Standard metadata for higher-level stamped data types.\n\ 00167 # This is generally used to communicate timestamped data \n\ 00168 # in a particular coordinate frame.\n\ 00169 # \n\ 00170 # sequence ID: consecutively increasing ID \n\ 00171 uint32 seq\n\ 00172 #Two-integer timestamp that is expressed as:\n\ 00173 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00174 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00175 # time-handling sugar is provided by the client library\n\ 00176 time stamp\n\ 00177 #Frame this data is associated with\n\ 00178 # 0: no frame\n\ 00179 # 1: global frame\n\ 00180 string frame_id\n\ 00181 \n\ 00182 ================================================================================\n\ 00183 MSG: geometry_msgs/Point\n\ 00184 # This contains the position of a point in free space\n\ 00185 float64 x\n\ 00186 float64 y\n\ 00187 float64 z\n\ 00188 \n\ 00189 "; } 00190 public: 00191 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00192 00193 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00194 00195 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00196 { 00197 ros::serialization::OStream stream(write_ptr, 1000000000); 00198 ros::serialization::serialize(stream, fov); 00199 return stream.getData(); 00200 } 00201 00202 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00203 { 00204 ros::serialization::IStream stream(read_ptr, 1000000000); 00205 ros::serialization::deserialize(stream, fov); 00206 return stream.getData(); 00207 } 00208 00209 ROS_DEPRECATED virtual uint32_t serializationLength() const 00210 { 00211 uint32_t size = 0; 00212 size += ros::serialization::serializationLength(fov); 00213 return size; 00214 } 00215 00216 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::GetFieldOfViewResponse_<ContainerAllocator> > Ptr; 00217 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::GetFieldOfViewResponse_<ContainerAllocator> const> ConstPtr; 00218 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00219 }; // struct GetFieldOfViewResponse 00220 typedef ::cob_3d_mapping_msgs::GetFieldOfViewResponse_<std::allocator<void> > GetFieldOfViewResponse; 00221 00222 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::GetFieldOfViewResponse> GetFieldOfViewResponsePtr; 00223 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::GetFieldOfViewResponse const> GetFieldOfViewResponseConstPtr; 00224 00225 struct GetFieldOfView 00226 { 00227 00228 typedef GetFieldOfViewRequest Request; 00229 typedef GetFieldOfViewResponse Response; 00230 Request request; 00231 Response response; 00232 00233 typedef Request RequestType; 00234 typedef Response ResponseType; 00235 }; // struct GetFieldOfView 00236 } // namespace cob_3d_mapping_msgs 00237 00238 namespace ros 00239 { 00240 namespace message_traits 00241 { 00242 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::GetFieldOfViewRequest_<ContainerAllocator> > : public TrueType {}; 00243 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::GetFieldOfViewRequest_<ContainerAllocator> const> : public TrueType {}; 00244 template<class ContainerAllocator> 00245 struct MD5Sum< ::cob_3d_mapping_msgs::GetFieldOfViewRequest_<ContainerAllocator> > { 00246 static const char* value() 00247 { 00248 return "38354f48c68a4e6e5cf263de67b97586"; 00249 } 00250 00251 static const char* value(const ::cob_3d_mapping_msgs::GetFieldOfViewRequest_<ContainerAllocator> &) { return value(); } 00252 static const uint64_t static_value1 = 0x38354f48c68a4e6eULL; 00253 static const uint64_t static_value2 = 0x5cf263de67b97586ULL; 00254 }; 00255 00256 template<class ContainerAllocator> 00257 struct DataType< ::cob_3d_mapping_msgs::GetFieldOfViewRequest_<ContainerAllocator> > { 00258 static const char* value() 00259 { 00260 return "cob_3d_mapping_msgs/GetFieldOfViewRequest"; 00261 } 00262 00263 static const char* value(const ::cob_3d_mapping_msgs::GetFieldOfViewRequest_<ContainerAllocator> &) { return value(); } 00264 }; 00265 00266 template<class ContainerAllocator> 00267 struct Definition< ::cob_3d_mapping_msgs::GetFieldOfViewRequest_<ContainerAllocator> > { 00268 static const char* value() 00269 { 00270 return "string target_frame\n\ 00271 time stamp\n\ 00272 \n\ 00273 "; 00274 } 00275 00276 static const char* value(const ::cob_3d_mapping_msgs::GetFieldOfViewRequest_<ContainerAllocator> &) { return value(); } 00277 }; 00278 00279 } // namespace message_traits 00280 } // namespace ros 00281 00282 00283 namespace ros 00284 { 00285 namespace message_traits 00286 { 00287 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::GetFieldOfViewResponse_<ContainerAllocator> > : public TrueType {}; 00288 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::GetFieldOfViewResponse_<ContainerAllocator> const> : public TrueType {}; 00289 template<class ContainerAllocator> 00290 struct MD5Sum< ::cob_3d_mapping_msgs::GetFieldOfViewResponse_<ContainerAllocator> > { 00291 static const char* value() 00292 { 00293 return "26975d3cc04f3662907b4a9ad86bb61b"; 00294 } 00295 00296 static const char* value(const ::cob_3d_mapping_msgs::GetFieldOfViewResponse_<ContainerAllocator> &) { return value(); } 00297 static const uint64_t static_value1 = 0x26975d3cc04f3662ULL; 00298 static const uint64_t static_value2 = 0x907b4a9ad86bb61bULL; 00299 }; 00300 00301 template<class ContainerAllocator> 00302 struct DataType< ::cob_3d_mapping_msgs::GetFieldOfViewResponse_<ContainerAllocator> > { 00303 static const char* value() 00304 { 00305 return "cob_3d_mapping_msgs/GetFieldOfViewResponse"; 00306 } 00307 00308 static const char* value(const ::cob_3d_mapping_msgs::GetFieldOfViewResponse_<ContainerAllocator> &) { return value(); } 00309 }; 00310 00311 template<class ContainerAllocator> 00312 struct Definition< ::cob_3d_mapping_msgs::GetFieldOfViewResponse_<ContainerAllocator> > { 00313 static const char* value() 00314 { 00315 return "PointArray fov\n\ 00316 \n\ 00317 \n\ 00318 ================================================================================\n\ 00319 MSG: cob_3d_mapping_msgs/PointArray\n\ 00320 # DEPRECATED: An array of poses with a header for global reference.\n\ 00321 \n\ 00322 Header header\n\ 00323 \n\ 00324 geometry_msgs/Point[] points\n\ 00325 \n\ 00326 ================================================================================\n\ 00327 MSG: std_msgs/Header\n\ 00328 # Standard metadata for higher-level stamped data types.\n\ 00329 # This is generally used to communicate timestamped data \n\ 00330 # in a particular coordinate frame.\n\ 00331 # \n\ 00332 # sequence ID: consecutively increasing ID \n\ 00333 uint32 seq\n\ 00334 #Two-integer timestamp that is expressed as:\n\ 00335 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00336 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00337 # time-handling sugar is provided by the client library\n\ 00338 time stamp\n\ 00339 #Frame this data is associated with\n\ 00340 # 0: no frame\n\ 00341 # 1: global frame\n\ 00342 string frame_id\n\ 00343 \n\ 00344 ================================================================================\n\ 00345 MSG: geometry_msgs/Point\n\ 00346 # This contains the position of a point in free space\n\ 00347 float64 x\n\ 00348 float64 y\n\ 00349 float64 z\n\ 00350 \n\ 00351 "; 00352 } 00353 00354 static const char* value(const ::cob_3d_mapping_msgs::GetFieldOfViewResponse_<ContainerAllocator> &) { return value(); } 00355 }; 00356 00357 } // namespace message_traits 00358 } // namespace ros 00359 00360 namespace ros 00361 { 00362 namespace serialization 00363 { 00364 00365 template<class ContainerAllocator> struct Serializer< ::cob_3d_mapping_msgs::GetFieldOfViewRequest_<ContainerAllocator> > 00366 { 00367 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00368 { 00369 stream.next(m.target_frame); 00370 stream.next(m.stamp); 00371 } 00372 00373 ROS_DECLARE_ALLINONE_SERIALIZER; 00374 }; // struct GetFieldOfViewRequest_ 00375 } // namespace serialization 00376 } // namespace ros 00377 00378 00379 namespace ros 00380 { 00381 namespace serialization 00382 { 00383 00384 template<class ContainerAllocator> struct Serializer< ::cob_3d_mapping_msgs::GetFieldOfViewResponse_<ContainerAllocator> > 00385 { 00386 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00387 { 00388 stream.next(m.fov); 00389 } 00390 00391 ROS_DECLARE_ALLINONE_SERIALIZER; 00392 }; // struct GetFieldOfViewResponse_ 00393 } // namespace serialization 00394 } // namespace ros 00395 00396 namespace ros 00397 { 00398 namespace service_traits 00399 { 00400 template<> 00401 struct MD5Sum<cob_3d_mapping_msgs::GetFieldOfView> { 00402 static const char* value() 00403 { 00404 return "7b215930b688058d682ed90318df2dbd"; 00405 } 00406 00407 static const char* value(const cob_3d_mapping_msgs::GetFieldOfView&) { return value(); } 00408 }; 00409 00410 template<> 00411 struct DataType<cob_3d_mapping_msgs::GetFieldOfView> { 00412 static const char* value() 00413 { 00414 return "cob_3d_mapping_msgs/GetFieldOfView"; 00415 } 00416 00417 static const char* value(const cob_3d_mapping_msgs::GetFieldOfView&) { return value(); } 00418 }; 00419 00420 template<class ContainerAllocator> 00421 struct MD5Sum<cob_3d_mapping_msgs::GetFieldOfViewRequest_<ContainerAllocator> > { 00422 static const char* value() 00423 { 00424 return "7b215930b688058d682ed90318df2dbd"; 00425 } 00426 00427 static const char* value(const cob_3d_mapping_msgs::GetFieldOfViewRequest_<ContainerAllocator> &) { return value(); } 00428 }; 00429 00430 template<class ContainerAllocator> 00431 struct DataType<cob_3d_mapping_msgs::GetFieldOfViewRequest_<ContainerAllocator> > { 00432 static const char* value() 00433 { 00434 return "cob_3d_mapping_msgs/GetFieldOfView"; 00435 } 00436 00437 static const char* value(const cob_3d_mapping_msgs::GetFieldOfViewRequest_<ContainerAllocator> &) { return value(); } 00438 }; 00439 00440 template<class ContainerAllocator> 00441 struct MD5Sum<cob_3d_mapping_msgs::GetFieldOfViewResponse_<ContainerAllocator> > { 00442 static const char* value() 00443 { 00444 return "7b215930b688058d682ed90318df2dbd"; 00445 } 00446 00447 static const char* value(const cob_3d_mapping_msgs::GetFieldOfViewResponse_<ContainerAllocator> &) { return value(); } 00448 }; 00449 00450 template<class ContainerAllocator> 00451 struct DataType<cob_3d_mapping_msgs::GetFieldOfViewResponse_<ContainerAllocator> > { 00452 static const char* value() 00453 { 00454 return "cob_3d_mapping_msgs/GetFieldOfView"; 00455 } 00456 00457 static const char* value(const cob_3d_mapping_msgs::GetFieldOfViewResponse_<ContainerAllocator> &) { return value(); } 00458 }; 00459 00460 } // namespace service_traits 00461 } // namespace ros 00462 00463 #endif // COB_3D_MAPPING_MSGS_SERVICE_GETFIELDOFVIEW_H 00464