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