StartTask.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/StartTask.srv */
2 #ifndef LAUNCHMAN_SERVICE_STARTTASK_H
3 #define LAUNCHMAN_SERVICE_STARTTASK_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  StartTaskRequest_(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 StartTaskRequest
51 typedef ::launchman::StartTaskRequest_<std::allocator<void> > StartTaskRequest;
52 
55 
56 
57 
58 template <class ContainerAllocator>
61 
63  : status()
64  {
65  }
66 
67  StartTaskResponse_(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 StartTaskResponse
80 typedef ::launchman::StartTaskResponse_<std::allocator<void> > StartTaskResponse;
81 
84 
85 
86 struct StartTask
87 {
88 
89 typedef StartTaskRequest Request;
90 typedef StartTaskResponse Response;
91 Request request;
92 Response response;
93 
94 typedef Request RequestType;
95 typedef Response ResponseType;
96 }; // struct StartTask
97 } // namespace launchman
98 
99 namespace ros
100 {
101 namespace message_traits
102 {
103 template<class ContainerAllocator> struct IsMessage< ::launchman::StartTaskRequest_<ContainerAllocator> > : public TrueType {};
104 template<class ContainerAllocator> struct IsMessage< ::launchman::StartTaskRequest_<ContainerAllocator> const> : public TrueType {};
105 template<class ContainerAllocator>
106 struct MD5Sum< ::launchman::StartTaskRequest_<ContainerAllocator> > {
107  static const char* value()
108  {
109  return "f90254a4a4912432fb92a8e890bdfbcd";
110  }
111 
112  static const char* value(const ::launchman::StartTaskRequest_<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::StartTaskRequest_<ContainerAllocator> > {
119  static const char* value()
120  {
121  return "launchman/StartTaskRequest";
122  }
123 
124  static const char* value(const ::launchman::StartTaskRequest_<ContainerAllocator> &) { return value(); }
125 };
126 
127 template<class ContainerAllocator>
128 struct Definition< ::launchman::StartTaskRequest_<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::StartTaskRequest_<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::StartTaskResponse_<ContainerAllocator> > : public TrueType {};
149 template<class ContainerAllocator> struct IsMessage< ::launchman::StartTaskResponse_<ContainerAllocator> const> : public TrueType {};
150 template<class ContainerAllocator>
151 struct MD5Sum< ::launchman::StartTaskResponse_<ContainerAllocator> > {
152  static const char* value()
153  {
154  return "4fe5af303955c287688e7347e9b00278";
155  }
156 
157  static const char* value(const ::launchman::StartTaskResponse_<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::StartTaskResponse_<ContainerAllocator> > {
164  static const char* value()
165  {
166  return "launchman/StartTaskResponse";
167  }
168 
169  static const char* value(const ::launchman::StartTaskResponse_<ContainerAllocator> &) { return value(); }
170 };
171 
172 template<class ContainerAllocator>
173 struct Definition< ::launchman::StartTaskResponse_<ContainerAllocator> > {
174  static const char* value()
175  {
176  return "string status\n\
177 \n\
178 \n\
179 ";
180  }
181 
182  static const char* value(const ::launchman::StartTaskResponse_<ContainerAllocator> &) { return value(); }
183 };
184 
185 } // namespace message_traits
186 } // namespace ros
187 
188 namespace ros
189 {
190 namespace serialization
191 {
192 
193 template<class ContainerAllocator> struct Serializer< ::launchman::StartTaskRequest_<ContainerAllocator> >
194 {
195  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
196  {
197  stream.next(m.taskid);
198  stream.next(m.username);
199  }
200 
202 }; // struct StartTaskRequest_
203 } // namespace serialization
204 } // namespace ros
205 
206 
207 namespace ros
208 {
209 namespace serialization
210 {
211 
212 template<class ContainerAllocator> struct Serializer< ::launchman::StartTaskResponse_<ContainerAllocator> >
213 {
214  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
215  {
216  stream.next(m.status);
217  }
218 
220 }; // struct StartTaskResponse_
221 } // namespace serialization
222 } // namespace ros
223 
224 namespace ros
225 {
226 namespace service_traits
227 {
228 template<>
229 struct MD5Sum<launchman::StartTask> {
230  static const char* value()
231  {
232  return "a7f7c2a0ff94dc94508b68c526bc0b69";
233  }
234 
235  static const char* value(const launchman::StartTask&) { return value(); }
236 };
237 
238 template<>
239 struct DataType<launchman::StartTask> {
240  static const char* value()
241  {
242  return "launchman/StartTask";
243  }
244 
245  static const char* value(const launchman::StartTask&) { return value(); }
246 };
247 
248 template<class ContainerAllocator>
249 struct MD5Sum<launchman::StartTaskRequest_<ContainerAllocator> > {
250  static const char* value()
251  {
252  return "a7f7c2a0ff94dc94508b68c526bc0b69";
253  }
254 
255  static const char* value(const launchman::StartTaskRequest_<ContainerAllocator> &) { return value(); }
256 };
257 
258 template<class ContainerAllocator>
259 struct DataType<launchman::StartTaskRequest_<ContainerAllocator> > {
260  static const char* value()
261  {
262  return "launchman/StartTask";
263  }
264 
265  static const char* value(const launchman::StartTaskRequest_<ContainerAllocator> &) { return value(); }
266 };
267 
268 template<class ContainerAllocator>
269 struct MD5Sum<launchman::StartTaskResponse_<ContainerAllocator> > {
270  static const char* value()
271  {
272  return "a7f7c2a0ff94dc94508b68c526bc0b69";
273  }
274 
275  static const char* value(const launchman::StartTaskResponse_<ContainerAllocator> &) { return value(); }
276 };
277 
278 template<class ContainerAllocator>
279 struct DataType<launchman::StartTaskResponse_<ContainerAllocator> > {
280  static const char* value()
281  {
282  return "launchman/StartTask";
283  }
284 
285  static const char* value(const launchman::StartTaskResponse_<ContainerAllocator> &) { return value(); }
286 };
287 
288 } // namespace service_traits
289 } // namespace ros
290 
291 #endif // LAUNCHMAN_SERVICE_STARTTASK_H
292 
boost::shared_ptr< ::launchman::StartTaskResponse_< ContainerAllocator > const > ConstPtr
Definition: StartTask.h:77
boost::shared_ptr< ::launchman::StartTaskRequest const > StartTaskRequestConstPtr
Definition: StartTask.h:54
StartTaskRequest Request
Definition: StartTask.h:89
Response ResponseType
Definition: StartTask.h:95
boost::shared_ptr< std::map< std::string, std::string > > __connection_header
Definition: StartTask.h:78
StartTaskResponse_(const ContainerAllocator &_alloc)
Definition: StartTask.h:67
boost::shared_ptr< ::launchman::StartTaskResponse > StartTaskResponsePtr
Definition: StartTask.h:82
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _status_type
Definition: StartTask.h:72
static const char * value(const launchman::StartTaskResponse_< ContainerAllocator > &)
Definition: StartTask.h:275
boost::shared_ptr< ::launchman::StartTaskRequest_< ContainerAllocator > const > ConstPtr
Definition: StartTask.h:48
boost::shared_ptr< ::launchman::StartTaskRequest > StartTaskRequestPtr
Definition: StartTask.h:53
boost::shared_ptr< ::launchman::StartTaskResponse const > StartTaskResponseConstPtr
Definition: StartTask.h:83
::launchman::StartTaskRequest_< std::allocator< void > > StartTaskRequest
Definition: StartTask.h:51
static const char * value(const ::launchman::StartTaskRequest_< ContainerAllocator > &)
Definition: StartTask.h:124
::launchman::StartTaskResponse_< std::allocator< void > > StartTaskResponse
Definition: StartTask.h:80
static const char * value(const ::launchman::StartTaskRequest_< ContainerAllocator > &)
Definition: StartTask.h:137
static const char * value(const launchman::StartTaskRequest_< ContainerAllocator > &)
Definition: StartTask.h:255
static const char * value(const launchman::StartTask &)
Definition: StartTask.h:245
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _taskid_type
Definition: StartTask.h:40
StartTaskRequest_(const ContainerAllocator &_alloc)
Definition: StartTask.h:34
boost::shared_ptr< std::map< std::string, std::string > > __connection_header
Definition: StartTask.h:49
static const char * value(const ::launchman::StartTaskResponse_< ContainerAllocator > &)
Definition: StartTask.h:182
boost::shared_ptr< ::launchman::StartTaskRequest_< ContainerAllocator > > Ptr
Definition: StartTask.h:47
static const char * value(const ::launchman::StartTaskRequest_< ContainerAllocator > &)
Definition: StartTask.h:112
static const char * value(const launchman::StartTaskRequest_< ContainerAllocator > &)
Definition: StartTask.h:265
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > status
Definition: StartTask.h:73
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _username_type
Definition: StartTask.h:43
static const char * value(const launchman::StartTask &)
Definition: StartTask.h:235
static const char * value(const launchman::StartTaskResponse_< ContainerAllocator > &)
Definition: StartTask.h:285
boost::shared_ptr< ::launchman::StartTaskResponse_< ContainerAllocator > > Ptr
Definition: StartTask.h:76
static const char * value(const ::launchman::StartTaskResponse_< ContainerAllocator > &)
Definition: StartTask.h:169
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > taskid
Definition: StartTask.h:41
StartTaskResponse Response
Definition: StartTask.h:90
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > username
Definition: StartTask.h:44
static const char * value(const ::launchman::StartTaskResponse_< ContainerAllocator > &)
Definition: StartTask.h:157
StartTaskResponse_< ContainerAllocator > Type
Definition: StartTask.h:60
StartTaskRequest_< ContainerAllocator > Type
Definition: StartTask.h:26


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