Go to the documentation of this file.00001
00002 #ifndef ROS_RT_WMP_MSGS_SERVICE_WMPSERVICETEST_H
00003 #define ROS_RT_WMP_MSGS_SERVICE_WMPSERVICETEST_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 "ros_rt_wmp_msgs/WMPServiceHeader.h"
00020
00021
00022
00023 namespace ros_rt_wmp_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct WMPServiceTestRequest_ {
00027 typedef WMPServiceTestRequest_<ContainerAllocator> Type;
00028
00029 WMPServiceTestRequest_()
00030 : header()
00031 , a1(0)
00032 , a2(0)
00033 {
00034 }
00035
00036 WMPServiceTestRequest_(const ContainerAllocator& _alloc)
00037 : header(_alloc)
00038 , a1(0)
00039 , a2(0)
00040 {
00041 }
00042
00043 typedef ::ros_rt_wmp_msgs::WMPServiceHeader_<ContainerAllocator> _header_type;
00044 ::ros_rt_wmp_msgs::WMPServiceHeader_<ContainerAllocator> header;
00045
00046 typedef uint8_t _a1_type;
00047 uint8_t a1;
00048
00049 typedef uint8_t _a2_type;
00050 uint8_t a2;
00051
00052
00053 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPServiceTestRequest_<ContainerAllocator> > Ptr;
00054 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPServiceTestRequest_<ContainerAllocator> const> ConstPtr;
00055 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 };
00057 typedef ::ros_rt_wmp_msgs::WMPServiceTestRequest_<std::allocator<void> > WMPServiceTestRequest;
00058
00059 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPServiceTestRequest> WMPServiceTestRequestPtr;
00060 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPServiceTestRequest const> WMPServiceTestRequestConstPtr;
00061
00062
00063
00064 template <class ContainerAllocator>
00065 struct WMPServiceTestResponse_ {
00066 typedef WMPServiceTestResponse_<ContainerAllocator> Type;
00067
00068 WMPServiceTestResponse_()
00069 : sum(0)
00070 {
00071 }
00072
00073 WMPServiceTestResponse_(const ContainerAllocator& _alloc)
00074 : sum(0)
00075 {
00076 }
00077
00078 typedef uint8_t _sum_type;
00079 uint8_t sum;
00080
00081
00082 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPServiceTestResponse_<ContainerAllocator> > Ptr;
00083 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPServiceTestResponse_<ContainerAllocator> const> ConstPtr;
00084 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00085 };
00086 typedef ::ros_rt_wmp_msgs::WMPServiceTestResponse_<std::allocator<void> > WMPServiceTestResponse;
00087
00088 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPServiceTestResponse> WMPServiceTestResponsePtr;
00089 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPServiceTestResponse const> WMPServiceTestResponseConstPtr;
00090
00091
00092 struct WMPServiceTest
00093 {
00094
00095 typedef WMPServiceTestRequest Request;
00096 typedef WMPServiceTestResponse Response;
00097 Request request;
00098 Response response;
00099
00100 typedef Request RequestType;
00101 typedef Response ResponseType;
00102 };
00103 }
00104
00105 namespace ros
00106 {
00107 namespace message_traits
00108 {
00109 template<class ContainerAllocator> struct IsMessage< ::ros_rt_wmp_msgs::WMPServiceTestRequest_<ContainerAllocator> > : public TrueType {};
00110 template<class ContainerAllocator> struct IsMessage< ::ros_rt_wmp_msgs::WMPServiceTestRequest_<ContainerAllocator> const> : public TrueType {};
00111 template<class ContainerAllocator>
00112 struct MD5Sum< ::ros_rt_wmp_msgs::WMPServiceTestRequest_<ContainerAllocator> > {
00113 static const char* value()
00114 {
00115 return "9a5f1ce7b0b64b63ad98056dc396fc0b";
00116 }
00117
00118 static const char* value(const ::ros_rt_wmp_msgs::WMPServiceTestRequest_<ContainerAllocator> &) { return value(); }
00119 static const uint64_t static_value1 = 0x9a5f1ce7b0b64b63ULL;
00120 static const uint64_t static_value2 = 0xad98056dc396fc0bULL;
00121 };
00122
00123 template<class ContainerAllocator>
00124 struct DataType< ::ros_rt_wmp_msgs::WMPServiceTestRequest_<ContainerAllocator> > {
00125 static const char* value()
00126 {
00127 return "ros_rt_wmp_msgs/WMPServiceTestRequest";
00128 }
00129
00130 static const char* value(const ::ros_rt_wmp_msgs::WMPServiceTestRequest_<ContainerAllocator> &) { return value(); }
00131 };
00132
00133 template<class ContainerAllocator>
00134 struct Definition< ::ros_rt_wmp_msgs::WMPServiceTestRequest_<ContainerAllocator> > {
00135 static const char* value()
00136 {
00137 return "ros_rt_wmp_msgs/WMPServiceHeader header\n\
00138 uint8 a1\n\
00139 uint8 a2\n\
00140 \n\
00141 ================================================================================\n\
00142 MSG: ros_rt_wmp_msgs/WMPServiceHeader\n\
00143 uint8 source\n\
00144 uint8 dest\n\
00145 uint8 priority\n\
00146 \n\
00147 ";
00148 }
00149
00150 static const char* value(const ::ros_rt_wmp_msgs::WMPServiceTestRequest_<ContainerAllocator> &) { return value(); }
00151 };
00152
00153 template<class ContainerAllocator> struct IsFixedSize< ::ros_rt_wmp_msgs::WMPServiceTestRequest_<ContainerAllocator> > : public TrueType {};
00154 }
00155 }
00156
00157
00158 namespace ros
00159 {
00160 namespace message_traits
00161 {
00162 template<class ContainerAllocator> struct IsMessage< ::ros_rt_wmp_msgs::WMPServiceTestResponse_<ContainerAllocator> > : public TrueType {};
00163 template<class ContainerAllocator> struct IsMessage< ::ros_rt_wmp_msgs::WMPServiceTestResponse_<ContainerAllocator> const> : public TrueType {};
00164 template<class ContainerAllocator>
00165 struct MD5Sum< ::ros_rt_wmp_msgs::WMPServiceTestResponse_<ContainerAllocator> > {
00166 static const char* value()
00167 {
00168 return "8b0b23e612cf11c618df2f89f16fb290";
00169 }
00170
00171 static const char* value(const ::ros_rt_wmp_msgs::WMPServiceTestResponse_<ContainerAllocator> &) { return value(); }
00172 static const uint64_t static_value1 = 0x8b0b23e612cf11c6ULL;
00173 static const uint64_t static_value2 = 0x18df2f89f16fb290ULL;
00174 };
00175
00176 template<class ContainerAllocator>
00177 struct DataType< ::ros_rt_wmp_msgs::WMPServiceTestResponse_<ContainerAllocator> > {
00178 static const char* value()
00179 {
00180 return "ros_rt_wmp_msgs/WMPServiceTestResponse";
00181 }
00182
00183 static const char* value(const ::ros_rt_wmp_msgs::WMPServiceTestResponse_<ContainerAllocator> &) { return value(); }
00184 };
00185
00186 template<class ContainerAllocator>
00187 struct Definition< ::ros_rt_wmp_msgs::WMPServiceTestResponse_<ContainerAllocator> > {
00188 static const char* value()
00189 {
00190 return "uint8 sum\n\
00191 \n\
00192 ";
00193 }
00194
00195 static const char* value(const ::ros_rt_wmp_msgs::WMPServiceTestResponse_<ContainerAllocator> &) { return value(); }
00196 };
00197
00198 template<class ContainerAllocator> struct IsFixedSize< ::ros_rt_wmp_msgs::WMPServiceTestResponse_<ContainerAllocator> > : public TrueType {};
00199 }
00200 }
00201
00202 namespace ros
00203 {
00204 namespace serialization
00205 {
00206
00207 template<class ContainerAllocator> struct Serializer< ::ros_rt_wmp_msgs::WMPServiceTestRequest_<ContainerAllocator> >
00208 {
00209 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00210 {
00211 stream.next(m.header);
00212 stream.next(m.a1);
00213 stream.next(m.a2);
00214 }
00215
00216 ROS_DECLARE_ALLINONE_SERIALIZER;
00217 };
00218 }
00219 }
00220
00221
00222 namespace ros
00223 {
00224 namespace serialization
00225 {
00226
00227 template<class ContainerAllocator> struct Serializer< ::ros_rt_wmp_msgs::WMPServiceTestResponse_<ContainerAllocator> >
00228 {
00229 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00230 {
00231 stream.next(m.sum);
00232 }
00233
00234 ROS_DECLARE_ALLINONE_SERIALIZER;
00235 };
00236 }
00237 }
00238
00239 namespace ros
00240 {
00241 namespace service_traits
00242 {
00243 template<>
00244 struct MD5Sum<ros_rt_wmp_msgs::WMPServiceTest> {
00245 static const char* value()
00246 {
00247 return "a4cd24526a5dfc32eb33b418fed89b5b";
00248 }
00249
00250 static const char* value(const ros_rt_wmp_msgs::WMPServiceTest&) { return value(); }
00251 };
00252
00253 template<>
00254 struct DataType<ros_rt_wmp_msgs::WMPServiceTest> {
00255 static const char* value()
00256 {
00257 return "ros_rt_wmp_msgs/WMPServiceTest";
00258 }
00259
00260 static const char* value(const ros_rt_wmp_msgs::WMPServiceTest&) { return value(); }
00261 };
00262
00263 template<class ContainerAllocator>
00264 struct MD5Sum<ros_rt_wmp_msgs::WMPServiceTestRequest_<ContainerAllocator> > {
00265 static const char* value()
00266 {
00267 return "a4cd24526a5dfc32eb33b418fed89b5b";
00268 }
00269
00270 static const char* value(const ros_rt_wmp_msgs::WMPServiceTestRequest_<ContainerAllocator> &) { return value(); }
00271 };
00272
00273 template<class ContainerAllocator>
00274 struct DataType<ros_rt_wmp_msgs::WMPServiceTestRequest_<ContainerAllocator> > {
00275 static const char* value()
00276 {
00277 return "ros_rt_wmp_msgs/WMPServiceTest";
00278 }
00279
00280 static const char* value(const ros_rt_wmp_msgs::WMPServiceTestRequest_<ContainerAllocator> &) { return value(); }
00281 };
00282
00283 template<class ContainerAllocator>
00284 struct MD5Sum<ros_rt_wmp_msgs::WMPServiceTestResponse_<ContainerAllocator> > {
00285 static const char* value()
00286 {
00287 return "a4cd24526a5dfc32eb33b418fed89b5b";
00288 }
00289
00290 static const char* value(const ros_rt_wmp_msgs::WMPServiceTestResponse_<ContainerAllocator> &) { return value(); }
00291 };
00292
00293 template<class ContainerAllocator>
00294 struct DataType<ros_rt_wmp_msgs::WMPServiceTestResponse_<ContainerAllocator> > {
00295 static const char* value()
00296 {
00297 return "ros_rt_wmp_msgs/WMPServiceTest";
00298 }
00299
00300 static const char* value(const ros_rt_wmp_msgs::WMPServiceTestResponse_<ContainerAllocator> &) { return value(); }
00301 };
00302
00303 }
00304 }
00305
00306 #endif // ROS_RT_WMP_MSGS_SERVICE_WMPSERVICETEST_H
00307