00001
00002 #ifndef VREP_COMMON_SERVICE_SIMROSGETOBJECTHANDLE_H
00003 #define VREP_COMMON_SERVICE_SIMROSGETOBJECTHANDLE_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 simRosGetObjectHandleRequest_ {
00026 typedef simRosGetObjectHandleRequest_<ContainerAllocator> Type;
00027
00028 simRosGetObjectHandleRequest_()
00029 : objectName()
00030 {
00031 }
00032
00033 simRosGetObjectHandleRequest_(const ContainerAllocator& _alloc)
00034 : objectName(_alloc)
00035 {
00036 }
00037
00038 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _objectName_type;
00039 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > objectName;
00040
00041
00042 typedef boost::shared_ptr< ::vrep_common::simRosGetObjectHandleRequest_<ContainerAllocator> > Ptr;
00043 typedef boost::shared_ptr< ::vrep_common::simRosGetObjectHandleRequest_<ContainerAllocator> const> ConstPtr;
00044 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00045 };
00046 typedef ::vrep_common::simRosGetObjectHandleRequest_<std::allocator<void> > simRosGetObjectHandleRequest;
00047
00048 typedef boost::shared_ptr< ::vrep_common::simRosGetObjectHandleRequest> simRosGetObjectHandleRequestPtr;
00049 typedef boost::shared_ptr< ::vrep_common::simRosGetObjectHandleRequest const> simRosGetObjectHandleRequestConstPtr;
00050
00051
00052 template <class ContainerAllocator>
00053 struct simRosGetObjectHandleResponse_ {
00054 typedef simRosGetObjectHandleResponse_<ContainerAllocator> Type;
00055
00056 simRosGetObjectHandleResponse_()
00057 : handle(0)
00058 {
00059 }
00060
00061 simRosGetObjectHandleResponse_(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::simRosGetObjectHandleResponse_<ContainerAllocator> > Ptr;
00071 typedef boost::shared_ptr< ::vrep_common::simRosGetObjectHandleResponse_<ContainerAllocator> const> ConstPtr;
00072 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00073 };
00074 typedef ::vrep_common::simRosGetObjectHandleResponse_<std::allocator<void> > simRosGetObjectHandleResponse;
00075
00076 typedef boost::shared_ptr< ::vrep_common::simRosGetObjectHandleResponse> simRosGetObjectHandleResponsePtr;
00077 typedef boost::shared_ptr< ::vrep_common::simRosGetObjectHandleResponse const> simRosGetObjectHandleResponseConstPtr;
00078
00079 struct simRosGetObjectHandle
00080 {
00081
00082 typedef simRosGetObjectHandleRequest Request;
00083 typedef simRosGetObjectHandleResponse 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::simRosGetObjectHandleRequest_<ContainerAllocator> > : public TrueType {};
00097 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosGetObjectHandleRequest_<ContainerAllocator> const> : public TrueType {};
00098 template<class ContainerAllocator>
00099 struct MD5Sum< ::vrep_common::simRosGetObjectHandleRequest_<ContainerAllocator> > {
00100 static const char* value()
00101 {
00102 return "5d6700ec420d7f32e8dc7b117e3b8b51";
00103 }
00104
00105 static const char* value(const ::vrep_common::simRosGetObjectHandleRequest_<ContainerAllocator> &) { return value(); }
00106 static const uint64_t static_value1 = 0x5d6700ec420d7f32ULL;
00107 static const uint64_t static_value2 = 0xe8dc7b117e3b8b51ULL;
00108 };
00109
00110 template<class ContainerAllocator>
00111 struct DataType< ::vrep_common::simRosGetObjectHandleRequest_<ContainerAllocator> > {
00112 static const char* value()
00113 {
00114 return "vrep_common/simRosGetObjectHandleRequest";
00115 }
00116
00117 static const char* value(const ::vrep_common::simRosGetObjectHandleRequest_<ContainerAllocator> &) { return value(); }
00118 };
00119
00120 template<class ContainerAllocator>
00121 struct Definition< ::vrep_common::simRosGetObjectHandleRequest_<ContainerAllocator> > {
00122 static const char* value()
00123 {
00124 return "\n\
00125 \n\
00126 \n\
00127 \n\
00128 string objectName\n\
00129 \n\
00130 ";
00131 }
00132
00133 static const char* value(const ::vrep_common::simRosGetObjectHandleRequest_<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::simRosGetObjectHandleResponse_<ContainerAllocator> > : public TrueType {};
00145 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosGetObjectHandleResponse_<ContainerAllocator> const> : public TrueType {};
00146 template<class ContainerAllocator>
00147 struct MD5Sum< ::vrep_common::simRosGetObjectHandleResponse_<ContainerAllocator> > {
00148 static const char* value()
00149 {
00150 return "92535b678299d2bdda959704e78c275e";
00151 }
00152
00153 static const char* value(const ::vrep_common::simRosGetObjectHandleResponse_<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::simRosGetObjectHandleResponse_<ContainerAllocator> > {
00160 static const char* value()
00161 {
00162 return "vrep_common/simRosGetObjectHandleResponse";
00163 }
00164
00165 static const char* value(const ::vrep_common::simRosGetObjectHandleResponse_<ContainerAllocator> &) { return value(); }
00166 };
00167
00168 template<class ContainerAllocator>
00169 struct Definition< ::vrep_common::simRosGetObjectHandleResponse_<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::simRosGetObjectHandleResponse_<ContainerAllocator> &) { return value(); }
00179 };
00180
00181 template<class ContainerAllocator> struct IsFixedSize< ::vrep_common::simRosGetObjectHandleResponse_<ContainerAllocator> > : public TrueType {};
00182 }
00183 }
00184
00185 namespace ros
00186 {
00187 namespace serialization
00188 {
00189
00190 template<class ContainerAllocator> struct Serializer< ::vrep_common::simRosGetObjectHandleRequest_<ContainerAllocator> >
00191 {
00192 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00193 {
00194 stream.next(m.objectName);
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::simRosGetObjectHandleResponse_<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::simRosGetObjectHandle> {
00226 static const char* value()
00227 {
00228 return "5ede8bf5f32716bfd1ea7a68b46333e8";
00229 }
00230
00231 static const char* value(const vrep_common::simRosGetObjectHandle&) { return value(); }
00232 };
00233
00234 template<>
00235 struct DataType<vrep_common::simRosGetObjectHandle> {
00236 static const char* value()
00237 {
00238 return "vrep_common/simRosGetObjectHandle";
00239 }
00240
00241 static const char* value(const vrep_common::simRosGetObjectHandle&) { return value(); }
00242 };
00243
00244 template<class ContainerAllocator>
00245 struct MD5Sum<vrep_common::simRosGetObjectHandleRequest_<ContainerAllocator> > {
00246 static const char* value()
00247 {
00248 return "5ede8bf5f32716bfd1ea7a68b46333e8";
00249 }
00250
00251 static const char* value(const vrep_common::simRosGetObjectHandleRequest_<ContainerAllocator> &) { return value(); }
00252 };
00253
00254 template<class ContainerAllocator>
00255 struct DataType<vrep_common::simRosGetObjectHandleRequest_<ContainerAllocator> > {
00256 static const char* value()
00257 {
00258 return "vrep_common/simRosGetObjectHandle";
00259 }
00260
00261 static const char* value(const vrep_common::simRosGetObjectHandleRequest_<ContainerAllocator> &) { return value(); }
00262 };
00263
00264 template<class ContainerAllocator>
00265 struct MD5Sum<vrep_common::simRosGetObjectHandleResponse_<ContainerAllocator> > {
00266 static const char* value()
00267 {
00268 return "5ede8bf5f32716bfd1ea7a68b46333e8";
00269 }
00270
00271 static const char* value(const vrep_common::simRosGetObjectHandleResponse_<ContainerAllocator> &) { return value(); }
00272 };
00273
00274 template<class ContainerAllocator>
00275 struct DataType<vrep_common::simRosGetObjectHandleResponse_<ContainerAllocator> > {
00276 static const char* value()
00277 {
00278 return "vrep_common/simRosGetObjectHandle";
00279 }
00280
00281 static const char* value(const vrep_common::simRosGetObjectHandleResponse_<ContainerAllocator> &) { return value(); }
00282 };
00283
00284 }
00285 }
00286
00287 #endif // VREP_COMMON_SERVICE_SIMROSGETOBJECTHANDLE_H
00288