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