Go to the documentation of this file.00001
00002 #ifndef IRI_CHECKPOINT_NAV_SERVICE_CHECKPOINT_H
00003 #define IRI_CHECKPOINT_NAV_SERVICE_CHECKPOINT_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 #include "geometry_msgs/Point.h"
00020
00021
00022
00023 namespace iri_checkpoint_nav
00024 {
00025 template <class ContainerAllocator>
00026 struct CheckpointRequest_ {
00027 typedef CheckpointRequest_<ContainerAllocator> Type;
00028
00029 CheckpointRequest_()
00030 : id(0)
00031 , ref_frame()
00032 , position()
00033 {
00034 }
00035
00036 CheckpointRequest_(const ContainerAllocator& _alloc)
00037 : id(0)
00038 , ref_frame(_alloc)
00039 , position(_alloc)
00040 {
00041 }
00042
00043 typedef int8_t _id_type;
00044 int8_t id;
00045
00046 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _ref_frame_type;
00047 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > ref_frame;
00048
00049 typedef ::geometry_msgs::Point_<ContainerAllocator> _position_type;
00050 ::geometry_msgs::Point_<ContainerAllocator> position;
00051
00052
00053 typedef boost::shared_ptr< ::iri_checkpoint_nav::CheckpointRequest_<ContainerAllocator> > Ptr;
00054 typedef boost::shared_ptr< ::iri_checkpoint_nav::CheckpointRequest_<ContainerAllocator> const> ConstPtr;
00055 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 };
00057 typedef ::iri_checkpoint_nav::CheckpointRequest_<std::allocator<void> > CheckpointRequest;
00058
00059 typedef boost::shared_ptr< ::iri_checkpoint_nav::CheckpointRequest> CheckpointRequestPtr;
00060 typedef boost::shared_ptr< ::iri_checkpoint_nav::CheckpointRequest const> CheckpointRequestConstPtr;
00061
00062
00063 template <class ContainerAllocator>
00064 struct CheckpointResponse_ {
00065 typedef CheckpointResponse_<ContainerAllocator> Type;
00066
00067 CheckpointResponse_()
00068 : success(false)
00069 {
00070 }
00071
00072 CheckpointResponse_(const ContainerAllocator& _alloc)
00073 : success(false)
00074 {
00075 }
00076
00077 typedef uint8_t _success_type;
00078 uint8_t success;
00079
00080
00081 typedef boost::shared_ptr< ::iri_checkpoint_nav::CheckpointResponse_<ContainerAllocator> > Ptr;
00082 typedef boost::shared_ptr< ::iri_checkpoint_nav::CheckpointResponse_<ContainerAllocator> const> ConstPtr;
00083 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00084 };
00085 typedef ::iri_checkpoint_nav::CheckpointResponse_<std::allocator<void> > CheckpointResponse;
00086
00087 typedef boost::shared_ptr< ::iri_checkpoint_nav::CheckpointResponse> CheckpointResponsePtr;
00088 typedef boost::shared_ptr< ::iri_checkpoint_nav::CheckpointResponse const> CheckpointResponseConstPtr;
00089
00090 struct Checkpoint
00091 {
00092
00093 typedef CheckpointRequest Request;
00094 typedef CheckpointResponse Response;
00095 Request request;
00096 Response response;
00097
00098 typedef Request RequestType;
00099 typedef Response ResponseType;
00100 };
00101 }
00102
00103 namespace ros
00104 {
00105 namespace message_traits
00106 {
00107 template<class ContainerAllocator> struct IsMessage< ::iri_checkpoint_nav::CheckpointRequest_<ContainerAllocator> > : public TrueType {};
00108 template<class ContainerAllocator> struct IsMessage< ::iri_checkpoint_nav::CheckpointRequest_<ContainerAllocator> const> : public TrueType {};
00109 template<class ContainerAllocator>
00110 struct MD5Sum< ::iri_checkpoint_nav::CheckpointRequest_<ContainerAllocator> > {
00111 static const char* value()
00112 {
00113 return "c1262a652e514f59589d3adfe47158a8";
00114 }
00115
00116 static const char* value(const ::iri_checkpoint_nav::CheckpointRequest_<ContainerAllocator> &) { return value(); }
00117 static const uint64_t static_value1 = 0xc1262a652e514f59ULL;
00118 static const uint64_t static_value2 = 0x589d3adfe47158a8ULL;
00119 };
00120
00121 template<class ContainerAllocator>
00122 struct DataType< ::iri_checkpoint_nav::CheckpointRequest_<ContainerAllocator> > {
00123 static const char* value()
00124 {
00125 return "iri_checkpoint_nav/CheckpointRequest";
00126 }
00127
00128 static const char* value(const ::iri_checkpoint_nav::CheckpointRequest_<ContainerAllocator> &) { return value(); }
00129 };
00130
00131 template<class ContainerAllocator>
00132 struct Definition< ::iri_checkpoint_nav::CheckpointRequest_<ContainerAllocator> > {
00133 static const char* value()
00134 {
00135 return "byte id\n\
00136 string ref_frame\n\
00137 geometry_msgs/Point position\n\
00138 \n\
00139 ================================================================================\n\
00140 MSG: geometry_msgs/Point\n\
00141 # This contains the position of a point in free space\n\
00142 float64 x\n\
00143 float64 y\n\
00144 float64 z\n\
00145 \n\
00146 ";
00147 }
00148
00149 static const char* value(const ::iri_checkpoint_nav::CheckpointRequest_<ContainerAllocator> &) { return value(); }
00150 };
00151
00152 }
00153 }
00154
00155
00156 namespace ros
00157 {
00158 namespace message_traits
00159 {
00160 template<class ContainerAllocator> struct IsMessage< ::iri_checkpoint_nav::CheckpointResponse_<ContainerAllocator> > : public TrueType {};
00161 template<class ContainerAllocator> struct IsMessage< ::iri_checkpoint_nav::CheckpointResponse_<ContainerAllocator> const> : public TrueType {};
00162 template<class ContainerAllocator>
00163 struct MD5Sum< ::iri_checkpoint_nav::CheckpointResponse_<ContainerAllocator> > {
00164 static const char* value()
00165 {
00166 return "358e233cde0c8a8bcfea4ce193f8fc15";
00167 }
00168
00169 static const char* value(const ::iri_checkpoint_nav::CheckpointResponse_<ContainerAllocator> &) { return value(); }
00170 static const uint64_t static_value1 = 0x358e233cde0c8a8bULL;
00171 static const uint64_t static_value2 = 0xcfea4ce193f8fc15ULL;
00172 };
00173
00174 template<class ContainerAllocator>
00175 struct DataType< ::iri_checkpoint_nav::CheckpointResponse_<ContainerAllocator> > {
00176 static const char* value()
00177 {
00178 return "iri_checkpoint_nav/CheckpointResponse";
00179 }
00180
00181 static const char* value(const ::iri_checkpoint_nav::CheckpointResponse_<ContainerAllocator> &) { return value(); }
00182 };
00183
00184 template<class ContainerAllocator>
00185 struct Definition< ::iri_checkpoint_nav::CheckpointResponse_<ContainerAllocator> > {
00186 static const char* value()
00187 {
00188 return "bool success\n\
00189 \n\
00190 \n\
00191 ";
00192 }
00193
00194 static const char* value(const ::iri_checkpoint_nav::CheckpointResponse_<ContainerAllocator> &) { return value(); }
00195 };
00196
00197 template<class ContainerAllocator> struct IsFixedSize< ::iri_checkpoint_nav::CheckpointResponse_<ContainerAllocator> > : public TrueType {};
00198 }
00199 }
00200
00201 namespace ros
00202 {
00203 namespace serialization
00204 {
00205
00206 template<class ContainerAllocator> struct Serializer< ::iri_checkpoint_nav::CheckpointRequest_<ContainerAllocator> >
00207 {
00208 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00209 {
00210 stream.next(m.id);
00211 stream.next(m.ref_frame);
00212 stream.next(m.position);
00213 }
00214
00215 ROS_DECLARE_ALLINONE_SERIALIZER;
00216 };
00217 }
00218 }
00219
00220
00221 namespace ros
00222 {
00223 namespace serialization
00224 {
00225
00226 template<class ContainerAllocator> struct Serializer< ::iri_checkpoint_nav::CheckpointResponse_<ContainerAllocator> >
00227 {
00228 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00229 {
00230 stream.next(m.success);
00231 }
00232
00233 ROS_DECLARE_ALLINONE_SERIALIZER;
00234 };
00235 }
00236 }
00237
00238 namespace ros
00239 {
00240 namespace service_traits
00241 {
00242 template<>
00243 struct MD5Sum<iri_checkpoint_nav::Checkpoint> {
00244 static const char* value()
00245 {
00246 return "a675eb5d72460daf788b38fd23a0161d";
00247 }
00248
00249 static const char* value(const iri_checkpoint_nav::Checkpoint&) { return value(); }
00250 };
00251
00252 template<>
00253 struct DataType<iri_checkpoint_nav::Checkpoint> {
00254 static const char* value()
00255 {
00256 return "iri_checkpoint_nav/Checkpoint";
00257 }
00258
00259 static const char* value(const iri_checkpoint_nav::Checkpoint&) { return value(); }
00260 };
00261
00262 template<class ContainerAllocator>
00263 struct MD5Sum<iri_checkpoint_nav::CheckpointRequest_<ContainerAllocator> > {
00264 static const char* value()
00265 {
00266 return "a675eb5d72460daf788b38fd23a0161d";
00267 }
00268
00269 static const char* value(const iri_checkpoint_nav::CheckpointRequest_<ContainerAllocator> &) { return value(); }
00270 };
00271
00272 template<class ContainerAllocator>
00273 struct DataType<iri_checkpoint_nav::CheckpointRequest_<ContainerAllocator> > {
00274 static const char* value()
00275 {
00276 return "iri_checkpoint_nav/Checkpoint";
00277 }
00278
00279 static const char* value(const iri_checkpoint_nav::CheckpointRequest_<ContainerAllocator> &) { return value(); }
00280 };
00281
00282 template<class ContainerAllocator>
00283 struct MD5Sum<iri_checkpoint_nav::CheckpointResponse_<ContainerAllocator> > {
00284 static const char* value()
00285 {
00286 return "a675eb5d72460daf788b38fd23a0161d";
00287 }
00288
00289 static const char* value(const iri_checkpoint_nav::CheckpointResponse_<ContainerAllocator> &) { return value(); }
00290 };
00291
00292 template<class ContainerAllocator>
00293 struct DataType<iri_checkpoint_nav::CheckpointResponse_<ContainerAllocator> > {
00294 static const char* value()
00295 {
00296 return "iri_checkpoint_nav/Checkpoint";
00297 }
00298
00299 static const char* value(const iri_checkpoint_nav::CheckpointResponse_<ContainerAllocator> &) { return value(); }
00300 };
00301
00302 }
00303 }
00304
00305 #endif // IRI_CHECKPOINT_NAV_SERVICE_CHECKPOINT_H
00306