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