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