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