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