Go to the documentation of this file.00001
00002 #ifndef ROS_RT_WMP_MSGS_SERVICE_WMPCONTROL_H
00003 #define ROS_RT_WMP_MSGS_SERVICE_WMPCONTROL_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 WMPControlRequest_ {
00026 typedef WMPControlRequest_<ContainerAllocator> Type;
00027
00028 WMPControlRequest_()
00029 : dest(0)
00030 , priority(0)
00031 , command(0)
00032 , param1(0)
00033 , param2(0)
00034 , param3()
00035 {
00036 }
00037
00038 WMPControlRequest_(const ContainerAllocator& _alloc)
00039 : dest(0)
00040 , priority(0)
00041 , command(0)
00042 , param1(0)
00043 , param2(0)
00044 , param3(_alloc)
00045 {
00046 }
00047
00048 typedef int32_t _dest_type;
00049 int32_t dest;
00050
00051 typedef int32_t _priority_type;
00052 int32_t priority;
00053
00054 typedef int32_t _command_type;
00055 int32_t command;
00056
00057 typedef int32_t _param1_type;
00058 int32_t param1;
00059
00060 typedef int32_t _param2_type;
00061 int32_t param2;
00062
00063 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _param3_type;
00064 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > param3;
00065
00066
00067 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPControlRequest_<ContainerAllocator> > Ptr;
00068 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPControlRequest_<ContainerAllocator> const> ConstPtr;
00069 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00070 };
00071 typedef ::ros_rt_wmp_msgs::WMPControlRequest_<std::allocator<void> > WMPControlRequest;
00072
00073 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPControlRequest> WMPControlRequestPtr;
00074 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPControlRequest const> WMPControlRequestConstPtr;
00075
00076
00077
00078 template <class ContainerAllocator>
00079 struct WMPControlResponse_ {
00080 typedef WMPControlResponse_<ContainerAllocator> Type;
00081
00082 WMPControlResponse_()
00083 : result(0)
00084 , info()
00085 {
00086 }
00087
00088 WMPControlResponse_(const ContainerAllocator& _alloc)
00089 : result(0)
00090 , info(_alloc)
00091 {
00092 }
00093
00094 typedef int32_t _result_type;
00095 int32_t result;
00096
00097 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _info_type;
00098 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > info;
00099
00100
00101 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPControlResponse_<ContainerAllocator> > Ptr;
00102 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPControlResponse_<ContainerAllocator> const> ConstPtr;
00103 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00104 };
00105 typedef ::ros_rt_wmp_msgs::WMPControlResponse_<std::allocator<void> > WMPControlResponse;
00106
00107 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPControlResponse> WMPControlResponsePtr;
00108 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPControlResponse const> WMPControlResponseConstPtr;
00109
00110
00111 struct WMPControl
00112 {
00113
00114 typedef WMPControlRequest Request;
00115 typedef WMPControlResponse Response;
00116 Request request;
00117 Response response;
00118
00119 typedef Request RequestType;
00120 typedef Response ResponseType;
00121 };
00122 }
00123
00124 namespace ros
00125 {
00126 namespace message_traits
00127 {
00128 template<class ContainerAllocator> struct IsMessage< ::ros_rt_wmp_msgs::WMPControlRequest_<ContainerAllocator> > : public TrueType {};
00129 template<class ContainerAllocator> struct IsMessage< ::ros_rt_wmp_msgs::WMPControlRequest_<ContainerAllocator> const> : public TrueType {};
00130 template<class ContainerAllocator>
00131 struct MD5Sum< ::ros_rt_wmp_msgs::WMPControlRequest_<ContainerAllocator> > {
00132 static const char* value()
00133 {
00134 return "ac59f0105392ab5509d9e9144f394c87";
00135 }
00136
00137 static const char* value(const ::ros_rt_wmp_msgs::WMPControlRequest_<ContainerAllocator> &) { return value(); }
00138 static const uint64_t static_value1 = 0xac59f0105392ab55ULL;
00139 static const uint64_t static_value2 = 0x09d9e9144f394c87ULL;
00140 };
00141
00142 template<class ContainerAllocator>
00143 struct DataType< ::ros_rt_wmp_msgs::WMPControlRequest_<ContainerAllocator> > {
00144 static const char* value()
00145 {
00146 return "ros_rt_wmp_msgs/WMPControlRequest";
00147 }
00148
00149 static const char* value(const ::ros_rt_wmp_msgs::WMPControlRequest_<ContainerAllocator> &) { return value(); }
00150 };
00151
00152 template<class ContainerAllocator>
00153 struct Definition< ::ros_rt_wmp_msgs::WMPControlRequest_<ContainerAllocator> > {
00154 static const char* value()
00155 {
00156 return "int32 dest\n\
00157 int32 priority\n\
00158 int32 command\n\
00159 int32 param1\n\
00160 int32 param2\n\
00161 string param3\n\
00162 \n\
00163 ";
00164 }
00165
00166 static const char* value(const ::ros_rt_wmp_msgs::WMPControlRequest_<ContainerAllocator> &) { return value(); }
00167 };
00168
00169 }
00170 }
00171
00172
00173 namespace ros
00174 {
00175 namespace message_traits
00176 {
00177 template<class ContainerAllocator> struct IsMessage< ::ros_rt_wmp_msgs::WMPControlResponse_<ContainerAllocator> > : public TrueType {};
00178 template<class ContainerAllocator> struct IsMessage< ::ros_rt_wmp_msgs::WMPControlResponse_<ContainerAllocator> const> : public TrueType {};
00179 template<class ContainerAllocator>
00180 struct MD5Sum< ::ros_rt_wmp_msgs::WMPControlResponse_<ContainerAllocator> > {
00181 static const char* value()
00182 {
00183 return "b8d5529764683fc60728d4e69e7da09e";
00184 }
00185
00186 static const char* value(const ::ros_rt_wmp_msgs::WMPControlResponse_<ContainerAllocator> &) { return value(); }
00187 static const uint64_t static_value1 = 0xb8d5529764683fc6ULL;
00188 static const uint64_t static_value2 = 0x0728d4e69e7da09eULL;
00189 };
00190
00191 template<class ContainerAllocator>
00192 struct DataType< ::ros_rt_wmp_msgs::WMPControlResponse_<ContainerAllocator> > {
00193 static const char* value()
00194 {
00195 return "ros_rt_wmp_msgs/WMPControlResponse";
00196 }
00197
00198 static const char* value(const ::ros_rt_wmp_msgs::WMPControlResponse_<ContainerAllocator> &) { return value(); }
00199 };
00200
00201 template<class ContainerAllocator>
00202 struct Definition< ::ros_rt_wmp_msgs::WMPControlResponse_<ContainerAllocator> > {
00203 static const char* value()
00204 {
00205 return "int32 result\n\
00206 string info\n\
00207 \n\
00208 \n\
00209 ";
00210 }
00211
00212 static const char* value(const ::ros_rt_wmp_msgs::WMPControlResponse_<ContainerAllocator> &) { return value(); }
00213 };
00214
00215 }
00216 }
00217
00218 namespace ros
00219 {
00220 namespace serialization
00221 {
00222
00223 template<class ContainerAllocator> struct Serializer< ::ros_rt_wmp_msgs::WMPControlRequest_<ContainerAllocator> >
00224 {
00225 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00226 {
00227 stream.next(m.dest);
00228 stream.next(m.priority);
00229 stream.next(m.command);
00230 stream.next(m.param1);
00231 stream.next(m.param2);
00232 stream.next(m.param3);
00233 }
00234
00235 ROS_DECLARE_ALLINONE_SERIALIZER;
00236 };
00237 }
00238 }
00239
00240
00241 namespace ros
00242 {
00243 namespace serialization
00244 {
00245
00246 template<class ContainerAllocator> struct Serializer< ::ros_rt_wmp_msgs::WMPControlResponse_<ContainerAllocator> >
00247 {
00248 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00249 {
00250 stream.next(m.result);
00251 stream.next(m.info);
00252 }
00253
00254 ROS_DECLARE_ALLINONE_SERIALIZER;
00255 };
00256 }
00257 }
00258
00259 namespace ros
00260 {
00261 namespace service_traits
00262 {
00263 template<>
00264 struct MD5Sum<ros_rt_wmp_msgs::WMPControl> {
00265 static const char* value()
00266 {
00267 return "057b7f22e78aff9caf58f4ed30066271";
00268 }
00269
00270 static const char* value(const ros_rt_wmp_msgs::WMPControl&) { return value(); }
00271 };
00272
00273 template<>
00274 struct DataType<ros_rt_wmp_msgs::WMPControl> {
00275 static const char* value()
00276 {
00277 return "ros_rt_wmp_msgs/WMPControl";
00278 }
00279
00280 static const char* value(const ros_rt_wmp_msgs::WMPControl&) { return value(); }
00281 };
00282
00283 template<class ContainerAllocator>
00284 struct MD5Sum<ros_rt_wmp_msgs::WMPControlRequest_<ContainerAllocator> > {
00285 static const char* value()
00286 {
00287 return "057b7f22e78aff9caf58f4ed30066271";
00288 }
00289
00290 static const char* value(const ros_rt_wmp_msgs::WMPControlRequest_<ContainerAllocator> &) { return value(); }
00291 };
00292
00293 template<class ContainerAllocator>
00294 struct DataType<ros_rt_wmp_msgs::WMPControlRequest_<ContainerAllocator> > {
00295 static const char* value()
00296 {
00297 return "ros_rt_wmp_msgs/WMPControl";
00298 }
00299
00300 static const char* value(const ros_rt_wmp_msgs::WMPControlRequest_<ContainerAllocator> &) { return value(); }
00301 };
00302
00303 template<class ContainerAllocator>
00304 struct MD5Sum<ros_rt_wmp_msgs::WMPControlResponse_<ContainerAllocator> > {
00305 static const char* value()
00306 {
00307 return "057b7f22e78aff9caf58f4ed30066271";
00308 }
00309
00310 static const char* value(const ros_rt_wmp_msgs::WMPControlResponse_<ContainerAllocator> &) { return value(); }
00311 };
00312
00313 template<class ContainerAllocator>
00314 struct DataType<ros_rt_wmp_msgs::WMPControlResponse_<ContainerAllocator> > {
00315 static const char* value()
00316 {
00317 return "ros_rt_wmp_msgs/WMPControl";
00318 }
00319
00320 static const char* value(const ros_rt_wmp_msgs::WMPControlResponse_<ContainerAllocator> &) { return value(); }
00321 };
00322
00323 }
00324 }
00325
00326 #endif // ROS_RT_WMP_MSGS_SERVICE_WMPCONTROL_H
00327