$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/JointRequest.srv */ 00002 #ifndef GAZEBO_SERVICE_JOINTREQUEST_H 00003 #define GAZEBO_SERVICE_JOINTREQUEST_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 JointRequestRequest_ { 00026 typedef JointRequestRequest_<ContainerAllocator> Type; 00027 00028 JointRequestRequest_() 00029 : joint_name() 00030 { 00031 } 00032 00033 JointRequestRequest_(const ContainerAllocator& _alloc) 00034 : joint_name(_alloc) 00035 { 00036 } 00037 00038 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _joint_name_type; 00039 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > joint_name; 00040 00041 00042 private: 00043 static const char* __s_getDataType_() { return "gazebo/JointRequestRequest"; } 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 "0be1351618e1dc030eb7959d9a4902de"; } 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 "0be1351618e1dc030eb7959d9a4902de"; } 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 joint_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, joint_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, joint_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(joint_name); 00092 return size; 00093 } 00094 00095 typedef boost::shared_ptr< ::gazebo::JointRequestRequest_<ContainerAllocator> > Ptr; 00096 typedef boost::shared_ptr< ::gazebo::JointRequestRequest_<ContainerAllocator> const> ConstPtr; 00097 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00098 }; // struct JointRequestRequest 00099 typedef ::gazebo::JointRequestRequest_<std::allocator<void> > JointRequestRequest; 00100 00101 typedef boost::shared_ptr< ::gazebo::JointRequestRequest> JointRequestRequestPtr; 00102 typedef boost::shared_ptr< ::gazebo::JointRequestRequest const> JointRequestRequestConstPtr; 00103 00104 00105 template <class ContainerAllocator> 00106 struct JointRequestResponse_ { 00107 typedef JointRequestResponse_<ContainerAllocator> Type; 00108 00109 JointRequestResponse_() 00110 { 00111 } 00112 00113 JointRequestResponse_(const ContainerAllocator& _alloc) 00114 { 00115 } 00116 00117 00118 private: 00119 static const char* __s_getDataType_() { return "gazebo/JointRequestResponse"; } 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 "0be1351618e1dc030eb7959d9a4902de"; } 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 \n\ 00143 "; } 00144 public: 00145 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00146 00147 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00148 00149 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00150 { 00151 ros::serialization::OStream stream(write_ptr, 1000000000); 00152 return stream.getData(); 00153 } 00154 00155 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00156 { 00157 ros::serialization::IStream stream(read_ptr, 1000000000); 00158 return stream.getData(); 00159 } 00160 00161 ROS_DEPRECATED virtual uint32_t serializationLength() const 00162 { 00163 uint32_t size = 0; 00164 return size; 00165 } 00166 00167 typedef boost::shared_ptr< ::gazebo::JointRequestResponse_<ContainerAllocator> > Ptr; 00168 typedef boost::shared_ptr< ::gazebo::JointRequestResponse_<ContainerAllocator> const> ConstPtr; 00169 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00170 }; // struct JointRequestResponse 00171 typedef ::gazebo::JointRequestResponse_<std::allocator<void> > JointRequestResponse; 00172 00173 typedef boost::shared_ptr< ::gazebo::JointRequestResponse> JointRequestResponsePtr; 00174 typedef boost::shared_ptr< ::gazebo::JointRequestResponse const> JointRequestResponseConstPtr; 00175 00176 struct JointRequest 00177 { 00178 00179 typedef JointRequestRequest Request; 00180 typedef JointRequestResponse Response; 00181 Request request; 00182 Response response; 00183 00184 typedef Request RequestType; 00185 typedef Response ResponseType; 00186 }; // struct JointRequest 00187 } // namespace gazebo 00188 00189 namespace ros 00190 { 00191 namespace message_traits 00192 { 00193 template<class ContainerAllocator> struct IsMessage< ::gazebo::JointRequestRequest_<ContainerAllocator> > : public TrueType {}; 00194 template<class ContainerAllocator> struct IsMessage< ::gazebo::JointRequestRequest_<ContainerAllocator> const> : public TrueType {}; 00195 template<class ContainerAllocator> 00196 struct MD5Sum< ::gazebo::JointRequestRequest_<ContainerAllocator> > { 00197 static const char* value() 00198 { 00199 return "0be1351618e1dc030eb7959d9a4902de"; 00200 } 00201 00202 static const char* value(const ::gazebo::JointRequestRequest_<ContainerAllocator> &) { return value(); } 00203 static const uint64_t static_value1 = 0x0be1351618e1dc03ULL; 00204 static const uint64_t static_value2 = 0x0eb7959d9a4902deULL; 00205 }; 00206 00207 template<class ContainerAllocator> 00208 struct DataType< ::gazebo::JointRequestRequest_<ContainerAllocator> > { 00209 static const char* value() 00210 { 00211 return "gazebo/JointRequestRequest"; 00212 } 00213 00214 static const char* value(const ::gazebo::JointRequestRequest_<ContainerAllocator> &) { return value(); } 00215 }; 00216 00217 template<class ContainerAllocator> 00218 struct Definition< ::gazebo::JointRequestRequest_<ContainerAllocator> > { 00219 static const char* value() 00220 { 00221 return "\n\ 00222 \n\ 00223 string joint_name\n\ 00224 \n\ 00225 "; 00226 } 00227 00228 static const char* value(const ::gazebo::JointRequestRequest_<ContainerAllocator> &) { return value(); } 00229 }; 00230 00231 } // namespace message_traits 00232 } // namespace ros 00233 00234 00235 namespace ros 00236 { 00237 namespace message_traits 00238 { 00239 template<class ContainerAllocator> struct IsMessage< ::gazebo::JointRequestResponse_<ContainerAllocator> > : public TrueType {}; 00240 template<class ContainerAllocator> struct IsMessage< ::gazebo::JointRequestResponse_<ContainerAllocator> const> : public TrueType {}; 00241 template<class ContainerAllocator> 00242 struct MD5Sum< ::gazebo::JointRequestResponse_<ContainerAllocator> > { 00243 static const char* value() 00244 { 00245 return "d41d8cd98f00b204e9800998ecf8427e"; 00246 } 00247 00248 static const char* value(const ::gazebo::JointRequestResponse_<ContainerAllocator> &) { return value(); } 00249 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00250 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00251 }; 00252 00253 template<class ContainerAllocator> 00254 struct DataType< ::gazebo::JointRequestResponse_<ContainerAllocator> > { 00255 static const char* value() 00256 { 00257 return "gazebo/JointRequestResponse"; 00258 } 00259 00260 static const char* value(const ::gazebo::JointRequestResponse_<ContainerAllocator> &) { return value(); } 00261 }; 00262 00263 template<class ContainerAllocator> 00264 struct Definition< ::gazebo::JointRequestResponse_<ContainerAllocator> > { 00265 static const char* value() 00266 { 00267 return "\n\ 00268 \n\ 00269 \n\ 00270 "; 00271 } 00272 00273 static const char* value(const ::gazebo::JointRequestResponse_<ContainerAllocator> &) { return value(); } 00274 }; 00275 00276 template<class ContainerAllocator> struct IsFixedSize< ::gazebo::JointRequestResponse_<ContainerAllocator> > : public TrueType {}; 00277 } // namespace message_traits 00278 } // namespace ros 00279 00280 namespace ros 00281 { 00282 namespace serialization 00283 { 00284 00285 template<class ContainerAllocator> struct Serializer< ::gazebo::JointRequestRequest_<ContainerAllocator> > 00286 { 00287 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00288 { 00289 stream.next(m.joint_name); 00290 } 00291 00292 ROS_DECLARE_ALLINONE_SERIALIZER; 00293 }; // struct JointRequestRequest_ 00294 } // namespace serialization 00295 } // namespace ros 00296 00297 00298 namespace ros 00299 { 00300 namespace serialization 00301 { 00302 00303 template<class ContainerAllocator> struct Serializer< ::gazebo::JointRequestResponse_<ContainerAllocator> > 00304 { 00305 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00306 { 00307 } 00308 00309 ROS_DECLARE_ALLINONE_SERIALIZER; 00310 }; // struct JointRequestResponse_ 00311 } // namespace serialization 00312 } // namespace ros 00313 00314 namespace ros 00315 { 00316 namespace service_traits 00317 { 00318 template<> 00319 struct MD5Sum<gazebo::JointRequest> { 00320 static const char* value() 00321 { 00322 return "0be1351618e1dc030eb7959d9a4902de"; 00323 } 00324 00325 static const char* value(const gazebo::JointRequest&) { return value(); } 00326 }; 00327 00328 template<> 00329 struct DataType<gazebo::JointRequest> { 00330 static const char* value() 00331 { 00332 return "gazebo/JointRequest"; 00333 } 00334 00335 static const char* value(const gazebo::JointRequest&) { return value(); } 00336 }; 00337 00338 template<class ContainerAllocator> 00339 struct MD5Sum<gazebo::JointRequestRequest_<ContainerAllocator> > { 00340 static const char* value() 00341 { 00342 return "0be1351618e1dc030eb7959d9a4902de"; 00343 } 00344 00345 static const char* value(const gazebo::JointRequestRequest_<ContainerAllocator> &) { return value(); } 00346 }; 00347 00348 template<class ContainerAllocator> 00349 struct DataType<gazebo::JointRequestRequest_<ContainerAllocator> > { 00350 static const char* value() 00351 { 00352 return "gazebo/JointRequest"; 00353 } 00354 00355 static const char* value(const gazebo::JointRequestRequest_<ContainerAllocator> &) { return value(); } 00356 }; 00357 00358 template<class ContainerAllocator> 00359 struct MD5Sum<gazebo::JointRequestResponse_<ContainerAllocator> > { 00360 static const char* value() 00361 { 00362 return "0be1351618e1dc030eb7959d9a4902de"; 00363 } 00364 00365 static const char* value(const gazebo::JointRequestResponse_<ContainerAllocator> &) { return value(); } 00366 }; 00367 00368 template<class ContainerAllocator> 00369 struct DataType<gazebo::JointRequestResponse_<ContainerAllocator> > { 00370 static const char* value() 00371 { 00372 return "gazebo/JointRequest"; 00373 } 00374 00375 static const char* value(const gazebo::JointRequestResponse_<ContainerAllocator> &) { return value(); } 00376 }; 00377 00378 } // namespace service_traits 00379 } // namespace ros 00380 00381 #endif // GAZEBO_SERVICE_JOINTREQUEST_H 00382