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