$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/Plane.srv */ 00002 #ifndef SRS_ENV_MODEL_SERVICE_PLANE_H 00003 #define SRS_ENV_MODEL_SERVICE_PLANE_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 "srs_env_model_msgs/PlaneArray.h" 00020 00021 00022 00023 namespace srs_env_model 00024 { 00025 template <class ContainerAllocator> 00026 struct PlaneRequest_ { 00027 typedef PlaneRequest_<ContainerAllocator> Type; 00028 00029 PlaneRequest_() 00030 : plane() 00031 { 00032 } 00033 00034 PlaneRequest_(const ContainerAllocator& _alloc) 00035 : plane(_alloc) 00036 { 00037 } 00038 00039 typedef ::srs_env_model_msgs::PlaneArray_<ContainerAllocator> _plane_type; 00040 ::srs_env_model_msgs::PlaneArray_<ContainerAllocator> plane; 00041 00042 00043 private: 00044 static const char* __s_getDataType_() { return "srs_env_model/PlaneRequest"; } 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 "ce249f36b3d14634d041bd44879d8024"; } 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 "ce249f36b3d14634d041bd44879d8024"; } 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 "srs_env_model_msgs/PlaneArray plane\n\ 00066 \n\ 00067 ================================================================================\n\ 00068 MSG: srs_env_model_msgs/PlaneArray\n\ 00069 Header header\n\ 00070 PlaneDesc[] planes\n\ 00071 \n\ 00072 ================================================================================\n\ 00073 MSG: std_msgs/Header\n\ 00074 # Standard metadata for higher-level stamped data types.\n\ 00075 # This is generally used to communicate timestamped data \n\ 00076 # in a particular coordinate frame.\n\ 00077 # \n\ 00078 # sequence ID: consecutively increasing ID \n\ 00079 uint32 seq\n\ 00080 #Two-integer timestamp that is expressed as:\n\ 00081 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00082 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00083 # time-handling sugar is provided by the client library\n\ 00084 time stamp\n\ 00085 #Frame this data is associated with\n\ 00086 # 0: no frame\n\ 00087 # 1: global frame\n\ 00088 string frame_id\n\ 00089 \n\ 00090 ================================================================================\n\ 00091 MSG: srs_env_model_msgs/PlaneDesc\n\ 00092 int32 INSERT=0 # Clear old data, insert new one\n\ 00093 int32 MODIFY=1 # Modify plane\n\ 00094 int32 REMOVE=2 # Remove data\n\ 00095 \n\ 00096 int32 id\n\ 00097 int32 flags \n\ 00098 geometry_msgs/Pose pose\n\ 00099 geometry_msgs/Vector3 scale\n\ 00100 \n\ 00101 ================================================================================\n\ 00102 MSG: geometry_msgs/Pose\n\ 00103 # A representation of pose in free space, composed of postion and orientation. \n\ 00104 Point position\n\ 00105 Quaternion orientation\n\ 00106 \n\ 00107 ================================================================================\n\ 00108 MSG: geometry_msgs/Point\n\ 00109 # This contains the position of a point in free space\n\ 00110 float64 x\n\ 00111 float64 y\n\ 00112 float64 z\n\ 00113 \n\ 00114 ================================================================================\n\ 00115 MSG: geometry_msgs/Quaternion\n\ 00116 # This represents an orientation in free space in quaternion form.\n\ 00117 \n\ 00118 float64 x\n\ 00119 float64 y\n\ 00120 float64 z\n\ 00121 float64 w\n\ 00122 \n\ 00123 ================================================================================\n\ 00124 MSG: geometry_msgs/Vector3\n\ 00125 # This represents a vector in free space. \n\ 00126 \n\ 00127 float64 x\n\ 00128 float64 y\n\ 00129 float64 z\n\ 00130 "; } 00131 public: 00132 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00133 00134 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00135 00136 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00137 { 00138 ros::serialization::OStream stream(write_ptr, 1000000000); 00139 ros::serialization::serialize(stream, plane); 00140 return stream.getData(); 00141 } 00142 00143 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00144 { 00145 ros::serialization::IStream stream(read_ptr, 1000000000); 00146 ros::serialization::deserialize(stream, plane); 00147 return stream.getData(); 00148 } 00149 00150 ROS_DEPRECATED virtual uint32_t serializationLength() const 00151 { 00152 uint32_t size = 0; 00153 size += ros::serialization::serializationLength(plane); 00154 return size; 00155 } 00156 00157 typedef boost::shared_ptr< ::srs_env_model::PlaneRequest_<ContainerAllocator> > Ptr; 00158 typedef boost::shared_ptr< ::srs_env_model::PlaneRequest_<ContainerAllocator> const> ConstPtr; 00159 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00160 }; // struct PlaneRequest 00161 typedef ::srs_env_model::PlaneRequest_<std::allocator<void> > PlaneRequest; 00162 00163 typedef boost::shared_ptr< ::srs_env_model::PlaneRequest> PlaneRequestPtr; 00164 typedef boost::shared_ptr< ::srs_env_model::PlaneRequest const> PlaneRequestConstPtr; 00165 00166 00167 template <class ContainerAllocator> 00168 struct PlaneResponse_ { 00169 typedef PlaneResponse_<ContainerAllocator> Type; 00170 00171 PlaneResponse_() 00172 { 00173 } 00174 00175 PlaneResponse_(const ContainerAllocator& _alloc) 00176 { 00177 } 00178 00179 00180 private: 00181 static const char* __s_getDataType_() { return "srs_env_model/PlaneResponse"; } 00182 public: 00183 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00184 00185 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00186 00187 private: 00188 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00189 public: 00190 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00191 00192 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00193 00194 private: 00195 static const char* __s_getServerMD5Sum_() { return "ce249f36b3d14634d041bd44879d8024"; } 00196 public: 00197 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00198 00199 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00200 00201 private: 00202 static const char* __s_getMessageDefinition_() { return "\n\ 00203 \n\ 00204 "; } 00205 public: 00206 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00207 00208 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00209 00210 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00211 { 00212 ros::serialization::OStream stream(write_ptr, 1000000000); 00213 return stream.getData(); 00214 } 00215 00216 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00217 { 00218 ros::serialization::IStream stream(read_ptr, 1000000000); 00219 return stream.getData(); 00220 } 00221 00222 ROS_DEPRECATED virtual uint32_t serializationLength() const 00223 { 00224 uint32_t size = 0; 00225 return size; 00226 } 00227 00228 typedef boost::shared_ptr< ::srs_env_model::PlaneResponse_<ContainerAllocator> > Ptr; 00229 typedef boost::shared_ptr< ::srs_env_model::PlaneResponse_<ContainerAllocator> const> ConstPtr; 00230 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00231 }; // struct PlaneResponse 00232 typedef ::srs_env_model::PlaneResponse_<std::allocator<void> > PlaneResponse; 00233 00234 typedef boost::shared_ptr< ::srs_env_model::PlaneResponse> PlaneResponsePtr; 00235 typedef boost::shared_ptr< ::srs_env_model::PlaneResponse const> PlaneResponseConstPtr; 00236 00237 struct Plane 00238 { 00239 00240 typedef PlaneRequest Request; 00241 typedef PlaneResponse Response; 00242 Request request; 00243 Response response; 00244 00245 typedef Request RequestType; 00246 typedef Response ResponseType; 00247 }; // struct Plane 00248 } // namespace srs_env_model 00249 00250 namespace ros 00251 { 00252 namespace message_traits 00253 { 00254 template<class ContainerAllocator> struct IsMessage< ::srs_env_model::PlaneRequest_<ContainerAllocator> > : public TrueType {}; 00255 template<class ContainerAllocator> struct IsMessage< ::srs_env_model::PlaneRequest_<ContainerAllocator> const> : public TrueType {}; 00256 template<class ContainerAllocator> 00257 struct MD5Sum< ::srs_env_model::PlaneRequest_<ContainerAllocator> > { 00258 static const char* value() 00259 { 00260 return "ce249f36b3d14634d041bd44879d8024"; 00261 } 00262 00263 static const char* value(const ::srs_env_model::PlaneRequest_<ContainerAllocator> &) { return value(); } 00264 static const uint64_t static_value1 = 0xce249f36b3d14634ULL; 00265 static const uint64_t static_value2 = 0xd041bd44879d8024ULL; 00266 }; 00267 00268 template<class ContainerAllocator> 00269 struct DataType< ::srs_env_model::PlaneRequest_<ContainerAllocator> > { 00270 static const char* value() 00271 { 00272 return "srs_env_model/PlaneRequest"; 00273 } 00274 00275 static const char* value(const ::srs_env_model::PlaneRequest_<ContainerAllocator> &) { return value(); } 00276 }; 00277 00278 template<class ContainerAllocator> 00279 struct Definition< ::srs_env_model::PlaneRequest_<ContainerAllocator> > { 00280 static const char* value() 00281 { 00282 return "srs_env_model_msgs/PlaneArray plane\n\ 00283 \n\ 00284 ================================================================================\n\ 00285 MSG: srs_env_model_msgs/PlaneArray\n\ 00286 Header header\n\ 00287 PlaneDesc[] planes\n\ 00288 \n\ 00289 ================================================================================\n\ 00290 MSG: std_msgs/Header\n\ 00291 # Standard metadata for higher-level stamped data types.\n\ 00292 # This is generally used to communicate timestamped data \n\ 00293 # in a particular coordinate frame.\n\ 00294 # \n\ 00295 # sequence ID: consecutively increasing ID \n\ 00296 uint32 seq\n\ 00297 #Two-integer timestamp that is expressed as:\n\ 00298 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00299 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00300 # time-handling sugar is provided by the client library\n\ 00301 time stamp\n\ 00302 #Frame this data is associated with\n\ 00303 # 0: no frame\n\ 00304 # 1: global frame\n\ 00305 string frame_id\n\ 00306 \n\ 00307 ================================================================================\n\ 00308 MSG: srs_env_model_msgs/PlaneDesc\n\ 00309 int32 INSERT=0 # Clear old data, insert new one\n\ 00310 int32 MODIFY=1 # Modify plane\n\ 00311 int32 REMOVE=2 # Remove data\n\ 00312 \n\ 00313 int32 id\n\ 00314 int32 flags \n\ 00315 geometry_msgs/Pose pose\n\ 00316 geometry_msgs/Vector3 scale\n\ 00317 \n\ 00318 ================================================================================\n\ 00319 MSG: geometry_msgs/Pose\n\ 00320 # A representation of pose in free space, composed of postion and orientation. \n\ 00321 Point position\n\ 00322 Quaternion orientation\n\ 00323 \n\ 00324 ================================================================================\n\ 00325 MSG: geometry_msgs/Point\n\ 00326 # This contains the position of a point in free space\n\ 00327 float64 x\n\ 00328 float64 y\n\ 00329 float64 z\n\ 00330 \n\ 00331 ================================================================================\n\ 00332 MSG: geometry_msgs/Quaternion\n\ 00333 # This represents an orientation in free space in quaternion form.\n\ 00334 \n\ 00335 float64 x\n\ 00336 float64 y\n\ 00337 float64 z\n\ 00338 float64 w\n\ 00339 \n\ 00340 ================================================================================\n\ 00341 MSG: geometry_msgs/Vector3\n\ 00342 # This represents a vector in free space. \n\ 00343 \n\ 00344 float64 x\n\ 00345 float64 y\n\ 00346 float64 z\n\ 00347 "; 00348 } 00349 00350 static const char* value(const ::srs_env_model::PlaneRequest_<ContainerAllocator> &) { return value(); } 00351 }; 00352 00353 } // namespace message_traits 00354 } // namespace ros 00355 00356 00357 namespace ros 00358 { 00359 namespace message_traits 00360 { 00361 template<class ContainerAllocator> struct IsMessage< ::srs_env_model::PlaneResponse_<ContainerAllocator> > : public TrueType {}; 00362 template<class ContainerAllocator> struct IsMessage< ::srs_env_model::PlaneResponse_<ContainerAllocator> const> : public TrueType {}; 00363 template<class ContainerAllocator> 00364 struct MD5Sum< ::srs_env_model::PlaneResponse_<ContainerAllocator> > { 00365 static const char* value() 00366 { 00367 return "d41d8cd98f00b204e9800998ecf8427e"; 00368 } 00369 00370 static const char* value(const ::srs_env_model::PlaneResponse_<ContainerAllocator> &) { return value(); } 00371 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00372 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00373 }; 00374 00375 template<class ContainerAllocator> 00376 struct DataType< ::srs_env_model::PlaneResponse_<ContainerAllocator> > { 00377 static const char* value() 00378 { 00379 return "srs_env_model/PlaneResponse"; 00380 } 00381 00382 static const char* value(const ::srs_env_model::PlaneResponse_<ContainerAllocator> &) { return value(); } 00383 }; 00384 00385 template<class ContainerAllocator> 00386 struct Definition< ::srs_env_model::PlaneResponse_<ContainerAllocator> > { 00387 static const char* value() 00388 { 00389 return "\n\ 00390 \n\ 00391 "; 00392 } 00393 00394 static const char* value(const ::srs_env_model::PlaneResponse_<ContainerAllocator> &) { return value(); } 00395 }; 00396 00397 template<class ContainerAllocator> struct IsFixedSize< ::srs_env_model::PlaneResponse_<ContainerAllocator> > : public TrueType {}; 00398 } // namespace message_traits 00399 } // namespace ros 00400 00401 namespace ros 00402 { 00403 namespace serialization 00404 { 00405 00406 template<class ContainerAllocator> struct Serializer< ::srs_env_model::PlaneRequest_<ContainerAllocator> > 00407 { 00408 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00409 { 00410 stream.next(m.plane); 00411 } 00412 00413 ROS_DECLARE_ALLINONE_SERIALIZER; 00414 }; // struct PlaneRequest_ 00415 } // namespace serialization 00416 } // namespace ros 00417 00418 00419 namespace ros 00420 { 00421 namespace serialization 00422 { 00423 00424 template<class ContainerAllocator> struct Serializer< ::srs_env_model::PlaneResponse_<ContainerAllocator> > 00425 { 00426 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00427 { 00428 } 00429 00430 ROS_DECLARE_ALLINONE_SERIALIZER; 00431 }; // struct PlaneResponse_ 00432 } // namespace serialization 00433 } // namespace ros 00434 00435 namespace ros 00436 { 00437 namespace service_traits 00438 { 00439 template<> 00440 struct MD5Sum<srs_env_model::Plane> { 00441 static const char* value() 00442 { 00443 return "ce249f36b3d14634d041bd44879d8024"; 00444 } 00445 00446 static const char* value(const srs_env_model::Plane&) { return value(); } 00447 }; 00448 00449 template<> 00450 struct DataType<srs_env_model::Plane> { 00451 static const char* value() 00452 { 00453 return "srs_env_model/Plane"; 00454 } 00455 00456 static const char* value(const srs_env_model::Plane&) { return value(); } 00457 }; 00458 00459 template<class ContainerAllocator> 00460 struct MD5Sum<srs_env_model::PlaneRequest_<ContainerAllocator> > { 00461 static const char* value() 00462 { 00463 return "ce249f36b3d14634d041bd44879d8024"; 00464 } 00465 00466 static const char* value(const srs_env_model::PlaneRequest_<ContainerAllocator> &) { return value(); } 00467 }; 00468 00469 template<class ContainerAllocator> 00470 struct DataType<srs_env_model::PlaneRequest_<ContainerAllocator> > { 00471 static const char* value() 00472 { 00473 return "srs_env_model/Plane"; 00474 } 00475 00476 static const char* value(const srs_env_model::PlaneRequest_<ContainerAllocator> &) { return value(); } 00477 }; 00478 00479 template<class ContainerAllocator> 00480 struct MD5Sum<srs_env_model::PlaneResponse_<ContainerAllocator> > { 00481 static const char* value() 00482 { 00483 return "ce249f36b3d14634d041bd44879d8024"; 00484 } 00485 00486 static const char* value(const srs_env_model::PlaneResponse_<ContainerAllocator> &) { return value(); } 00487 }; 00488 00489 template<class ContainerAllocator> 00490 struct DataType<srs_env_model::PlaneResponse_<ContainerAllocator> > { 00491 static const char* value() 00492 { 00493 return "srs_env_model/Plane"; 00494 } 00495 00496 static const char* value(const srs_env_model::PlaneResponse_<ContainerAllocator> &) { return value(); } 00497 }; 00498 00499 } // namespace service_traits 00500 } // namespace ros 00501 00502 #endif // SRS_ENV_MODEL_SERVICE_PLANE_H 00503