$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-tu-darmstadt-ros-pkg/doc_stacks/2013-03-05_12-22-58.304137/hlugv_common/hector_roll_pitch_stabilizer/srv/DoScan.srv */ 00002 #ifndef HECTOR_ROLL_PITCH_STABILIZER_SERVICE_DOSCAN_H 00003 #define HECTOR_ROLL_PITCH_STABILIZER_SERVICE_DOSCAN_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 hector_roll_pitch_stabilizer 00023 { 00024 template <class ContainerAllocator> 00025 struct DoScanRequest_ { 00026 typedef DoScanRequest_<ContainerAllocator> Type; 00027 00028 DoScanRequest_() 00029 : min_angle_pitch(0.0) 00030 , max_angle_pitch(0.0) 00031 , min_angle_roll(0.0) 00032 , max_angle_roll(0.0) 00033 , step(0.0) 00034 , sleep_time_ms(0) 00035 { 00036 } 00037 00038 DoScanRequest_(const ContainerAllocator& _alloc) 00039 : min_angle_pitch(0.0) 00040 , max_angle_pitch(0.0) 00041 , min_angle_roll(0.0) 00042 , max_angle_roll(0.0) 00043 , step(0.0) 00044 , sleep_time_ms(0) 00045 { 00046 } 00047 00048 typedef double _min_angle_pitch_type; 00049 double min_angle_pitch; 00050 00051 typedef double _max_angle_pitch_type; 00052 double max_angle_pitch; 00053 00054 typedef double _min_angle_roll_type; 00055 double min_angle_roll; 00056 00057 typedef double _max_angle_roll_type; 00058 double max_angle_roll; 00059 00060 typedef double _step_type; 00061 double step; 00062 00063 typedef int64_t _sleep_time_ms_type; 00064 int64_t sleep_time_ms; 00065 00066 00067 private: 00068 static const char* __s_getDataType_() { return "hector_roll_pitch_stabilizer/DoScanRequest"; } 00069 public: 00070 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00071 00072 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00073 00074 private: 00075 static const char* __s_getMD5Sum_() { return "a81b0d7609ba432f396940f4b146f79c"; } 00076 public: 00077 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00078 00079 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00080 00081 private: 00082 static const char* __s_getServerMD5Sum_() { return "a81b0d7609ba432f396940f4b146f79c"; } 00083 public: 00084 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00085 00086 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00087 00088 private: 00089 static const char* __s_getMessageDefinition_() { return "float64 min_angle_pitch\n\ 00090 float64 max_angle_pitch\n\ 00091 float64 min_angle_roll\n\ 00092 float64 max_angle_roll\n\ 00093 float64 step\n\ 00094 int64 sleep_time_ms\n\ 00095 \n\ 00096 "; } 00097 public: 00098 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00099 00100 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00101 00102 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00103 { 00104 ros::serialization::OStream stream(write_ptr, 1000000000); 00105 ros::serialization::serialize(stream, min_angle_pitch); 00106 ros::serialization::serialize(stream, max_angle_pitch); 00107 ros::serialization::serialize(stream, min_angle_roll); 00108 ros::serialization::serialize(stream, max_angle_roll); 00109 ros::serialization::serialize(stream, step); 00110 ros::serialization::serialize(stream, sleep_time_ms); 00111 return stream.getData(); 00112 } 00113 00114 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00115 { 00116 ros::serialization::IStream stream(read_ptr, 1000000000); 00117 ros::serialization::deserialize(stream, min_angle_pitch); 00118 ros::serialization::deserialize(stream, max_angle_pitch); 00119 ros::serialization::deserialize(stream, min_angle_roll); 00120 ros::serialization::deserialize(stream, max_angle_roll); 00121 ros::serialization::deserialize(stream, step); 00122 ros::serialization::deserialize(stream, sleep_time_ms); 00123 return stream.getData(); 00124 } 00125 00126 ROS_DEPRECATED virtual uint32_t serializationLength() const 00127 { 00128 uint32_t size = 0; 00129 size += ros::serialization::serializationLength(min_angle_pitch); 00130 size += ros::serialization::serializationLength(max_angle_pitch); 00131 size += ros::serialization::serializationLength(min_angle_roll); 00132 size += ros::serialization::serializationLength(max_angle_roll); 00133 size += ros::serialization::serializationLength(step); 00134 size += ros::serialization::serializationLength(sleep_time_ms); 00135 return size; 00136 } 00137 00138 typedef boost::shared_ptr< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > Ptr; 00139 typedef boost::shared_ptr< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> const> ConstPtr; 00140 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00141 }; // struct DoScanRequest 00142 typedef ::hector_roll_pitch_stabilizer::DoScanRequest_<std::allocator<void> > DoScanRequest; 00143 00144 typedef boost::shared_ptr< ::hector_roll_pitch_stabilizer::DoScanRequest> DoScanRequestPtr; 00145 typedef boost::shared_ptr< ::hector_roll_pitch_stabilizer::DoScanRequest const> DoScanRequestConstPtr; 00146 00147 00148 template <class ContainerAllocator> 00149 struct DoScanResponse_ { 00150 typedef DoScanResponse_<ContainerAllocator> Type; 00151 00152 DoScanResponse_() 00153 { 00154 } 00155 00156 DoScanResponse_(const ContainerAllocator& _alloc) 00157 { 00158 } 00159 00160 00161 private: 00162 static const char* __s_getDataType_() { return "hector_roll_pitch_stabilizer/DoScanResponse"; } 00163 public: 00164 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00165 00166 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00167 00168 private: 00169 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00170 public: 00171 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00172 00173 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00174 00175 private: 00176 static const char* __s_getServerMD5Sum_() { return "a81b0d7609ba432f396940f4b146f79c"; } 00177 public: 00178 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00179 00180 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00181 00182 private: 00183 static const char* __s_getMessageDefinition_() { return "\n\ 00184 \n\ 00185 "; } 00186 public: 00187 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00188 00189 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00190 00191 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00192 { 00193 ros::serialization::OStream stream(write_ptr, 1000000000); 00194 return stream.getData(); 00195 } 00196 00197 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00198 { 00199 ros::serialization::IStream stream(read_ptr, 1000000000); 00200 return stream.getData(); 00201 } 00202 00203 ROS_DEPRECATED virtual uint32_t serializationLength() const 00204 { 00205 uint32_t size = 0; 00206 return size; 00207 } 00208 00209 typedef boost::shared_ptr< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > Ptr; 00210 typedef boost::shared_ptr< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> const> ConstPtr; 00211 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00212 }; // struct DoScanResponse 00213 typedef ::hector_roll_pitch_stabilizer::DoScanResponse_<std::allocator<void> > DoScanResponse; 00214 00215 typedef boost::shared_ptr< ::hector_roll_pitch_stabilizer::DoScanResponse> DoScanResponsePtr; 00216 typedef boost::shared_ptr< ::hector_roll_pitch_stabilizer::DoScanResponse const> DoScanResponseConstPtr; 00217 00218 struct DoScan 00219 { 00220 00221 typedef DoScanRequest Request; 00222 typedef DoScanResponse Response; 00223 Request request; 00224 Response response; 00225 00226 typedef Request RequestType; 00227 typedef Response ResponseType; 00228 }; // struct DoScan 00229 } // namespace hector_roll_pitch_stabilizer 00230 00231 namespace ros 00232 { 00233 namespace message_traits 00234 { 00235 template<class ContainerAllocator> struct IsMessage< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > : public TrueType {}; 00236 template<class ContainerAllocator> struct IsMessage< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> const> : public TrueType {}; 00237 template<class ContainerAllocator> 00238 struct MD5Sum< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > { 00239 static const char* value() 00240 { 00241 return "a81b0d7609ba432f396940f4b146f79c"; 00242 } 00243 00244 static const char* value(const ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> &) { return value(); } 00245 static const uint64_t static_value1 = 0xa81b0d7609ba432fULL; 00246 static const uint64_t static_value2 = 0x396940f4b146f79cULL; 00247 }; 00248 00249 template<class ContainerAllocator> 00250 struct DataType< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > { 00251 static const char* value() 00252 { 00253 return "hector_roll_pitch_stabilizer/DoScanRequest"; 00254 } 00255 00256 static const char* value(const ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> &) { return value(); } 00257 }; 00258 00259 template<class ContainerAllocator> 00260 struct Definition< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > { 00261 static const char* value() 00262 { 00263 return "float64 min_angle_pitch\n\ 00264 float64 max_angle_pitch\n\ 00265 float64 min_angle_roll\n\ 00266 float64 max_angle_roll\n\ 00267 float64 step\n\ 00268 int64 sleep_time_ms\n\ 00269 \n\ 00270 "; 00271 } 00272 00273 static const char* value(const ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> &) { return value(); } 00274 }; 00275 00276 template<class ContainerAllocator> struct IsFixedSize< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > : public TrueType {}; 00277 } // namespace message_traits 00278 } // namespace ros 00279 00280 00281 namespace ros 00282 { 00283 namespace message_traits 00284 { 00285 template<class ContainerAllocator> struct IsMessage< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > : public TrueType {}; 00286 template<class ContainerAllocator> struct IsMessage< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> const> : public TrueType {}; 00287 template<class ContainerAllocator> 00288 struct MD5Sum< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > { 00289 static const char* value() 00290 { 00291 return "d41d8cd98f00b204e9800998ecf8427e"; 00292 } 00293 00294 static const char* value(const ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> &) { return value(); } 00295 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00296 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00297 }; 00298 00299 template<class ContainerAllocator> 00300 struct DataType< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > { 00301 static const char* value() 00302 { 00303 return "hector_roll_pitch_stabilizer/DoScanResponse"; 00304 } 00305 00306 static const char* value(const ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> &) { return value(); } 00307 }; 00308 00309 template<class ContainerAllocator> 00310 struct Definition< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > { 00311 static const char* value() 00312 { 00313 return "\n\ 00314 \n\ 00315 "; 00316 } 00317 00318 static const char* value(const ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> &) { return value(); } 00319 }; 00320 00321 template<class ContainerAllocator> struct IsFixedSize< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > : public TrueType {}; 00322 } // namespace message_traits 00323 } // namespace ros 00324 00325 namespace ros 00326 { 00327 namespace serialization 00328 { 00329 00330 template<class ContainerAllocator> struct Serializer< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > 00331 { 00332 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00333 { 00334 stream.next(m.min_angle_pitch); 00335 stream.next(m.max_angle_pitch); 00336 stream.next(m.min_angle_roll); 00337 stream.next(m.max_angle_roll); 00338 stream.next(m.step); 00339 stream.next(m.sleep_time_ms); 00340 } 00341 00342 ROS_DECLARE_ALLINONE_SERIALIZER; 00343 }; // struct DoScanRequest_ 00344 } // namespace serialization 00345 } // namespace ros 00346 00347 00348 namespace ros 00349 { 00350 namespace serialization 00351 { 00352 00353 template<class ContainerAllocator> struct Serializer< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > 00354 { 00355 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00356 { 00357 } 00358 00359 ROS_DECLARE_ALLINONE_SERIALIZER; 00360 }; // struct DoScanResponse_ 00361 } // namespace serialization 00362 } // namespace ros 00363 00364 namespace ros 00365 { 00366 namespace service_traits 00367 { 00368 template<> 00369 struct MD5Sum<hector_roll_pitch_stabilizer::DoScan> { 00370 static const char* value() 00371 { 00372 return "a81b0d7609ba432f396940f4b146f79c"; 00373 } 00374 00375 static const char* value(const hector_roll_pitch_stabilizer::DoScan&) { return value(); } 00376 }; 00377 00378 template<> 00379 struct DataType<hector_roll_pitch_stabilizer::DoScan> { 00380 static const char* value() 00381 { 00382 return "hector_roll_pitch_stabilizer/DoScan"; 00383 } 00384 00385 static const char* value(const hector_roll_pitch_stabilizer::DoScan&) { return value(); } 00386 }; 00387 00388 template<class ContainerAllocator> 00389 struct MD5Sum<hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > { 00390 static const char* value() 00391 { 00392 return "a81b0d7609ba432f396940f4b146f79c"; 00393 } 00394 00395 static const char* value(const hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> &) { return value(); } 00396 }; 00397 00398 template<class ContainerAllocator> 00399 struct DataType<hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > { 00400 static const char* value() 00401 { 00402 return "hector_roll_pitch_stabilizer/DoScan"; 00403 } 00404 00405 static const char* value(const hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> &) { return value(); } 00406 }; 00407 00408 template<class ContainerAllocator> 00409 struct MD5Sum<hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > { 00410 static const char* value() 00411 { 00412 return "a81b0d7609ba432f396940f4b146f79c"; 00413 } 00414 00415 static const char* value(const hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> &) { return value(); } 00416 }; 00417 00418 template<class ContainerAllocator> 00419 struct DataType<hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > { 00420 static const char* value() 00421 { 00422 return "hector_roll_pitch_stabilizer/DoScan"; 00423 } 00424 00425 static const char* value(const hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> &) { return value(); } 00426 }; 00427 00428 } // namespace service_traits 00429 } // namespace ros 00430 00431 #endif // HECTOR_ROLL_PITCH_STABILIZER_SERVICE_DOSCAN_H 00432