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