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