$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/GetPlane.srv */ 00002 #ifndef SRS_ENV_MODEL_SERVICE_GETPLANE_H 00003 #define SRS_ENV_MODEL_SERVICE_GETPLANE_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 "srs_env_model_msgs/PlaneDesc.h" 00022 00023 namespace srs_env_model 00024 { 00025 template <class ContainerAllocator> 00026 struct GetPlaneRequest_ { 00027 typedef GetPlaneRequest_<ContainerAllocator> Type; 00028 00029 GetPlaneRequest_() 00030 : object_id(0) 00031 { 00032 } 00033 00034 GetPlaneRequest_(const ContainerAllocator& _alloc) 00035 : object_id(0) 00036 { 00037 } 00038 00039 typedef uint32_t _object_id_type; 00040 uint32_t object_id; 00041 00042 00043 private: 00044 static const char* __s_getDataType_() { return "srs_env_model/GetPlaneRequest"; } 00045 public: 00046 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00047 00048 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00049 00050 private: 00051 static const char* __s_getMD5Sum_() { return "3bc61e324c1dd4520ddb0edb73571599"; } 00052 public: 00053 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00054 00055 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00056 00057 private: 00058 static const char* __s_getServerMD5Sum_() { return "f1c93e4c2e3a3eae39a2909b8d17d246"; } 00059 public: 00060 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00061 00062 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00063 00064 private: 00065 static const char* __s_getMessageDefinition_() { return "uint32 object_id\n\ 00066 \n\ 00067 "; } 00068 public: 00069 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00070 00071 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00072 00073 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00074 { 00075 ros::serialization::OStream stream(write_ptr, 1000000000); 00076 ros::serialization::serialize(stream, object_id); 00077 return stream.getData(); 00078 } 00079 00080 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00081 { 00082 ros::serialization::IStream stream(read_ptr, 1000000000); 00083 ros::serialization::deserialize(stream, object_id); 00084 return stream.getData(); 00085 } 00086 00087 ROS_DEPRECATED virtual uint32_t serializationLength() const 00088 { 00089 uint32_t size = 0; 00090 size += ros::serialization::serializationLength(object_id); 00091 return size; 00092 } 00093 00094 typedef boost::shared_ptr< ::srs_env_model::GetPlaneRequest_<ContainerAllocator> > Ptr; 00095 typedef boost::shared_ptr< ::srs_env_model::GetPlaneRequest_<ContainerAllocator> const> ConstPtr; 00096 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00097 }; // struct GetPlaneRequest 00098 typedef ::srs_env_model::GetPlaneRequest_<std::allocator<void> > GetPlaneRequest; 00099 00100 typedef boost::shared_ptr< ::srs_env_model::GetPlaneRequest> GetPlaneRequestPtr; 00101 typedef boost::shared_ptr< ::srs_env_model::GetPlaneRequest const> GetPlaneRequestConstPtr; 00102 00103 00104 template <class ContainerAllocator> 00105 struct GetPlaneResponse_ { 00106 typedef GetPlaneResponse_<ContainerAllocator> Type; 00107 00108 GetPlaneResponse_() 00109 : plane() 00110 { 00111 } 00112 00113 GetPlaneResponse_(const ContainerAllocator& _alloc) 00114 : plane(_alloc) 00115 { 00116 } 00117 00118 typedef ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> _plane_type; 00119 ::srs_env_model_msgs::PlaneDesc_<ContainerAllocator> plane; 00120 00121 00122 private: 00123 static const char* __s_getDataType_() { return "srs_env_model/GetPlaneResponse"; } 00124 public: 00125 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00126 00127 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00128 00129 private: 00130 static const char* __s_getMD5Sum_() { return "ba9485c524c0e0eca11a45602e8ff94e"; } 00131 public: 00132 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00133 00134 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00135 00136 private: 00137 static const char* __s_getServerMD5Sum_() { return "f1c93e4c2e3a3eae39a2909b8d17d246"; } 00138 public: 00139 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00140 00141 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00142 00143 private: 00144 static const char* __s_getMessageDefinition_() { return "srs_env_model_msgs/PlaneDesc plane\n\ 00145 \n\ 00146 \n\ 00147 ================================================================================\n\ 00148 MSG: srs_env_model_msgs/PlaneDesc\n\ 00149 int32 INSERT=0 # Clear old data, insert new one\n\ 00150 int32 MODIFY=1 # Modify plane\n\ 00151 int32 REMOVE=2 # Remove data\n\ 00152 \n\ 00153 int32 id\n\ 00154 int32 flags \n\ 00155 geometry_msgs/Pose pose\n\ 00156 geometry_msgs/Vector3 scale\n\ 00157 \n\ 00158 ================================================================================\n\ 00159 MSG: geometry_msgs/Pose\n\ 00160 # A representation of pose in free space, composed of postion and orientation. \n\ 00161 Point position\n\ 00162 Quaternion orientation\n\ 00163 \n\ 00164 ================================================================================\n\ 00165 MSG: geometry_msgs/Point\n\ 00166 # This contains the position of a point in free space\n\ 00167 float64 x\n\ 00168 float64 y\n\ 00169 float64 z\n\ 00170 \n\ 00171 ================================================================================\n\ 00172 MSG: geometry_msgs/Quaternion\n\ 00173 # This represents an orientation in free space in quaternion form.\n\ 00174 \n\ 00175 float64 x\n\ 00176 float64 y\n\ 00177 float64 z\n\ 00178 float64 w\n\ 00179 \n\ 00180 ================================================================================\n\ 00181 MSG: geometry_msgs/Vector3\n\ 00182 # This represents a vector in free space. \n\ 00183 \n\ 00184 float64 x\n\ 00185 float64 y\n\ 00186 float64 z\n\ 00187 "; } 00188 public: 00189 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00190 00191 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00192 00193 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00194 { 00195 ros::serialization::OStream stream(write_ptr, 1000000000); 00196 ros::serialization::serialize(stream, plane); 00197 return stream.getData(); 00198 } 00199 00200 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00201 { 00202 ros::serialization::IStream stream(read_ptr, 1000000000); 00203 ros::serialization::deserialize(stream, plane); 00204 return stream.getData(); 00205 } 00206 00207 ROS_DEPRECATED virtual uint32_t serializationLength() const 00208 { 00209 uint32_t size = 0; 00210 size += ros::serialization::serializationLength(plane); 00211 return size; 00212 } 00213 00214 typedef boost::shared_ptr< ::srs_env_model::GetPlaneResponse_<ContainerAllocator> > Ptr; 00215 typedef boost::shared_ptr< ::srs_env_model::GetPlaneResponse_<ContainerAllocator> const> ConstPtr; 00216 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00217 }; // struct GetPlaneResponse 00218 typedef ::srs_env_model::GetPlaneResponse_<std::allocator<void> > GetPlaneResponse; 00219 00220 typedef boost::shared_ptr< ::srs_env_model::GetPlaneResponse> GetPlaneResponsePtr; 00221 typedef boost::shared_ptr< ::srs_env_model::GetPlaneResponse const> GetPlaneResponseConstPtr; 00222 00223 struct GetPlane 00224 { 00225 00226 typedef GetPlaneRequest Request; 00227 typedef GetPlaneResponse Response; 00228 Request request; 00229 Response response; 00230 00231 typedef Request RequestType; 00232 typedef Response ResponseType; 00233 }; // struct GetPlane 00234 } // namespace srs_env_model 00235 00236 namespace ros 00237 { 00238 namespace message_traits 00239 { 00240 template<class ContainerAllocator> struct IsMessage< ::srs_env_model::GetPlaneRequest_<ContainerAllocator> > : public TrueType {}; 00241 template<class ContainerAllocator> struct IsMessage< ::srs_env_model::GetPlaneRequest_<ContainerAllocator> const> : public TrueType {}; 00242 template<class ContainerAllocator> 00243 struct MD5Sum< ::srs_env_model::GetPlaneRequest_<ContainerAllocator> > { 00244 static const char* value() 00245 { 00246 return "3bc61e324c1dd4520ddb0edb73571599"; 00247 } 00248 00249 static const char* value(const ::srs_env_model::GetPlaneRequest_<ContainerAllocator> &) { return value(); } 00250 static const uint64_t static_value1 = 0x3bc61e324c1dd452ULL; 00251 static const uint64_t static_value2 = 0x0ddb0edb73571599ULL; 00252 }; 00253 00254 template<class ContainerAllocator> 00255 struct DataType< ::srs_env_model::GetPlaneRequest_<ContainerAllocator> > { 00256 static const char* value() 00257 { 00258 return "srs_env_model/GetPlaneRequest"; 00259 } 00260 00261 static const char* value(const ::srs_env_model::GetPlaneRequest_<ContainerAllocator> &) { return value(); } 00262 }; 00263 00264 template<class ContainerAllocator> 00265 struct Definition< ::srs_env_model::GetPlaneRequest_<ContainerAllocator> > { 00266 static const char* value() 00267 { 00268 return "uint32 object_id\n\ 00269 \n\ 00270 "; 00271 } 00272 00273 static const char* value(const ::srs_env_model::GetPlaneRequest_<ContainerAllocator> &) { return value(); } 00274 }; 00275 00276 template<class ContainerAllocator> struct IsFixedSize< ::srs_env_model::GetPlaneRequest_<ContainerAllocator> > : public TrueType {}; 00277 } // namespace message_traits 00278 } // namespace ros 00279 00280 00281 namespace ros 00282 { 00283 namespace message_traits 00284 { 00285 template<class ContainerAllocator> struct IsMessage< ::srs_env_model::GetPlaneResponse_<ContainerAllocator> > : public TrueType {}; 00286 template<class ContainerAllocator> struct IsMessage< ::srs_env_model::GetPlaneResponse_<ContainerAllocator> const> : public TrueType {}; 00287 template<class ContainerAllocator> 00288 struct MD5Sum< ::srs_env_model::GetPlaneResponse_<ContainerAllocator> > { 00289 static const char* value() 00290 { 00291 return "ba9485c524c0e0eca11a45602e8ff94e"; 00292 } 00293 00294 static const char* value(const ::srs_env_model::GetPlaneResponse_<ContainerAllocator> &) { return value(); } 00295 static const uint64_t static_value1 = 0xba9485c524c0e0ecULL; 00296 static const uint64_t static_value2 = 0xa11a45602e8ff94eULL; 00297 }; 00298 00299 template<class ContainerAllocator> 00300 struct DataType< ::srs_env_model::GetPlaneResponse_<ContainerAllocator> > { 00301 static const char* value() 00302 { 00303 return "srs_env_model/GetPlaneResponse"; 00304 } 00305 00306 static const char* value(const ::srs_env_model::GetPlaneResponse_<ContainerAllocator> &) { return value(); } 00307 }; 00308 00309 template<class ContainerAllocator> 00310 struct Definition< ::srs_env_model::GetPlaneResponse_<ContainerAllocator> > { 00311 static const char* value() 00312 { 00313 return "srs_env_model_msgs/PlaneDesc plane\n\ 00314 \n\ 00315 \n\ 00316 ================================================================================\n\ 00317 MSG: srs_env_model_msgs/PlaneDesc\n\ 00318 int32 INSERT=0 # Clear old data, insert new one\n\ 00319 int32 MODIFY=1 # Modify plane\n\ 00320 int32 REMOVE=2 # Remove data\n\ 00321 \n\ 00322 int32 id\n\ 00323 int32 flags \n\ 00324 geometry_msgs/Pose pose\n\ 00325 geometry_msgs/Vector3 scale\n\ 00326 \n\ 00327 ================================================================================\n\ 00328 MSG: geometry_msgs/Pose\n\ 00329 # A representation of pose in free space, composed of postion and orientation. \n\ 00330 Point position\n\ 00331 Quaternion orientation\n\ 00332 \n\ 00333 ================================================================================\n\ 00334 MSG: geometry_msgs/Point\n\ 00335 # This contains the position of a point in free space\n\ 00336 float64 x\n\ 00337 float64 y\n\ 00338 float64 z\n\ 00339 \n\ 00340 ================================================================================\n\ 00341 MSG: geometry_msgs/Quaternion\n\ 00342 # This represents an orientation in free space in quaternion form.\n\ 00343 \n\ 00344 float64 x\n\ 00345 float64 y\n\ 00346 float64 z\n\ 00347 float64 w\n\ 00348 \n\ 00349 ================================================================================\n\ 00350 MSG: geometry_msgs/Vector3\n\ 00351 # This represents a vector in free space. \n\ 00352 \n\ 00353 float64 x\n\ 00354 float64 y\n\ 00355 float64 z\n\ 00356 "; 00357 } 00358 00359 static const char* value(const ::srs_env_model::GetPlaneResponse_<ContainerAllocator> &) { return value(); } 00360 }; 00361 00362 template<class ContainerAllocator> struct IsFixedSize< ::srs_env_model::GetPlaneResponse_<ContainerAllocator> > : public TrueType {}; 00363 } // namespace message_traits 00364 } // namespace ros 00365 00366 namespace ros 00367 { 00368 namespace serialization 00369 { 00370 00371 template<class ContainerAllocator> struct Serializer< ::srs_env_model::GetPlaneRequest_<ContainerAllocator> > 00372 { 00373 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00374 { 00375 stream.next(m.object_id); 00376 } 00377 00378 ROS_DECLARE_ALLINONE_SERIALIZER; 00379 }; // struct GetPlaneRequest_ 00380 } // namespace serialization 00381 } // namespace ros 00382 00383 00384 namespace ros 00385 { 00386 namespace serialization 00387 { 00388 00389 template<class ContainerAllocator> struct Serializer< ::srs_env_model::GetPlaneResponse_<ContainerAllocator> > 00390 { 00391 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00392 { 00393 stream.next(m.plane); 00394 } 00395 00396 ROS_DECLARE_ALLINONE_SERIALIZER; 00397 }; // struct GetPlaneResponse_ 00398 } // namespace serialization 00399 } // namespace ros 00400 00401 namespace ros 00402 { 00403 namespace service_traits 00404 { 00405 template<> 00406 struct MD5Sum<srs_env_model::GetPlane> { 00407 static const char* value() 00408 { 00409 return "f1c93e4c2e3a3eae39a2909b8d17d246"; 00410 } 00411 00412 static const char* value(const srs_env_model::GetPlane&) { return value(); } 00413 }; 00414 00415 template<> 00416 struct DataType<srs_env_model::GetPlane> { 00417 static const char* value() 00418 { 00419 return "srs_env_model/GetPlane"; 00420 } 00421 00422 static const char* value(const srs_env_model::GetPlane&) { return value(); } 00423 }; 00424 00425 template<class ContainerAllocator> 00426 struct MD5Sum<srs_env_model::GetPlaneRequest_<ContainerAllocator> > { 00427 static const char* value() 00428 { 00429 return "f1c93e4c2e3a3eae39a2909b8d17d246"; 00430 } 00431 00432 static const char* value(const srs_env_model::GetPlaneRequest_<ContainerAllocator> &) { return value(); } 00433 }; 00434 00435 template<class ContainerAllocator> 00436 struct DataType<srs_env_model::GetPlaneRequest_<ContainerAllocator> > { 00437 static const char* value() 00438 { 00439 return "srs_env_model/GetPlane"; 00440 } 00441 00442 static const char* value(const srs_env_model::GetPlaneRequest_<ContainerAllocator> &) { return value(); } 00443 }; 00444 00445 template<class ContainerAllocator> 00446 struct MD5Sum<srs_env_model::GetPlaneResponse_<ContainerAllocator> > { 00447 static const char* value() 00448 { 00449 return "f1c93e4c2e3a3eae39a2909b8d17d246"; 00450 } 00451 00452 static const char* value(const srs_env_model::GetPlaneResponse_<ContainerAllocator> &) { return value(); } 00453 }; 00454 00455 template<class ContainerAllocator> 00456 struct DataType<srs_env_model::GetPlaneResponse_<ContainerAllocator> > { 00457 static const char* value() 00458 { 00459 return "srs_env_model/GetPlane"; 00460 } 00461 00462 static const char* value(const srs_env_model::GetPlaneResponse_<ContainerAllocator> &) { return value(); } 00463 }; 00464 00465 } // namespace service_traits 00466 } // namespace ros 00467 00468 #endif // SRS_ENV_MODEL_SERVICE_GETPLANE_H 00469