00001
00002 #ifndef GRAPH_MAPPING_MSGS_SERVICE_SAVEGRAPH_H
00003 #define GRAPH_MAPPING_MSGS_SERVICE_SAVEGRAPH_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/service_traits.h"
00014
00015
00016
00017
00018 namespace graph_mapping_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct SaveGraphRequest_ : public ros::Message
00022 {
00023 typedef SaveGraphRequest_<ContainerAllocator> Type;
00024
00025 SaveGraphRequest_()
00026 : filename()
00027 {
00028 }
00029
00030 SaveGraphRequest_(const ContainerAllocator& _alloc)
00031 : filename(_alloc)
00032 {
00033 }
00034
00035 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _filename_type;
00036 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > filename;
00037
00038
00039 private:
00040 static const char* __s_getDataType_() { return "graph_mapping_msgs/SaveGraphRequest"; }
00041 public:
00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00043
00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00045
00046 private:
00047 static const char* __s_getMD5Sum_() { return "030824f52a0628ead956fb9d67e66ae9"; }
00048 public:
00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00050
00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00052
00053 private:
00054 static const char* __s_getServerMD5Sum_() { return "8440c005bdbe1286a7ce072c33a8b6d0"; }
00055 public:
00056 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00057
00058 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00059
00060 private:
00061 static const char* __s_getMessageDefinition_() { return "\n\
00062 string filename\n\
00063 \n\
00064 "; }
00065 public:
00066 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00067
00068 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00069
00070 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00071 {
00072 ros::serialization::OStream stream(write_ptr, 1000000000);
00073 ros::serialization::serialize(stream, filename);
00074 return stream.getData();
00075 }
00076
00077 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00078 {
00079 ros::serialization::IStream stream(read_ptr, 1000000000);
00080 ros::serialization::deserialize(stream, filename);
00081 return stream.getData();
00082 }
00083
00084 ROS_DEPRECATED virtual uint32_t serializationLength() const
00085 {
00086 uint32_t size = 0;
00087 size += ros::serialization::serializationLength(filename);
00088 return size;
00089 }
00090
00091 typedef boost::shared_ptr< ::graph_mapping_msgs::SaveGraphRequest_<ContainerAllocator> > Ptr;
00092 typedef boost::shared_ptr< ::graph_mapping_msgs::SaveGraphRequest_<ContainerAllocator> const> ConstPtr;
00093 };
00094 typedef ::graph_mapping_msgs::SaveGraphRequest_<std::allocator<void> > SaveGraphRequest;
00095
00096 typedef boost::shared_ptr< ::graph_mapping_msgs::SaveGraphRequest> SaveGraphRequestPtr;
00097 typedef boost::shared_ptr< ::graph_mapping_msgs::SaveGraphRequest const> SaveGraphRequestConstPtr;
00098
00099
00100 template <class ContainerAllocator>
00101 struct SaveGraphResponse_ : public ros::Message
00102 {
00103 typedef SaveGraphResponse_<ContainerAllocator> Type;
00104
00105 SaveGraphResponse_()
00106 : succeeded(false)
00107 {
00108 }
00109
00110 SaveGraphResponse_(const ContainerAllocator& _alloc)
00111 : succeeded(false)
00112 {
00113 }
00114
00115 typedef uint8_t _succeeded_type;
00116 uint8_t succeeded;
00117
00118
00119 private:
00120 static const char* __s_getDataType_() { return "graph_mapping_msgs/SaveGraphResponse"; }
00121 public:
00122 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00123
00124 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00125
00126 private:
00127 static const char* __s_getMD5Sum_() { return "95e696a0d10686913abb262e0b4cbbcf"; }
00128 public:
00129 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00130
00131 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00132
00133 private:
00134 static const char* __s_getServerMD5Sum_() { return "8440c005bdbe1286a7ce072c33a8b6d0"; }
00135 public:
00136 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00137
00138 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00139
00140 private:
00141 static const char* __s_getMessageDefinition_() { return "\n\
00142 bool succeeded\n\
00143 \n\
00144 "; }
00145 public:
00146 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00147
00148 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00149
00150 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00151 {
00152 ros::serialization::OStream stream(write_ptr, 1000000000);
00153 ros::serialization::serialize(stream, succeeded);
00154 return stream.getData();
00155 }
00156
00157 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00158 {
00159 ros::serialization::IStream stream(read_ptr, 1000000000);
00160 ros::serialization::deserialize(stream, succeeded);
00161 return stream.getData();
00162 }
00163
00164 ROS_DEPRECATED virtual uint32_t serializationLength() const
00165 {
00166 uint32_t size = 0;
00167 size += ros::serialization::serializationLength(succeeded);
00168 return size;
00169 }
00170
00171 typedef boost::shared_ptr< ::graph_mapping_msgs::SaveGraphResponse_<ContainerAllocator> > Ptr;
00172 typedef boost::shared_ptr< ::graph_mapping_msgs::SaveGraphResponse_<ContainerAllocator> const> ConstPtr;
00173 };
00174 typedef ::graph_mapping_msgs::SaveGraphResponse_<std::allocator<void> > SaveGraphResponse;
00175
00176 typedef boost::shared_ptr< ::graph_mapping_msgs::SaveGraphResponse> SaveGraphResponsePtr;
00177 typedef boost::shared_ptr< ::graph_mapping_msgs::SaveGraphResponse const> SaveGraphResponseConstPtr;
00178
00179 struct SaveGraph
00180 {
00181
00182 typedef SaveGraphRequest Request;
00183 typedef SaveGraphResponse Response;
00184 Request request;
00185 Response response;
00186
00187 typedef Request RequestType;
00188 typedef Response ResponseType;
00189 };
00190 }
00191
00192 namespace ros
00193 {
00194 namespace message_traits
00195 {
00196 template<class ContainerAllocator>
00197 struct MD5Sum< ::graph_mapping_msgs::SaveGraphRequest_<ContainerAllocator> > {
00198 static const char* value()
00199 {
00200 return "030824f52a0628ead956fb9d67e66ae9";
00201 }
00202
00203 static const char* value(const ::graph_mapping_msgs::SaveGraphRequest_<ContainerAllocator> &) { return value(); }
00204 static const uint64_t static_value1 = 0x030824f52a0628eaULL;
00205 static const uint64_t static_value2 = 0xd956fb9d67e66ae9ULL;
00206 };
00207
00208 template<class ContainerAllocator>
00209 struct DataType< ::graph_mapping_msgs::SaveGraphRequest_<ContainerAllocator> > {
00210 static const char* value()
00211 {
00212 return "graph_mapping_msgs/SaveGraphRequest";
00213 }
00214
00215 static const char* value(const ::graph_mapping_msgs::SaveGraphRequest_<ContainerAllocator> &) { return value(); }
00216 };
00217
00218 template<class ContainerAllocator>
00219 struct Definition< ::graph_mapping_msgs::SaveGraphRequest_<ContainerAllocator> > {
00220 static const char* value()
00221 {
00222 return "\n\
00223 string filename\n\
00224 \n\
00225 ";
00226 }
00227
00228 static const char* value(const ::graph_mapping_msgs::SaveGraphRequest_<ContainerAllocator> &) { return value(); }
00229 };
00230
00231 }
00232 }
00233
00234
00235 namespace ros
00236 {
00237 namespace message_traits
00238 {
00239 template<class ContainerAllocator>
00240 struct MD5Sum< ::graph_mapping_msgs::SaveGraphResponse_<ContainerAllocator> > {
00241 static const char* value()
00242 {
00243 return "95e696a0d10686913abb262e0b4cbbcf";
00244 }
00245
00246 static const char* value(const ::graph_mapping_msgs::SaveGraphResponse_<ContainerAllocator> &) { return value(); }
00247 static const uint64_t static_value1 = 0x95e696a0d1068691ULL;
00248 static const uint64_t static_value2 = 0x3abb262e0b4cbbcfULL;
00249 };
00250
00251 template<class ContainerAllocator>
00252 struct DataType< ::graph_mapping_msgs::SaveGraphResponse_<ContainerAllocator> > {
00253 static const char* value()
00254 {
00255 return "graph_mapping_msgs/SaveGraphResponse";
00256 }
00257
00258 static const char* value(const ::graph_mapping_msgs::SaveGraphResponse_<ContainerAllocator> &) { return value(); }
00259 };
00260
00261 template<class ContainerAllocator>
00262 struct Definition< ::graph_mapping_msgs::SaveGraphResponse_<ContainerAllocator> > {
00263 static const char* value()
00264 {
00265 return "\n\
00266 bool succeeded\n\
00267 \n\
00268 ";
00269 }
00270
00271 static const char* value(const ::graph_mapping_msgs::SaveGraphResponse_<ContainerAllocator> &) { return value(); }
00272 };
00273
00274 template<class ContainerAllocator> struct IsFixedSize< ::graph_mapping_msgs::SaveGraphResponse_<ContainerAllocator> > : public TrueType {};
00275 }
00276 }
00277
00278 namespace ros
00279 {
00280 namespace serialization
00281 {
00282
00283 template<class ContainerAllocator> struct Serializer< ::graph_mapping_msgs::SaveGraphRequest_<ContainerAllocator> >
00284 {
00285 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00286 {
00287 stream.next(m.filename);
00288 }
00289
00290 ROS_DECLARE_ALLINONE_SERIALIZER;
00291 };
00292 }
00293 }
00294
00295
00296 namespace ros
00297 {
00298 namespace serialization
00299 {
00300
00301 template<class ContainerAllocator> struct Serializer< ::graph_mapping_msgs::SaveGraphResponse_<ContainerAllocator> >
00302 {
00303 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00304 {
00305 stream.next(m.succeeded);
00306 }
00307
00308 ROS_DECLARE_ALLINONE_SERIALIZER;
00309 };
00310 }
00311 }
00312
00313 namespace ros
00314 {
00315 namespace service_traits
00316 {
00317 template<>
00318 struct MD5Sum<graph_mapping_msgs::SaveGraph> {
00319 static const char* value()
00320 {
00321 return "8440c005bdbe1286a7ce072c33a8b6d0";
00322 }
00323
00324 static const char* value(const graph_mapping_msgs::SaveGraph&) { return value(); }
00325 };
00326
00327 template<>
00328 struct DataType<graph_mapping_msgs::SaveGraph> {
00329 static const char* value()
00330 {
00331 return "graph_mapping_msgs/SaveGraph";
00332 }
00333
00334 static const char* value(const graph_mapping_msgs::SaveGraph&) { return value(); }
00335 };
00336
00337 template<class ContainerAllocator>
00338 struct MD5Sum<graph_mapping_msgs::SaveGraphRequest_<ContainerAllocator> > {
00339 static const char* value()
00340 {
00341 return "8440c005bdbe1286a7ce072c33a8b6d0";
00342 }
00343
00344 static const char* value(const graph_mapping_msgs::SaveGraphRequest_<ContainerAllocator> &) { return value(); }
00345 };
00346
00347 template<class ContainerAllocator>
00348 struct DataType<graph_mapping_msgs::SaveGraphRequest_<ContainerAllocator> > {
00349 static const char* value()
00350 {
00351 return "graph_mapping_msgs/SaveGraph";
00352 }
00353
00354 static const char* value(const graph_mapping_msgs::SaveGraphRequest_<ContainerAllocator> &) { return value(); }
00355 };
00356
00357 template<class ContainerAllocator>
00358 struct MD5Sum<graph_mapping_msgs::SaveGraphResponse_<ContainerAllocator> > {
00359 static const char* value()
00360 {
00361 return "8440c005bdbe1286a7ce072c33a8b6d0";
00362 }
00363
00364 static const char* value(const graph_mapping_msgs::SaveGraphResponse_<ContainerAllocator> &) { return value(); }
00365 };
00366
00367 template<class ContainerAllocator>
00368 struct DataType<graph_mapping_msgs::SaveGraphResponse_<ContainerAllocator> > {
00369 static const char* value()
00370 {
00371 return "graph_mapping_msgs/SaveGraph";
00372 }
00373
00374 static const char* value(const graph_mapping_msgs::SaveGraphResponse_<ContainerAllocator> &) { return value(); }
00375 };
00376
00377 }
00378 }
00379
00380 #endif // GRAPH_MAPPING_MSGS_SERVICE_SAVEGRAPH_H
00381