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