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