00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-bosch_drivers/doc_stacks/2013-12-28_16-47-02.849893/bosch_drivers/amtec/srv/TargetAcceleration.srv */ 00002 #ifndef AMTEC_SERVICE_TARGETACCELERATION_H 00003 #define AMTEC_SERVICE_TARGETACCELERATION_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 amtec 00023 { 00024 template <class ContainerAllocator> 00025 struct TargetAccelerationRequest_ { 00026 typedef TargetAccelerationRequest_<ContainerAllocator> Type; 00027 00028 TargetAccelerationRequest_() 00029 : acceleration_pan(0.0) 00030 , acceleration_tilt(0.0) 00031 { 00032 } 00033 00034 TargetAccelerationRequest_(const ContainerAllocator& _alloc) 00035 : acceleration_pan(0.0) 00036 , acceleration_tilt(0.0) 00037 { 00038 } 00039 00040 typedef double _acceleration_pan_type; 00041 double acceleration_pan; 00042 00043 typedef double _acceleration_tilt_type; 00044 double acceleration_tilt; 00045 00046 00047 typedef boost::shared_ptr< ::amtec::TargetAccelerationRequest_<ContainerAllocator> > Ptr; 00048 typedef boost::shared_ptr< ::amtec::TargetAccelerationRequest_<ContainerAllocator> const> ConstPtr; 00049 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00050 }; // struct TargetAccelerationRequest 00051 typedef ::amtec::TargetAccelerationRequest_<std::allocator<void> > TargetAccelerationRequest; 00052 00053 typedef boost::shared_ptr< ::amtec::TargetAccelerationRequest> TargetAccelerationRequestPtr; 00054 typedef boost::shared_ptr< ::amtec::TargetAccelerationRequest const> TargetAccelerationRequestConstPtr; 00055 00056 00057 template <class ContainerAllocator> 00058 struct TargetAccelerationResponse_ { 00059 typedef TargetAccelerationResponse_<ContainerAllocator> Type; 00060 00061 TargetAccelerationResponse_() 00062 { 00063 } 00064 00065 TargetAccelerationResponse_(const ContainerAllocator& _alloc) 00066 { 00067 } 00068 00069 00070 typedef boost::shared_ptr< ::amtec::TargetAccelerationResponse_<ContainerAllocator> > Ptr; 00071 typedef boost::shared_ptr< ::amtec::TargetAccelerationResponse_<ContainerAllocator> const> ConstPtr; 00072 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00073 }; // struct TargetAccelerationResponse 00074 typedef ::amtec::TargetAccelerationResponse_<std::allocator<void> > TargetAccelerationResponse; 00075 00076 typedef boost::shared_ptr< ::amtec::TargetAccelerationResponse> TargetAccelerationResponsePtr; 00077 typedef boost::shared_ptr< ::amtec::TargetAccelerationResponse const> TargetAccelerationResponseConstPtr; 00078 00079 struct TargetAcceleration 00080 { 00081 00082 typedef TargetAccelerationRequest Request; 00083 typedef TargetAccelerationResponse Response; 00084 Request request; 00085 Response response; 00086 00087 typedef Request RequestType; 00088 typedef Response ResponseType; 00089 }; // struct TargetAcceleration 00090 } // namespace amtec 00091 00092 namespace ros 00093 { 00094 namespace message_traits 00095 { 00096 template<class ContainerAllocator> struct IsMessage< ::amtec::TargetAccelerationRequest_<ContainerAllocator> > : public TrueType {}; 00097 template<class ContainerAllocator> struct IsMessage< ::amtec::TargetAccelerationRequest_<ContainerAllocator> const> : public TrueType {}; 00098 template<class ContainerAllocator> 00099 struct MD5Sum< ::amtec::TargetAccelerationRequest_<ContainerAllocator> > { 00100 static const char* value() 00101 { 00102 return "d342e69bfc77177d150eaee5d0f71f06"; 00103 } 00104 00105 static const char* value(const ::amtec::TargetAccelerationRequest_<ContainerAllocator> &) { return value(); } 00106 static const uint64_t static_value1 = 0xd342e69bfc77177dULL; 00107 static const uint64_t static_value2 = 0x150eaee5d0f71f06ULL; 00108 }; 00109 00110 template<class ContainerAllocator> 00111 struct DataType< ::amtec::TargetAccelerationRequest_<ContainerAllocator> > { 00112 static const char* value() 00113 { 00114 return "amtec/TargetAccelerationRequest"; 00115 } 00116 00117 static const char* value(const ::amtec::TargetAccelerationRequest_<ContainerAllocator> &) { return value(); } 00118 }; 00119 00120 template<class ContainerAllocator> 00121 struct Definition< ::amtec::TargetAccelerationRequest_<ContainerAllocator> > { 00122 static const char* value() 00123 { 00124 return "float64 acceleration_pan\n\ 00125 float64 acceleration_tilt\n\ 00126 \n\ 00127 "; 00128 } 00129 00130 static const char* value(const ::amtec::TargetAccelerationRequest_<ContainerAllocator> &) { return value(); } 00131 }; 00132 00133 template<class ContainerAllocator> struct IsFixedSize< ::amtec::TargetAccelerationRequest_<ContainerAllocator> > : public TrueType {}; 00134 } // namespace message_traits 00135 } // namespace ros 00136 00137 00138 namespace ros 00139 { 00140 namespace message_traits 00141 { 00142 template<class ContainerAllocator> struct IsMessage< ::amtec::TargetAccelerationResponse_<ContainerAllocator> > : public TrueType {}; 00143 template<class ContainerAllocator> struct IsMessage< ::amtec::TargetAccelerationResponse_<ContainerAllocator> const> : public TrueType {}; 00144 template<class ContainerAllocator> 00145 struct MD5Sum< ::amtec::TargetAccelerationResponse_<ContainerAllocator> > { 00146 static const char* value() 00147 { 00148 return "d41d8cd98f00b204e9800998ecf8427e"; 00149 } 00150 00151 static const char* value(const ::amtec::TargetAccelerationResponse_<ContainerAllocator> &) { return value(); } 00152 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00153 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00154 }; 00155 00156 template<class ContainerAllocator> 00157 struct DataType< ::amtec::TargetAccelerationResponse_<ContainerAllocator> > { 00158 static const char* value() 00159 { 00160 return "amtec/TargetAccelerationResponse"; 00161 } 00162 00163 static const char* value(const ::amtec::TargetAccelerationResponse_<ContainerAllocator> &) { return value(); } 00164 }; 00165 00166 template<class ContainerAllocator> 00167 struct Definition< ::amtec::TargetAccelerationResponse_<ContainerAllocator> > { 00168 static const char* value() 00169 { 00170 return "\n\ 00171 "; 00172 } 00173 00174 static const char* value(const ::amtec::TargetAccelerationResponse_<ContainerAllocator> &) { return value(); } 00175 }; 00176 00177 template<class ContainerAllocator> struct IsFixedSize< ::amtec::TargetAccelerationResponse_<ContainerAllocator> > : public TrueType {}; 00178 } // namespace message_traits 00179 } // namespace ros 00180 00181 namespace ros 00182 { 00183 namespace serialization 00184 { 00185 00186 template<class ContainerAllocator> struct Serializer< ::amtec::TargetAccelerationRequest_<ContainerAllocator> > 00187 { 00188 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00189 { 00190 stream.next(m.acceleration_pan); 00191 stream.next(m.acceleration_tilt); 00192 } 00193 00194 ROS_DECLARE_ALLINONE_SERIALIZER; 00195 }; // struct TargetAccelerationRequest_ 00196 } // namespace serialization 00197 } // namespace ros 00198 00199 00200 namespace ros 00201 { 00202 namespace serialization 00203 { 00204 00205 template<class ContainerAllocator> struct Serializer< ::amtec::TargetAccelerationResponse_<ContainerAllocator> > 00206 { 00207 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00208 { 00209 } 00210 00211 ROS_DECLARE_ALLINONE_SERIALIZER; 00212 }; // struct TargetAccelerationResponse_ 00213 } // namespace serialization 00214 } // namespace ros 00215 00216 namespace ros 00217 { 00218 namespace service_traits 00219 { 00220 template<> 00221 struct MD5Sum<amtec::TargetAcceleration> { 00222 static const char* value() 00223 { 00224 return "d342e69bfc77177d150eaee5d0f71f06"; 00225 } 00226 00227 static const char* value(const amtec::TargetAcceleration&) { return value(); } 00228 }; 00229 00230 template<> 00231 struct DataType<amtec::TargetAcceleration> { 00232 static const char* value() 00233 { 00234 return "amtec/TargetAcceleration"; 00235 } 00236 00237 static const char* value(const amtec::TargetAcceleration&) { return value(); } 00238 }; 00239 00240 template<class ContainerAllocator> 00241 struct MD5Sum<amtec::TargetAccelerationRequest_<ContainerAllocator> > { 00242 static const char* value() 00243 { 00244 return "d342e69bfc77177d150eaee5d0f71f06"; 00245 } 00246 00247 static const char* value(const amtec::TargetAccelerationRequest_<ContainerAllocator> &) { return value(); } 00248 }; 00249 00250 template<class ContainerAllocator> 00251 struct DataType<amtec::TargetAccelerationRequest_<ContainerAllocator> > { 00252 static const char* value() 00253 { 00254 return "amtec/TargetAcceleration"; 00255 } 00256 00257 static const char* value(const amtec::TargetAccelerationRequest_<ContainerAllocator> &) { return value(); } 00258 }; 00259 00260 template<class ContainerAllocator> 00261 struct MD5Sum<amtec::TargetAccelerationResponse_<ContainerAllocator> > { 00262 static const char* value() 00263 { 00264 return "d342e69bfc77177d150eaee5d0f71f06"; 00265 } 00266 00267 static const char* value(const amtec::TargetAccelerationResponse_<ContainerAllocator> &) { return value(); } 00268 }; 00269 00270 template<class ContainerAllocator> 00271 struct DataType<amtec::TargetAccelerationResponse_<ContainerAllocator> > { 00272 static const char* value() 00273 { 00274 return "amtec/TargetAcceleration"; 00275 } 00276 00277 static const char* value(const amtec::TargetAccelerationResponse_<ContainerAllocator> &) { return value(); } 00278 }; 00279 00280 } // namespace service_traits 00281 } // namespace ros 00282 00283 #endif // AMTEC_SERVICE_TARGETACCELERATION_H 00284