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