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