StopTask.h
Go to the documentation of this file.
1 /* Auto-generated by genmsg_cpp for file /tmp/buildd/ros-groovy-web-interface-0.5.0/debian/ros-groovy-web-interface/opt/ros/groovy/stacks/web_interface/launchman/srv/StopTask.srv */
2 #ifndef LAUNCHMAN_SERVICE_STOPTASK_H
3 #define LAUNCHMAN_SERVICE_STOPTASK_H
4 #include <string>
5 #include <vector>
6 #include <map>
7 #include <ostream>
8 #include "ros/serialization.h"
10 #include "ros/message_operations.h"
11 #include "ros/time.h"
12 
13 #include "ros/macros.h"
14 
15 #include "ros/assert.h"
16 
17 #include "ros/service_traits.h"
18 
19 
20 
21 
22 namespace launchman
23 {
24 template <class ContainerAllocator>
27 
29  : taskid()
30  , username()
31  {
32  }
33 
34  StopTaskRequest_(const ContainerAllocator& _alloc)
35  : taskid(_alloc)
36  , username(_alloc)
37  {
38  }
39 
40  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _taskid_type;
41  std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > taskid;
42 
43  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _username_type;
44  std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > username;
45 
46 
50 }; // struct StopTaskRequest
51 typedef ::launchman::StopTaskRequest_<std::allocator<void> > StopTaskRequest;
52 
55 
56 
57 
58 template <class ContainerAllocator>
61 
63  : status()
64  {
65  }
66 
67  StopTaskResponse_(const ContainerAllocator& _alloc)
68  : status(_alloc)
69  {
70  }
71 
72  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _status_type;
73  std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > status;
74 
75 
79 }; // struct StopTaskResponse
80 typedef ::launchman::StopTaskResponse_<std::allocator<void> > StopTaskResponse;
81 
84 
85 
86 struct StopTask
87 {
88 
89 typedef StopTaskRequest Request;
90 typedef StopTaskResponse Response;
91 Request request;
92 Response response;
93 
94 typedef Request RequestType;
95 typedef Response ResponseType;
96 }; // struct StopTask
97 } // namespace launchman
98 
99 namespace ros
100 {
101 namespace message_traits
102 {
103 template<class ContainerAllocator> struct IsMessage< ::launchman::StopTaskRequest_<ContainerAllocator> > : public TrueType {};
104 template<class ContainerAllocator> struct IsMessage< ::launchman::StopTaskRequest_<ContainerAllocator> const> : public TrueType {};
105 template<class ContainerAllocator>
106 struct MD5Sum< ::launchman::StopTaskRequest_<ContainerAllocator> > {
107  static const char* value()
108  {
109  return "f90254a4a4912432fb92a8e890bdfbcd";
110  }
111 
112  static const char* value(const ::launchman::StopTaskRequest_<ContainerAllocator> &) { return value(); }
113  static const uint64_t static_value1 = 0xf90254a4a4912432ULL;
114  static const uint64_t static_value2 = 0xfb92a8e890bdfbcdULL;
115 };
116 
117 template<class ContainerAllocator>
118 struct DataType< ::launchman::StopTaskRequest_<ContainerAllocator> > {
119  static const char* value()
120  {
121  return "launchman/StopTaskRequest";
122  }
123 
124  static const char* value(const ::launchman::StopTaskRequest_<ContainerAllocator> &) { return value(); }
125 };
126 
127 template<class ContainerAllocator>
128 struct Definition< ::launchman::StopTaskRequest_<ContainerAllocator> > {
129  static const char* value()
130  {
131  return "string taskid\n\
132 string username\n\
133 \n\
134 ";
135  }
136 
137  static const char* value(const ::launchman::StopTaskRequest_<ContainerAllocator> &) { return value(); }
138 };
139 
140 } // namespace message_traits
141 } // namespace ros
142 
143 
144 namespace ros
145 {
146 namespace message_traits
147 {
148 template<class ContainerAllocator> struct IsMessage< ::launchman::StopTaskResponse_<ContainerAllocator> > : public TrueType {};
149 template<class ContainerAllocator> struct IsMessage< ::launchman::StopTaskResponse_<ContainerAllocator> const> : public TrueType {};
150 template<class ContainerAllocator>
151 struct MD5Sum< ::launchman::StopTaskResponse_<ContainerAllocator> > {
152  static const char* value()
153  {
154  return "4fe5af303955c287688e7347e9b00278";
155  }
156 
157  static const char* value(const ::launchman::StopTaskResponse_<ContainerAllocator> &) { return value(); }
158  static const uint64_t static_value1 = 0x4fe5af303955c287ULL;
159  static const uint64_t static_value2 = 0x688e7347e9b00278ULL;
160 };
161 
162 template<class ContainerAllocator>
163 struct DataType< ::launchman::StopTaskResponse_<ContainerAllocator> > {
164  static const char* value()
165  {
166  return "launchman/StopTaskResponse";
167  }
168 
169  static const char* value(const ::launchman::StopTaskResponse_<ContainerAllocator> &) { return value(); }
170 };
171 
172 template<class ContainerAllocator>
173 struct Definition< ::launchman::StopTaskResponse_<ContainerAllocator> > {
174  static const char* value()
175  {
176  return "string status\n\
177 \n\
178 ";
179  }
180 
181  static const char* value(const ::launchman::StopTaskResponse_<ContainerAllocator> &) { return value(); }
182 };
183 
184 } // namespace message_traits
185 } // namespace ros
186 
187 namespace ros
188 {
189 namespace serialization
190 {
191 
192 template<class ContainerAllocator> struct Serializer< ::launchman::StopTaskRequest_<ContainerAllocator> >
193 {
194  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
195  {
196  stream.next(m.taskid);
197  stream.next(m.username);
198  }
199 
201 }; // struct StopTaskRequest_
202 } // namespace serialization
203 } // namespace ros
204 
205 
206 namespace ros
207 {
208 namespace serialization
209 {
210 
211 template<class ContainerAllocator> struct Serializer< ::launchman::StopTaskResponse_<ContainerAllocator> >
212 {
213  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
214  {
215  stream.next(m.status);
216  }
217 
219 }; // struct StopTaskResponse_
220 } // namespace serialization
221 } // namespace ros
222 
223 namespace ros
224 {
225 namespace service_traits
226 {
227 template<>
228 struct MD5Sum<launchman::StopTask> {
229  static const char* value()
230  {
231  return "a7f7c2a0ff94dc94508b68c526bc0b69";
232  }
233 
234  static const char* value(const launchman::StopTask&) { return value(); }
235 };
236 
237 template<>
238 struct DataType<launchman::StopTask> {
239  static const char* value()
240  {
241  return "launchman/StopTask";
242  }
243 
244  static const char* value(const launchman::StopTask&) { return value(); }
245 };
246 
247 template<class ContainerAllocator>
248 struct MD5Sum<launchman::StopTaskRequest_<ContainerAllocator> > {
249  static const char* value()
250  {
251  return "a7f7c2a0ff94dc94508b68c526bc0b69";
252  }
253 
254  static const char* value(const launchman::StopTaskRequest_<ContainerAllocator> &) { return value(); }
255 };
256 
257 template<class ContainerAllocator>
258 struct DataType<launchman::StopTaskRequest_<ContainerAllocator> > {
259  static const char* value()
260  {
261  return "launchman/StopTask";
262  }
263 
264  static const char* value(const launchman::StopTaskRequest_<ContainerAllocator> &) { return value(); }
265 };
266 
267 template<class ContainerAllocator>
268 struct MD5Sum<launchman::StopTaskResponse_<ContainerAllocator> > {
269  static const char* value()
270  {
271  return "a7f7c2a0ff94dc94508b68c526bc0b69";
272  }
273 
274  static const char* value(const launchman::StopTaskResponse_<ContainerAllocator> &) { return value(); }
275 };
276 
277 template<class ContainerAllocator>
278 struct DataType<launchman::StopTaskResponse_<ContainerAllocator> > {
279  static const char* value()
280  {
281  return "launchman/StopTask";
282  }
283 
284  static const char* value(const launchman::StopTaskResponse_<ContainerAllocator> &) { return value(); }
285 };
286 
287 } // namespace service_traits
288 } // namespace ros
289 
290 #endif // LAUNCHMAN_SERVICE_STOPTASK_H
291 
StopTaskResponse Response
Definition: StopTask.h:90
static const char * value(const ::launchman::StopTaskResponse_< ContainerAllocator > &)
Definition: StopTask.h:181
boost::shared_ptr< ::launchman::StopTaskResponse_< ContainerAllocator > const > ConstPtr
Definition: StopTask.h:77
StopTaskResponse_(const ContainerAllocator &_alloc)
Definition: StopTask.h:67
static const char * value(const launchman::StopTaskRequest_< ContainerAllocator > &)
Definition: StopTask.h:254
StopTaskRequest Request
Definition: StopTask.h:89
boost::shared_ptr< ::launchman::StopTaskResponse > StopTaskResponsePtr
Definition: StopTask.h:82
boost::shared_ptr< ::launchman::StopTaskRequest > StopTaskRequestPtr
Definition: StopTask.h:53
static const char * value(const ::launchman::StopTaskResponse_< ContainerAllocator > &)
Definition: StopTask.h:169
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _status_type
Definition: StopTask.h:72
static const char * value(const launchman::StopTaskResponse_< ContainerAllocator > &)
Definition: StopTask.h:284
static const char * value(const launchman::StopTaskResponse_< ContainerAllocator > &)
Definition: StopTask.h:274
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _username_type
Definition: StopTask.h:43
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > taskid
Definition: StopTask.h:41
Request RequestType
Definition: StopTask.h:94
StopTaskRequest_(const ContainerAllocator &_alloc)
Definition: StopTask.h:34
::launchman::StopTaskResponse_< std::allocator< void > > StopTaskResponse
Definition: StopTask.h:80
boost::shared_ptr< std::map< std::string, std::string > > __connection_header
Definition: StopTask.h:49
boost::shared_ptr< ::launchman::StopTaskRequest_< ContainerAllocator > const > ConstPtr
Definition: StopTask.h:48
static const char * value(const launchman::StopTask &)
Definition: StopTask.h:234
static const char * value(const ::launchman::StopTaskResponse_< ContainerAllocator > &)
Definition: StopTask.h:157
StopTaskRequest_< ContainerAllocator > Type
Definition: StopTask.h:26
static const char * value(const ::launchman::StopTaskRequest_< ContainerAllocator > &)
Definition: StopTask.h:137
static const char * value(const launchman::StopTask &)
Definition: StopTask.h:244
static const char * value(const ::launchman::StopTaskRequest_< ContainerAllocator > &)
Definition: StopTask.h:112
boost::shared_ptr< ::launchman::StopTaskRequest_< ContainerAllocator > > Ptr
Definition: StopTask.h:47
StopTaskResponse_< ContainerAllocator > Type
Definition: StopTask.h:60
::launchman::StopTaskRequest_< std::allocator< void > > StopTaskRequest
Definition: StopTask.h:51
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _taskid_type
Definition: StopTask.h:40
boost::shared_ptr< ::launchman::StopTaskResponse const > StopTaskResponseConstPtr
Definition: StopTask.h:83
boost::shared_ptr< std::map< std::string, std::string > > __connection_header
Definition: StopTask.h:78
static const char * value(const launchman::StopTaskRequest_< ContainerAllocator > &)
Definition: StopTask.h:264
static const char * value(const ::launchman::StopTaskRequest_< ContainerAllocator > &)
Definition: StopTask.h:124
Response response
Definition: StopTask.h:92
boost::shared_ptr< ::launchman::StopTaskRequest const > StopTaskRequestConstPtr
Definition: StopTask.h:54
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > status
Definition: StopTask.h:73
boost::shared_ptr< ::launchman::StopTaskResponse_< ContainerAllocator > > Ptr
Definition: StopTask.h:76
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > username
Definition: StopTask.h:44
Response ResponseType
Definition: StopTask.h:95


launchman
Author(s): Scott Noob Hassan
autogenerated on Mon Jun 10 2019 15:51:09