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