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