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