00001
00002 #ifndef VREP_COMMON_SERVICE_SIMROSGETDISTANCEHANDLE_H
00003 #define VREP_COMMON_SERVICE_SIMROSGETDISTANCEHANDLE_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 simRosGetDistanceHandleRequest_ {
00026 typedef simRosGetDistanceHandleRequest_<ContainerAllocator> Type;
00027
00028 simRosGetDistanceHandleRequest_()
00029 : distanceName()
00030 {
00031 }
00032
00033 simRosGetDistanceHandleRequest_(const ContainerAllocator& _alloc)
00034 : distanceName(_alloc)
00035 {
00036 }
00037
00038 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _distanceName_type;
00039 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > distanceName;
00040
00041
00042 typedef boost::shared_ptr< ::vrep_common::simRosGetDistanceHandleRequest_<ContainerAllocator> > Ptr;
00043 typedef boost::shared_ptr< ::vrep_common::simRosGetDistanceHandleRequest_<ContainerAllocator> const> ConstPtr;
00044 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00045 };
00046 typedef ::vrep_common::simRosGetDistanceHandleRequest_<std::allocator<void> > simRosGetDistanceHandleRequest;
00047
00048 typedef boost::shared_ptr< ::vrep_common::simRosGetDistanceHandleRequest> simRosGetDistanceHandleRequestPtr;
00049 typedef boost::shared_ptr< ::vrep_common::simRosGetDistanceHandleRequest const> simRosGetDistanceHandleRequestConstPtr;
00050
00051
00052 template <class ContainerAllocator>
00053 struct simRosGetDistanceHandleResponse_ {
00054 typedef simRosGetDistanceHandleResponse_<ContainerAllocator> Type;
00055
00056 simRosGetDistanceHandleResponse_()
00057 : handle(0)
00058 {
00059 }
00060
00061 simRosGetDistanceHandleResponse_(const ContainerAllocator& _alloc)
00062 : handle(0)
00063 {
00064 }
00065
00066 typedef int32_t _handle_type;
00067 int32_t handle;
00068
00069
00070 typedef boost::shared_ptr< ::vrep_common::simRosGetDistanceHandleResponse_<ContainerAllocator> > Ptr;
00071 typedef boost::shared_ptr< ::vrep_common::simRosGetDistanceHandleResponse_<ContainerAllocator> const> ConstPtr;
00072 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00073 };
00074 typedef ::vrep_common::simRosGetDistanceHandleResponse_<std::allocator<void> > simRosGetDistanceHandleResponse;
00075
00076 typedef boost::shared_ptr< ::vrep_common::simRosGetDistanceHandleResponse> simRosGetDistanceHandleResponsePtr;
00077 typedef boost::shared_ptr< ::vrep_common::simRosGetDistanceHandleResponse const> simRosGetDistanceHandleResponseConstPtr;
00078
00079 struct simRosGetDistanceHandle
00080 {
00081
00082 typedef simRosGetDistanceHandleRequest Request;
00083 typedef simRosGetDistanceHandleResponse 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::simRosGetDistanceHandleRequest_<ContainerAllocator> > : public TrueType {};
00097 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosGetDistanceHandleRequest_<ContainerAllocator> const> : public TrueType {};
00098 template<class ContainerAllocator>
00099 struct MD5Sum< ::vrep_common::simRosGetDistanceHandleRequest_<ContainerAllocator> > {
00100 static const char* value()
00101 {
00102 return "218566481395d1ececa0c02cd69f99ad";
00103 }
00104
00105 static const char* value(const ::vrep_common::simRosGetDistanceHandleRequest_<ContainerAllocator> &) { return value(); }
00106 static const uint64_t static_value1 = 0x218566481395d1ecULL;
00107 static const uint64_t static_value2 = 0xeca0c02cd69f99adULL;
00108 };
00109
00110 template<class ContainerAllocator>
00111 struct DataType< ::vrep_common::simRosGetDistanceHandleRequest_<ContainerAllocator> > {
00112 static const char* value()
00113 {
00114 return "vrep_common/simRosGetDistanceHandleRequest";
00115 }
00116
00117 static const char* value(const ::vrep_common::simRosGetDistanceHandleRequest_<ContainerAllocator> &) { return value(); }
00118 };
00119
00120 template<class ContainerAllocator>
00121 struct Definition< ::vrep_common::simRosGetDistanceHandleRequest_<ContainerAllocator> > {
00122 static const char* value()
00123 {
00124 return "\n\
00125 \n\
00126 \n\
00127 \n\
00128 string distanceName\n\
00129 \n\
00130 ";
00131 }
00132
00133 static const char* value(const ::vrep_common::simRosGetDistanceHandleRequest_<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::simRosGetDistanceHandleResponse_<ContainerAllocator> > : public TrueType {};
00145 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosGetDistanceHandleResponse_<ContainerAllocator> const> : public TrueType {};
00146 template<class ContainerAllocator>
00147 struct MD5Sum< ::vrep_common::simRosGetDistanceHandleResponse_<ContainerAllocator> > {
00148 static const char* value()
00149 {
00150 return "92535b678299d2bdda959704e78c275e";
00151 }
00152
00153 static const char* value(const ::vrep_common::simRosGetDistanceHandleResponse_<ContainerAllocator> &) { return value(); }
00154 static const uint64_t static_value1 = 0x92535b678299d2bdULL;
00155 static const uint64_t static_value2 = 0xda959704e78c275eULL;
00156 };
00157
00158 template<class ContainerAllocator>
00159 struct DataType< ::vrep_common::simRosGetDistanceHandleResponse_<ContainerAllocator> > {
00160 static const char* value()
00161 {
00162 return "vrep_common/simRosGetDistanceHandleResponse";
00163 }
00164
00165 static const char* value(const ::vrep_common::simRosGetDistanceHandleResponse_<ContainerAllocator> &) { return value(); }
00166 };
00167
00168 template<class ContainerAllocator>
00169 struct Definition< ::vrep_common::simRosGetDistanceHandleResponse_<ContainerAllocator> > {
00170 static const char* value()
00171 {
00172 return "int32 handle\n\
00173 \n\
00174 \n\
00175 ";
00176 }
00177
00178 static const char* value(const ::vrep_common::simRosGetDistanceHandleResponse_<ContainerAllocator> &) { return value(); }
00179 };
00180
00181 template<class ContainerAllocator> struct IsFixedSize< ::vrep_common::simRosGetDistanceHandleResponse_<ContainerAllocator> > : public TrueType {};
00182 }
00183 }
00184
00185 namespace ros
00186 {
00187 namespace serialization
00188 {
00189
00190 template<class ContainerAllocator> struct Serializer< ::vrep_common::simRosGetDistanceHandleRequest_<ContainerAllocator> >
00191 {
00192 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00193 {
00194 stream.next(m.distanceName);
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::simRosGetDistanceHandleResponse_<ContainerAllocator> >
00209 {
00210 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00211 {
00212 stream.next(m.handle);
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::simRosGetDistanceHandle> {
00226 static const char* value()
00227 {
00228 return "78e0efe06bbf65717f2c9d16dc1a69dc";
00229 }
00230
00231 static const char* value(const vrep_common::simRosGetDistanceHandle&) { return value(); }
00232 };
00233
00234 template<>
00235 struct DataType<vrep_common::simRosGetDistanceHandle> {
00236 static const char* value()
00237 {
00238 return "vrep_common/simRosGetDistanceHandle";
00239 }
00240
00241 static const char* value(const vrep_common::simRosGetDistanceHandle&) { return value(); }
00242 };
00243
00244 template<class ContainerAllocator>
00245 struct MD5Sum<vrep_common::simRosGetDistanceHandleRequest_<ContainerAllocator> > {
00246 static const char* value()
00247 {
00248 return "78e0efe06bbf65717f2c9d16dc1a69dc";
00249 }
00250
00251 static const char* value(const vrep_common::simRosGetDistanceHandleRequest_<ContainerAllocator> &) { return value(); }
00252 };
00253
00254 template<class ContainerAllocator>
00255 struct DataType<vrep_common::simRosGetDistanceHandleRequest_<ContainerAllocator> > {
00256 static const char* value()
00257 {
00258 return "vrep_common/simRosGetDistanceHandle";
00259 }
00260
00261 static const char* value(const vrep_common::simRosGetDistanceHandleRequest_<ContainerAllocator> &) { return value(); }
00262 };
00263
00264 template<class ContainerAllocator>
00265 struct MD5Sum<vrep_common::simRosGetDistanceHandleResponse_<ContainerAllocator> > {
00266 static const char* value()
00267 {
00268 return "78e0efe06bbf65717f2c9d16dc1a69dc";
00269 }
00270
00271 static const char* value(const vrep_common::simRosGetDistanceHandleResponse_<ContainerAllocator> &) { return value(); }
00272 };
00273
00274 template<class ContainerAllocator>
00275 struct DataType<vrep_common::simRosGetDistanceHandleResponse_<ContainerAllocator> > {
00276 static const char* value()
00277 {
00278 return "vrep_common/simRosGetDistanceHandle";
00279 }
00280
00281 static const char* value(const vrep_common::simRosGetDistanceHandleResponse_<ContainerAllocator> &) { return value(); }
00282 };
00283
00284 }
00285 }
00286
00287 #endif // VREP_COMMON_SERVICE_SIMROSGETDISTANCEHANDLE_H
00288