00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-unizar-ros-rt-wmp-pkg/doc_stacks/2014-10-06_08-24-58.143404/unizar-ros-rt-wmp-pkg/ros_rt_wmp_msgs/srv/WMPCompatibleService.srv */ 00002 #ifndef ROS_RT_WMP_MSGS_SERVICE_WMPCOMPATIBLESERVICE_H 00003 #define ROS_RT_WMP_MSGS_SERVICE_WMPCOMPATIBLESERVICE_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 ros_rt_wmp_msgs 00023 { 00024 template <class ContainerAllocator> 00025 struct WMPCompatibleServiceRequest_ { 00026 typedef WMPCompatibleServiceRequest_<ContainerAllocator> Type; 00027 00028 WMPCompatibleServiceRequest_() 00029 : dest(0) 00030 , priority(0) 00031 { 00032 } 00033 00034 WMPCompatibleServiceRequest_(const ContainerAllocator& _alloc) 00035 : dest(0) 00036 , priority(0) 00037 { 00038 } 00039 00040 typedef int32_t _dest_type; 00041 int32_t dest; 00042 00043 typedef int8_t _priority_type; 00044 int8_t priority; 00045 00046 00047 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPCompatibleServiceRequest_<ContainerAllocator> > Ptr; 00048 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPCompatibleServiceRequest_<ContainerAllocator> const> ConstPtr; 00049 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00050 }; // struct WMPCompatibleServiceRequest 00051 typedef ::ros_rt_wmp_msgs::WMPCompatibleServiceRequest_<std::allocator<void> > WMPCompatibleServiceRequest; 00052 00053 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPCompatibleServiceRequest> WMPCompatibleServiceRequestPtr; 00054 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPCompatibleServiceRequest const> WMPCompatibleServiceRequestConstPtr; 00055 00056 00057 00058 template <class ContainerAllocator> 00059 struct WMPCompatibleServiceResponse_ { 00060 typedef WMPCompatibleServiceResponse_<ContainerAllocator> Type; 00061 00062 WMPCompatibleServiceResponse_() 00063 : result(0) 00064 { 00065 } 00066 00067 WMPCompatibleServiceResponse_(const ContainerAllocator& _alloc) 00068 : result(0) 00069 { 00070 } 00071 00072 typedef int32_t _result_type; 00073 int32_t result; 00074 00075 00076 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPCompatibleServiceResponse_<ContainerAllocator> > Ptr; 00077 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPCompatibleServiceResponse_<ContainerAllocator> const> ConstPtr; 00078 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00079 }; // struct WMPCompatibleServiceResponse 00080 typedef ::ros_rt_wmp_msgs::WMPCompatibleServiceResponse_<std::allocator<void> > WMPCompatibleServiceResponse; 00081 00082 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPCompatibleServiceResponse> WMPCompatibleServiceResponsePtr; 00083 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPCompatibleServiceResponse const> WMPCompatibleServiceResponseConstPtr; 00084 00085 00086 struct WMPCompatibleService 00087 { 00088 00089 typedef WMPCompatibleServiceRequest Request; 00090 typedef WMPCompatibleServiceResponse Response; 00091 Request request; 00092 Response response; 00093 00094 typedef Request RequestType; 00095 typedef Response ResponseType; 00096 }; // struct WMPCompatibleService 00097 } // namespace ros_rt_wmp_msgs 00098 00099 namespace ros 00100 { 00101 namespace message_traits 00102 { 00103 template<class ContainerAllocator> struct IsMessage< ::ros_rt_wmp_msgs::WMPCompatibleServiceRequest_<ContainerAllocator> > : public TrueType {}; 00104 template<class ContainerAllocator> struct IsMessage< ::ros_rt_wmp_msgs::WMPCompatibleServiceRequest_<ContainerAllocator> const> : public TrueType {}; 00105 template<class ContainerAllocator> 00106 struct MD5Sum< ::ros_rt_wmp_msgs::WMPCompatibleServiceRequest_<ContainerAllocator> > { 00107 static const char* value() 00108 { 00109 return "26f4930e635da54a35b7ee39c4b7fc3a"; 00110 } 00111 00112 static const char* value(const ::ros_rt_wmp_msgs::WMPCompatibleServiceRequest_<ContainerAllocator> &) { return value(); } 00113 static const uint64_t static_value1 = 0x26f4930e635da54aULL; 00114 static const uint64_t static_value2 = 0x35b7ee39c4b7fc3aULL; 00115 }; 00116 00117 template<class ContainerAllocator> 00118 struct DataType< ::ros_rt_wmp_msgs::WMPCompatibleServiceRequest_<ContainerAllocator> > { 00119 static const char* value() 00120 { 00121 return "ros_rt_wmp_msgs/WMPCompatibleServiceRequest"; 00122 } 00123 00124 static const char* value(const ::ros_rt_wmp_msgs::WMPCompatibleServiceRequest_<ContainerAllocator> &) { return value(); } 00125 }; 00126 00127 template<class ContainerAllocator> 00128 struct Definition< ::ros_rt_wmp_msgs::WMPCompatibleServiceRequest_<ContainerAllocator> > { 00129 static const char* value() 00130 { 00131 return "int32 dest\n\ 00132 int8 priority\n\ 00133 \n\ 00134 \n\ 00135 \n\ 00136 \n\ 00137 "; 00138 } 00139 00140 static const char* value(const ::ros_rt_wmp_msgs::WMPCompatibleServiceRequest_<ContainerAllocator> &) { return value(); } 00141 }; 00142 00143 template<class ContainerAllocator> struct IsFixedSize< ::ros_rt_wmp_msgs::WMPCompatibleServiceRequest_<ContainerAllocator> > : public TrueType {}; 00144 } // namespace message_traits 00145 } // namespace ros 00146 00147 00148 namespace ros 00149 { 00150 namespace message_traits 00151 { 00152 template<class ContainerAllocator> struct IsMessage< ::ros_rt_wmp_msgs::WMPCompatibleServiceResponse_<ContainerAllocator> > : public TrueType {}; 00153 template<class ContainerAllocator> struct IsMessage< ::ros_rt_wmp_msgs::WMPCompatibleServiceResponse_<ContainerAllocator> const> : public TrueType {}; 00154 template<class ContainerAllocator> 00155 struct MD5Sum< ::ros_rt_wmp_msgs::WMPCompatibleServiceResponse_<ContainerAllocator> > { 00156 static const char* value() 00157 { 00158 return "034a8e20d6a306665e3a5b340fab3f09"; 00159 } 00160 00161 static const char* value(const ::ros_rt_wmp_msgs::WMPCompatibleServiceResponse_<ContainerAllocator> &) { return value(); } 00162 static const uint64_t static_value1 = 0x034a8e20d6a30666ULL; 00163 static const uint64_t static_value2 = 0x5e3a5b340fab3f09ULL; 00164 }; 00165 00166 template<class ContainerAllocator> 00167 struct DataType< ::ros_rt_wmp_msgs::WMPCompatibleServiceResponse_<ContainerAllocator> > { 00168 static const char* value() 00169 { 00170 return "ros_rt_wmp_msgs/WMPCompatibleServiceResponse"; 00171 } 00172 00173 static const char* value(const ::ros_rt_wmp_msgs::WMPCompatibleServiceResponse_<ContainerAllocator> &) { return value(); } 00174 }; 00175 00176 template<class ContainerAllocator> 00177 struct Definition< ::ros_rt_wmp_msgs::WMPCompatibleServiceResponse_<ContainerAllocator> > { 00178 static const char* value() 00179 { 00180 return "int32 result\n\ 00181 \n\ 00182 \n\ 00183 "; 00184 } 00185 00186 static const char* value(const ::ros_rt_wmp_msgs::WMPCompatibleServiceResponse_<ContainerAllocator> &) { return value(); } 00187 }; 00188 00189 template<class ContainerAllocator> struct IsFixedSize< ::ros_rt_wmp_msgs::WMPCompatibleServiceResponse_<ContainerAllocator> > : public TrueType {}; 00190 } // namespace message_traits 00191 } // namespace ros 00192 00193 namespace ros 00194 { 00195 namespace serialization 00196 { 00197 00198 template<class ContainerAllocator> struct Serializer< ::ros_rt_wmp_msgs::WMPCompatibleServiceRequest_<ContainerAllocator> > 00199 { 00200 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00201 { 00202 stream.next(m.dest); 00203 stream.next(m.priority); 00204 } 00205 00206 ROS_DECLARE_ALLINONE_SERIALIZER; 00207 }; // struct WMPCompatibleServiceRequest_ 00208 } // namespace serialization 00209 } // namespace ros 00210 00211 00212 namespace ros 00213 { 00214 namespace serialization 00215 { 00216 00217 template<class ContainerAllocator> struct Serializer< ::ros_rt_wmp_msgs::WMPCompatibleServiceResponse_<ContainerAllocator> > 00218 { 00219 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00220 { 00221 stream.next(m.result); 00222 } 00223 00224 ROS_DECLARE_ALLINONE_SERIALIZER; 00225 }; // struct WMPCompatibleServiceResponse_ 00226 } // namespace serialization 00227 } // namespace ros 00228 00229 namespace ros 00230 { 00231 namespace service_traits 00232 { 00233 template<> 00234 struct MD5Sum<ros_rt_wmp_msgs::WMPCompatibleService> { 00235 static const char* value() 00236 { 00237 return "20fb9bf8a54a3977f123cba4efa45da0"; 00238 } 00239 00240 static const char* value(const ros_rt_wmp_msgs::WMPCompatibleService&) { return value(); } 00241 }; 00242 00243 template<> 00244 struct DataType<ros_rt_wmp_msgs::WMPCompatibleService> { 00245 static const char* value() 00246 { 00247 return "ros_rt_wmp_msgs/WMPCompatibleService"; 00248 } 00249 00250 static const char* value(const ros_rt_wmp_msgs::WMPCompatibleService&) { return value(); } 00251 }; 00252 00253 template<class ContainerAllocator> 00254 struct MD5Sum<ros_rt_wmp_msgs::WMPCompatibleServiceRequest_<ContainerAllocator> > { 00255 static const char* value() 00256 { 00257 return "20fb9bf8a54a3977f123cba4efa45da0"; 00258 } 00259 00260 static const char* value(const ros_rt_wmp_msgs::WMPCompatibleServiceRequest_<ContainerAllocator> &) { return value(); } 00261 }; 00262 00263 template<class ContainerAllocator> 00264 struct DataType<ros_rt_wmp_msgs::WMPCompatibleServiceRequest_<ContainerAllocator> > { 00265 static const char* value() 00266 { 00267 return "ros_rt_wmp_msgs/WMPCompatibleService"; 00268 } 00269 00270 static const char* value(const ros_rt_wmp_msgs::WMPCompatibleServiceRequest_<ContainerAllocator> &) { return value(); } 00271 }; 00272 00273 template<class ContainerAllocator> 00274 struct MD5Sum<ros_rt_wmp_msgs::WMPCompatibleServiceResponse_<ContainerAllocator> > { 00275 static const char* value() 00276 { 00277 return "20fb9bf8a54a3977f123cba4efa45da0"; 00278 } 00279 00280 static const char* value(const ros_rt_wmp_msgs::WMPCompatibleServiceResponse_<ContainerAllocator> &) { return value(); } 00281 }; 00282 00283 template<class ContainerAllocator> 00284 struct DataType<ros_rt_wmp_msgs::WMPCompatibleServiceResponse_<ContainerAllocator> > { 00285 static const char* value() 00286 { 00287 return "ros_rt_wmp_msgs/WMPCompatibleService"; 00288 } 00289 00290 static const char* value(const ros_rt_wmp_msgs::WMPCompatibleServiceResponse_<ContainerAllocator> &) { return value(); } 00291 }; 00292 00293 } // namespace service_traits 00294 } // namespace ros 00295 00296 #endif // ROS_RT_WMP_MSGS_SERVICE_WMPCOMPATIBLESERVICE_H 00297