00001
00002 #ifndef SRS_KNOWLEDGE_SERVICE_GETPREDEFINEDPOSES_H
00003 #define SRS_KNOWLEDGE_SERVICE_GETPREDEFINEDPOSES_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 "geometry_msgs/Pose2D.h"
00022
00023 namespace srs_knowledge
00024 {
00025 template <class ContainerAllocator>
00026 struct GetPredefinedPosesRequest_ {
00027 typedef GetPredefinedPosesRequest_<ContainerAllocator> Type;
00028
00029 GetPredefinedPosesRequest_()
00030 : map()
00031 {
00032 }
00033
00034 GetPredefinedPosesRequest_(const ContainerAllocator& _alloc)
00035 : map(_alloc)
00036 {
00037 }
00038
00039 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _map_type;
00040 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > map;
00041
00042
00043 typedef boost::shared_ptr< ::srs_knowledge::GetPredefinedPosesRequest_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::srs_knowledge::GetPredefinedPosesRequest_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::srs_knowledge::GetPredefinedPosesRequest_<std::allocator<void> > GetPredefinedPosesRequest;
00048
00049 typedef boost::shared_ptr< ::srs_knowledge::GetPredefinedPosesRequest> GetPredefinedPosesRequestPtr;
00050 typedef boost::shared_ptr< ::srs_knowledge::GetPredefinedPosesRequest const> GetPredefinedPosesRequestConstPtr;
00051
00052
00053 template <class ContainerAllocator>
00054 struct GetPredefinedPosesResponse_ {
00055 typedef GetPredefinedPosesResponse_<ContainerAllocator> Type;
00056
00057 GetPredefinedPosesResponse_()
00058 : locations()
00059 , poses()
00060 , readableNames()
00061 , json_properties()
00062 {
00063 }
00064
00065 GetPredefinedPosesResponse_(const ContainerAllocator& _alloc)
00066 : locations(_alloc)
00067 , poses(_alloc)
00068 , readableNames(_alloc)
00069 , json_properties(_alloc)
00070 {
00071 }
00072
00073 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 > _locations_type;
00074 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 > locations;
00075
00076 typedef std::vector< ::geometry_msgs::Pose2D_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose2D_<ContainerAllocator> >::other > _poses_type;
00077 std::vector< ::geometry_msgs::Pose2D_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose2D_<ContainerAllocator> >::other > poses;
00078
00079 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 > _readableNames_type;
00080 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 > readableNames;
00081
00082 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 > _json_properties_type;
00083 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 > json_properties;
00084
00085
00086 typedef boost::shared_ptr< ::srs_knowledge::GetPredefinedPosesResponse_<ContainerAllocator> > Ptr;
00087 typedef boost::shared_ptr< ::srs_knowledge::GetPredefinedPosesResponse_<ContainerAllocator> const> ConstPtr;
00088 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00089 };
00090 typedef ::srs_knowledge::GetPredefinedPosesResponse_<std::allocator<void> > GetPredefinedPosesResponse;
00091
00092 typedef boost::shared_ptr< ::srs_knowledge::GetPredefinedPosesResponse> GetPredefinedPosesResponsePtr;
00093 typedef boost::shared_ptr< ::srs_knowledge::GetPredefinedPosesResponse const> GetPredefinedPosesResponseConstPtr;
00094
00095 struct GetPredefinedPoses
00096 {
00097
00098 typedef GetPredefinedPosesRequest Request;
00099 typedef GetPredefinedPosesResponse Response;
00100 Request request;
00101 Response response;
00102
00103 typedef Request RequestType;
00104 typedef Response ResponseType;
00105 };
00106 }
00107
00108 namespace ros
00109 {
00110 namespace message_traits
00111 {
00112 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::GetPredefinedPosesRequest_<ContainerAllocator> > : public TrueType {};
00113 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::GetPredefinedPosesRequest_<ContainerAllocator> const> : public TrueType {};
00114 template<class ContainerAllocator>
00115 struct MD5Sum< ::srs_knowledge::GetPredefinedPosesRequest_<ContainerAllocator> > {
00116 static const char* value()
00117 {
00118 return "aa8aee7f6c8d5b8306117b46af679744";
00119 }
00120
00121 static const char* value(const ::srs_knowledge::GetPredefinedPosesRequest_<ContainerAllocator> &) { return value(); }
00122 static const uint64_t static_value1 = 0xaa8aee7f6c8d5b83ULL;
00123 static const uint64_t static_value2 = 0x06117b46af679744ULL;
00124 };
00125
00126 template<class ContainerAllocator>
00127 struct DataType< ::srs_knowledge::GetPredefinedPosesRequest_<ContainerAllocator> > {
00128 static const char* value()
00129 {
00130 return "srs_knowledge/GetPredefinedPosesRequest";
00131 }
00132
00133 static const char* value(const ::srs_knowledge::GetPredefinedPosesRequest_<ContainerAllocator> &) { return value(); }
00134 };
00135
00136 template<class ContainerAllocator>
00137 struct Definition< ::srs_knowledge::GetPredefinedPosesRequest_<ContainerAllocator> > {
00138 static const char* value()
00139 {
00140 return "string map\n\
00141 \n\
00142 \n\
00143 \n\
00144 ";
00145 }
00146
00147 static const char* value(const ::srs_knowledge::GetPredefinedPosesRequest_<ContainerAllocator> &) { return value(); }
00148 };
00149
00150 }
00151 }
00152
00153
00154 namespace ros
00155 {
00156 namespace message_traits
00157 {
00158 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::GetPredefinedPosesResponse_<ContainerAllocator> > : public TrueType {};
00159 template<class ContainerAllocator> struct IsMessage< ::srs_knowledge::GetPredefinedPosesResponse_<ContainerAllocator> const> : public TrueType {};
00160 template<class ContainerAllocator>
00161 struct MD5Sum< ::srs_knowledge::GetPredefinedPosesResponse_<ContainerAllocator> > {
00162 static const char* value()
00163 {
00164 return "fe5f3887ad646ed4d1ed0e21834b460b";
00165 }
00166
00167 static const char* value(const ::srs_knowledge::GetPredefinedPosesResponse_<ContainerAllocator> &) { return value(); }
00168 static const uint64_t static_value1 = 0xfe5f3887ad646ed4ULL;
00169 static const uint64_t static_value2 = 0xd1ed0e21834b460bULL;
00170 };
00171
00172 template<class ContainerAllocator>
00173 struct DataType< ::srs_knowledge::GetPredefinedPosesResponse_<ContainerAllocator> > {
00174 static const char* value()
00175 {
00176 return "srs_knowledge/GetPredefinedPosesResponse";
00177 }
00178
00179 static const char* value(const ::srs_knowledge::GetPredefinedPosesResponse_<ContainerAllocator> &) { return value(); }
00180 };
00181
00182 template<class ContainerAllocator>
00183 struct Definition< ::srs_knowledge::GetPredefinedPosesResponse_<ContainerAllocator> > {
00184 static const char* value()
00185 {
00186 return "\n\
00187 \n\
00188 string[] locations\n\
00189 geometry_msgs/Pose2D[] poses\n\
00190 string[] readableNames\n\
00191 \n\
00192 string[] json_properties\n\
00193 \n\
00194 ================================================================================\n\
00195 MSG: geometry_msgs/Pose2D\n\
00196 # This expresses a position and orientation on a 2D manifold.\n\
00197 \n\
00198 float64 x\n\
00199 float64 y\n\
00200 float64 theta\n\
00201 ";
00202 }
00203
00204 static const char* value(const ::srs_knowledge::GetPredefinedPosesResponse_<ContainerAllocator> &) { return value(); }
00205 };
00206
00207 }
00208 }
00209
00210 namespace ros
00211 {
00212 namespace serialization
00213 {
00214
00215 template<class ContainerAllocator> struct Serializer< ::srs_knowledge::GetPredefinedPosesRequest_<ContainerAllocator> >
00216 {
00217 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00218 {
00219 stream.next(m.map);
00220 }
00221
00222 ROS_DECLARE_ALLINONE_SERIALIZER;
00223 };
00224 }
00225 }
00226
00227
00228 namespace ros
00229 {
00230 namespace serialization
00231 {
00232
00233 template<class ContainerAllocator> struct Serializer< ::srs_knowledge::GetPredefinedPosesResponse_<ContainerAllocator> >
00234 {
00235 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00236 {
00237 stream.next(m.locations);
00238 stream.next(m.poses);
00239 stream.next(m.readableNames);
00240 stream.next(m.json_properties);
00241 }
00242
00243 ROS_DECLARE_ALLINONE_SERIALIZER;
00244 };
00245 }
00246 }
00247
00248 namespace ros
00249 {
00250 namespace service_traits
00251 {
00252 template<>
00253 struct MD5Sum<srs_knowledge::GetPredefinedPoses> {
00254 static const char* value()
00255 {
00256 return "3191b85c3a25ca96f7c14907417f01f1";
00257 }
00258
00259 static const char* value(const srs_knowledge::GetPredefinedPoses&) { return value(); }
00260 };
00261
00262 template<>
00263 struct DataType<srs_knowledge::GetPredefinedPoses> {
00264 static const char* value()
00265 {
00266 return "srs_knowledge/GetPredefinedPoses";
00267 }
00268
00269 static const char* value(const srs_knowledge::GetPredefinedPoses&) { return value(); }
00270 };
00271
00272 template<class ContainerAllocator>
00273 struct MD5Sum<srs_knowledge::GetPredefinedPosesRequest_<ContainerAllocator> > {
00274 static const char* value()
00275 {
00276 return "3191b85c3a25ca96f7c14907417f01f1";
00277 }
00278
00279 static const char* value(const srs_knowledge::GetPredefinedPosesRequest_<ContainerAllocator> &) { return value(); }
00280 };
00281
00282 template<class ContainerAllocator>
00283 struct DataType<srs_knowledge::GetPredefinedPosesRequest_<ContainerAllocator> > {
00284 static const char* value()
00285 {
00286 return "srs_knowledge/GetPredefinedPoses";
00287 }
00288
00289 static const char* value(const srs_knowledge::GetPredefinedPosesRequest_<ContainerAllocator> &) { return value(); }
00290 };
00291
00292 template<class ContainerAllocator>
00293 struct MD5Sum<srs_knowledge::GetPredefinedPosesResponse_<ContainerAllocator> > {
00294 static const char* value()
00295 {
00296 return "3191b85c3a25ca96f7c14907417f01f1";
00297 }
00298
00299 static const char* value(const srs_knowledge::GetPredefinedPosesResponse_<ContainerAllocator> &) { return value(); }
00300 };
00301
00302 template<class ContainerAllocator>
00303 struct DataType<srs_knowledge::GetPredefinedPosesResponse_<ContainerAllocator> > {
00304 static const char* value()
00305 {
00306 return "srs_knowledge/GetPredefinedPoses";
00307 }
00308
00309 static const char* value(const srs_knowledge::GetPredefinedPosesResponse_<ContainerAllocator> &) { return value(); }
00310 };
00311
00312 }
00313 }
00314
00315 #endif // SRS_KNOWLEDGE_SERVICE_GETPREDEFINEDPOSES_H
00316